|
@@ -80,10 +80,10 @@ func (m *DeviceActionDoneMsg) MsgType() string {
|
|
|
return DeviceActionDoneMsgType
|
|
|
}
|
|
|
|
|
|
-func MakeDeviceActionDoneMsg(deviceID, actionMsgID string, actionStartTime int64, status int, msg string) DeviceActionDoneMsg {
|
|
|
+func MakeDeviceActionDoneMsg(deviceID, actionType, actionMsgID string, actionStartTime int64, status int, msg string) DeviceActionDoneMsg {
|
|
|
return DeviceActionDoneMsg{
|
|
|
DeviceID: deviceID,
|
|
|
- ActionType: actionMsgID,
|
|
|
+ ActionType: actionType,
|
|
|
ActionMsgID: actionMsgID,
|
|
|
ActionStartTime: actionStartTime,
|
|
|
Status: status,
|