文档
测试

断头报告页面

POST
/spinning/api/spindleReport

接口描述

异常锭子 报告: 断头、空置、弱捻、故障

请求头

参数名
类型
描述
必填
content-type
string
application/json
必填

请求参数

参数名
类型
描述
必填
ts
string
时间戳, *选填
可选
status
string
锭子状态过滤, "" 或 "0" 表示全部类型锭子, "1" 表示仅需要断头, "2" 表示仅需要弱捻, "3" 表示仅需要空置, "4" 表示仅需要故障
必填
page
int
分页号
必填
pagesize
int
分页大小
必填
sort
int
是否排序: 0 不排序, 1 升序, 2 降序
必填

响应参数

参数名
类型
描述
必填
ts
string
当前时间戳
必填
reports
list
锭子列表
必填
spindle_no
int
锭号
必填
status
string
锭子状态
必填
type
int
异常类型编码: 0运行断头 1启动断头 2落纱前断头 3 启动断头+落纱前断头
必填
duration
int
持续时长
必填
begin
string
开始时间
必填
end
string
结束时间
必填
desc
string
异常类型 ( 启动断头,落纱前断头... )
必填
exception
int
是否无效, 1表示无效,0表示有效
必填
reports_sorted
list
锭子列表 - 排序
必填
id
int
纺纱周期ID
必填
doff_begin
string
纺纱周期 开始时间
必填
doff_spindle_times
string
纺纱周期内 异常锭号 与 异常次数 数组
必填
spin1
int
锭号1
必填
times1
int
锭号1次数
必填
spin2
int
锭号2
必填
times2
int
锭号2次数
必填
spin3
int
锭号3
必填
times3
int
锭号3次数
必填
spin4
int
锭号4
必填
times4
int
锭号4次数
必填
spin5
int
锭号5
必填
times5
int
锭号5次数
必填
spin6
int
锭号6
必填
times6
int
锭号6次数
必填
total
int
分页需要的总记录数
必填
page
int
分页号
必填
pagesize
int
分页大小
必填