fix
zhangqian
2023-08-27 8dfb8feb32bb5e4e460e23dcde42612a26fa2bcb
model/common/common.go
@@ -54,3 +54,34 @@
      Procedures []*ProductProcedure `json:"procedures"` // 工序列表
   }
)
// PLC写入地址
type (
   RequestPlcAddress struct {
      DeviceId string
   }
   ResponsePlcAddress struct {
      KeyData     []byte
      AddressData []byte
   }
)
// 工艺参数
type (
   RequestProcessParams struct {
      WorkOrder string `json:"workOrder,omitempty" form:"workOrder"` //工序编号
      OrderId   string `json:"orderId"`                              // 订单号
      Product   string `json:"password"`                             // 产品
      Procedure string `json:"procedure"`                            // 工序
      Device    string `json:"device"`                               // 设备
   }
   ResponseProcessParams struct {
      Number    string                 `json:"number"`    //工艺模型编号
      OrderId   string                 `json:"orderId"`   //订单id
      Product   string                 `json:"product"`   //产品名称
      Procedure string                 `json:"procedure"` //工序
      WorkOrder string                 `json:"workOrder"` //工单
      Device    string                 `json:"device"`    //设备
      ParamsMap map[string]interface{} `json:"paramsMap"`
   }
)