mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
添加遥控器的时间属性,和遥控器刷新时间
This commit is contained in:
parent
676ed87b60
commit
1172a7b7bf
@ -204,5 +204,9 @@ public class DeviceMsgDto {
|
||||
* 4.遥控器擦除完成
|
||||
*/
|
||||
private String checkCodeStatusStr;
|
||||
/**
|
||||
* 已配对遥控器数量
|
||||
*/
|
||||
private Integer rfcNumber;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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;//倒计时设置时间
|
||||
|
||||
Loading…
Reference in New Issue
Block a user