|
@@ -75,13 +75,11 @@ |
|
@@ -75,13 +75,11 @@ |
75
|
command.params =
|
75
|
command.params =
|
76
|
transportType === TransportTypeEnum.TCP
|
76
|
transportType === TransportTypeEnum.TCP
|
77
|
? field[CommandFieldsEnum.TCP_SERVICE]
|
77
|
? field[CommandFieldsEnum.TCP_SERVICE]
|
78
|
- : field[CommandFieldsEnum.MODEL_INPUT];
|
78
|
+ : {
|
|
|
79
|
+ [field[CommandFieldsEnum.SERVICE]]: field[CommandFieldsEnum.MODEL_INPUT],
|
|
|
80
|
+ };
|
79
|
command.additionalInfo = { cmdType: 1 };
|
81
|
command.additionalInfo = { cmdType: 1 };
|
80
|
- command.params = {
|
|
|
81
|
- [field[CommandFieldsEnum.SERVICE]]: command.params,
|
|
|
82
|
- };
|
|
|
83
|
}
|
82
|
}
|
84
|
-
|
|
|
85
|
commandIssuanceApi(
|
83
|
commandIssuanceApi(
|
86
|
field[CommandFieldsEnum.CUSTOM_TYPE] as CommandDeliveryWayEnum,
|
84
|
field[CommandFieldsEnum.CUSTOM_TYPE] as CommandDeliveryWayEnum,
|
87
|
props.deviceDetail.tbDeviceId,
|
85
|
props.deviceDetail.tbDeviceId,
|