| | |
| | | type ( |
| | | Dashboard struct { |
| | | gorm.Model |
| | | Version string |
| | | DeviceRunningAmount int //开机台数 |
| | | TotalProductionAmount int //总产量 |
| | | WorkOrderAmount int64 //生产工单数 |
| | | DelayWorkOrderAmount int64 //延期交付工单数 |
| | | MaterialMissWorkOrderAmount int //物料不足工单数 |
| | | PlanOrderFinishRate int64 //计划达成率 |
| | | TotalDeviceAmount int64 //总设备数 |
| | | InMaintenanceDeviceAmount int64 //维修中设备数 |
| | | InternalDeviceRunningAmount int //自有开机台数 |
| | | ExternalDeviceRunningAmount int //外加工台数 |
| | | OutPlanProductionAmount int //计划外加工数 |
| | | PlanProductionAmount int //计划加工数 |
| | | RealExternalProductionAmount int //实际外加工数 |
| | | RealProductionAmount int //实际生产数 |
| | | WorkOrderFinishRate int //近一周工单完成率 |
| | | Version string |
| | | DeviceRunningAmount int //开机台数 |
| | | TotalProductionAmount int //总产量 |
| | | WorkOrderAmount int64 //生产工单数 |
| | | DelayWorkOrderAmount int64 //延期交付工单数 |
| | | MaterialMissWorkOrderAmount int //物料不足工单数 |
| | | WaitSchedulingWorkOrderAmount int //待排程工单数(库存充足未锁定 和 已锁定库存未排程的工单) |
| | | PlanOrderFinishRate int64 //计划达成率 |
| | | TotalDeviceAmount int64 //总设备数 |
| | | InMaintenanceDeviceAmount int64 //维修中设备数 |
| | | InternalDeviceRunningAmount int //自有开机台数 |
| | | ExternalDeviceRunningAmount int //外加工台数 |
| | | OutPlanProductionAmount int //计划外加工数 |
| | | PlanProductionAmount int //计划加工数 |
| | | RealExternalProductionAmount int //实际外加工数 |
| | | RealProductionAmount int //实际生产数 |
| | | WorkOrderFinishRate int //近一周工单完成率 |
| | | |
| | | DeviceLoadData string //设备负荷对比分析 |
| | | DeviceLoad []*CommonStats `gorm:"-"` //设备负荷对比分析 |