添加遥控器的时间属性,和遥控器刷新时间

This commit is contained in:
sunyuehai 2024-09-16 21:08:30 +08:00
parent 676ed87b60
commit 1172a7b7bf
3 changed files with 6 additions and 1 deletions

View File

@ -204,5 +204,9 @@ public class DeviceMsgDto {
* 4.遥控器擦除完成
*/
private String checkCodeStatusStr;
/**
* 已配对遥控器数量
*/
private Integer rfcNumber;
}

View File

@ -93,6 +93,7 @@ public class IotService {
result.setCheckCodeStatus(Integer.valueOf(resultMap.get("checkCodeStatus")==null?"-1":resultMap.get("checkCodeStatus")));
result.setCheckCodeStatusStr(MessageUtils.message("checkCodeStatusStr.name"+result.getCheckCodeStatus()));
result.setRfcNumber(Integer.valueOf(resultMap.get("RFControllorNumber")==null?"-1":resultMap.get("RFControllorNumber")));
return result;
}

View File

@ -220,7 +220,7 @@ public class EqEquipmentServiceImpl implements IEqEquipmentService {
switch (operateType){
case 1: cmd = DeviceSetCmd.AutomaticDoorClosingSwitch_false; break;//自动关门功能开关
case 2: cmd = DeviceSetCmd.AutomaticDoorClosingSwitch_true; break;//自动关门功能开关
case 3: cmd = DeviceSetCmd.AutomaticDoorClosingTime; break;//延时自动关门的延时时长
case 3: cmd = DeviceSetCmd.AutomaticDoorClosingTime; break;//延时自动关门的延时时长(刷新倒计时时间)
case 4: cmd = DeviceSetCmd.DoorRunningTimesSwitch_true; break;//运行次数开关
case 5: cmd = DeviceSetCmd.DoorRunningTimesSwitch_false; break;//运行次数开关
case 6: cmd = DeviceSetCmd.CountDownConfig; break;//倒计时设置时间