From 21e0e02fd465fef04f1834b078c621a0e3594308 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 02 九月 2023 16:51:48 +0800 Subject: [PATCH] 任务开始和结束都发送消息通知apsserver --- model/common/common.go | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/model/common/common.go b/model/common/common.go index 9331347..a8fc8af 100644 --- a/model/common/common.go +++ b/model/common/common.go @@ -88,3 +88,12 @@ DeviceId string `json:"deviceId" gorm:"-"` //鐢ㄤ簬杩囨护鑾峰彇nsq娑堟伅 } ) + +// MsgTaskStatusUpdate 浠诲姟鐘舵�佹敼鍙� +type MsgTaskStatusUpdate struct { + WorkOrderId string `json:"workOrderId"` //宸ュ崟缂栧彿 + ProcedureID string `json:"procedureId"` // 宸ュ簭 + DeviceId string `json:"deviceId"` //鐢ㄤ簬杩囨护鑾峰彇nsq娑堟伅 + IsProcessing bool //鏄惁澶勭悊涓� + IsFinish bool //鏄惁瀹屾垚 +} -- Gitblit v1.8.0