| | |
| | | total: |
| | | type: integer |
| | | type: object |
| | | model.CommonStats: |
| | | properties: |
| | | name: |
| | | type: string |
| | | value: |
| | | type: string |
| | | type: object |
| | | model.Dashboard: |
| | | properties: |
| | | createdAt: |
| | | type: string |
| | | delayWorkOrderAmount: |
| | | description: 延期交付工单数 |
| | | type: integer |
| | | deletedAt: |
| | | type: string |
| | | deviceLoad: |
| | | description: 设备负荷对比分析 |
| | | items: |
| | | $ref: '#/definitions/model.CommonStats' |
| | | type: array |
| | | deviceLoadData: |
| | | description: 设备负荷对比分析 |
| | | type: string |
| | | deviceRunningAmount: |
| | | description: 开机台数 |
| | | type: integer |
| | | externalDeviceRunningAmount: |
| | | description: 外加工台数 |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | inMaintenanceDeviceAmount: |
| | | description: 维修中设备数 |
| | | type: integer |
| | | internalDeviceRunningAmount: |
| | | description: 自有开机台数 |
| | | type: integer |
| | | materialMissWorkOrderAmount: |
| | | description: 物料不足工单数 |
| | | type: integer |
| | | materialRequirement: |
| | | description: 物料需求统计 |
| | | items: |
| | | $ref: '#/definitions/model.CommonStats' |
| | | type: array |
| | | materialRequirementData: |
| | | description: 物料需求统计 |
| | | type: string |
| | | orderFinishRate: |
| | | description: 订单完成比率 |
| | | items: |
| | | $ref: '#/definitions/model.CommonStats' |
| | | type: array |
| | | orderFinishRateData: |
| | | description: 订单完成比率 |
| | | type: string |
| | | outPlanProductionAmount: |
| | | description: 计划外加工数 |
| | | type: integer |
| | | personnelProductivity: |
| | | description: 人员生产效率 |
| | | items: |
| | | $ref: '#/definitions/model.CommonStats' |
| | | type: array |
| | | personnelProductivityData: |
| | | description: 人员生产效率 |
| | | type: string |
| | | personnelSkillPercent: |
| | | description: 人员技能占比 |
| | | items: |
| | | $ref: '#/definitions/model.CommonStats' |
| | | type: array |
| | | personnelSkillPercentData: |
| | | description: 人员技能占比 |
| | | type: string |
| | | planOrderFinishRate: |
| | | description: 计划达成率 |
| | | type: string |
| | | planProductionAmount: |
| | | description: 计划加工数 |
| | | type: integer |
| | | realExternalProductionAmount: |
| | | description: 实际外加工数 |
| | | type: integer |
| | | realProductionAmount: |
| | | description: 实际生产数 |
| | | type: integer |
| | | todayFinishAmount: |
| | | description: 车间当日合计生产 |
| | | type: integer |
| | | todayQualifiedRate: |
| | | description: 车间当日正品率 |
| | | type: string |
| | | totalDeviceAmount: |
| | | description: 总设备数 |
| | | type: integer |
| | | updatedAt: |
| | | type: string |
| | | version: |
| | | type: string |
| | | workOrderAmount: |
| | | description: 生产工单数 |
| | | type: integer |
| | | workOrderStats: |
| | | description: 工单进度统计 |
| | | items: |
| | | $ref: '#/definitions/model.WorkOrderStats' |
| | | type: array |
| | | workOrderStatsData: |
| | | description: 工单进度统计 |
| | | type: string |
| | | workshopStats: |
| | | description: 车间统计 |
| | | items: |
| | | $ref: '#/definitions/model.WorkshopStats' |
| | | type: array |
| | | workshopStatsData: |
| | | description: 车间统计 |
| | | type: string |
| | | type: object |
| | | model.DevicePlc: |
| | | properties: |
| | | address: |
| | |
| | | barCode: |
| | | description: 条形码 |
| | | type: string |
| | | channel: |
| | | description: 通道 |
| | | type: integer |
| | | createdAt: |
| | | type: string |
| | | deletedAt: |
| | |
| | | type: string |
| | | workerTime: |
| | | description: 工时,单位秒 |
| | | type: integer |
| | | type: object |
| | | model.WorkOrderStats: |
| | | properties: |
| | | delayDays: |
| | | description: 延期天数 |
| | | type: integer |
| | | number: |
| | | description: 编号 |
| | | type: string |
| | | percent: |
| | | description: 完成进度 |
| | | type: integer |
| | | planTime: |
| | | description: 计划时间 |
| | | type: string |
| | | product: |
| | | description: 产品 |
| | | type: string |
| | | scale: |
| | | description: 规格 |
| | | type: string |
| | | type: object |
| | | model.WorkshopStats: |
| | | properties: |
| | | defective: |
| | | type: integer |
| | | percent: |
| | | type: integer |
| | | qualified: |
| | | type: integer |
| | | total: |
| | | type: integer |
| | | type: object |
| | | problem.CheckResult: |
| | |
| | | summary: 更新plc配置 |
| | | tags: |
| | | - Config |
| | | /v1/dashboard/dashboard: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/model.Dashboard' |
| | | type: object |
| | | summary: 驾驶舱 |
| | | tags: |
| | | - 驾驶舱 |
| | | /v1/device/config: |
| | | post: |
| | | parameters: |