文档
测试

车间总览

POST
http://xxx/wsc/minip/getWorkshopOverview

请求头

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

请求参数

参数名
类型
描述
必填
openid
str
openid
必填
factory_code
str
工厂code
必填
phone
string
手机号码
必填
workshop_id
int
车间ID, 可以不传,
必填

响应参数

参数名
类型
描述
必填
flag
boolean
true or false
必填
msg
str
日志
必填
overview
dict
车间总览
必填
num_in_status
dict
每个状态的 机台数量
必填
doffing
int
落纱状态的机台数量
必填
spinning
int
纺纱状态的机台数量
必填
stop
int
中途停车、故障停车 状态的机台数量
必填
offline
int
离线状态的机台数量
必填
all
int
所有状态的机台数量
必填
output_current_month
float
当月产量
必填
output_prev_month
float
上月产量
必填
output_current_sched
dict
当班产量
必填
output
float
产量
必填
efficiency
float
效率
必填
operation_rate
float
机台运转率
必填
schedule_id
int
班次 ID
必填
date
str
班次所属日期
必填
output_prev_sched
float
上一班产量
必填
output
float
产量
必填
efficiency
float
效率
必填
operation_rate
float
机台运转率
必填
schedule_id
int
班次 ID
必填
date
str
班次所属日期
必填
assignments
dict
机台派工情况
必填
doffer_machines
int
已指派落纱工的机台数
必填
knitter_machines
int
已指派挡车工的机台数
必填