1078-终端参数回显
This commit is contained in:
@@ -26,7 +26,7 @@ public class JTDeviceConfig {
|
||||
private Long udpRetransmissionCount;
|
||||
|
||||
@ConfigAttribute(id = 0x6, type="Long", description = "SMS 消息应答超时时间,单位为秒(s)")
|
||||
private Long smsResponseTimeout;
|
||||
private Long smsResponseTimeout;
|
||||
|
||||
@ConfigAttribute(id = 0x7, type="Long", description = "SMS 消息重传次数")
|
||||
private Long smsRetransmissionCount;
|
||||
|
||||
@@ -136,7 +136,7 @@ public class J0104 extends Re {
|
||||
Method methodForChannelParam = deviceConfig.getClass().getDeclaredMethod("set" + StringUtils.capitalize(field.getName()), JTChannelParam.class);
|
||||
methodForChannelParam.invoke(deviceConfig, channelParam);
|
||||
continue;
|
||||
case "alarmRecordingParam":
|
||||
case "AlarmRecordingParam":
|
||||
JTAlarmRecordingParam alarmRecordingParam = JTAlarmRecordingParam.decode(buf);
|
||||
Method methodForAlarmRecordingParam = deviceConfig.getClass().getDeclaredMethod("set" + StringUtils.capitalize(field.getName()), JTAlarmRecordingParam.class);
|
||||
methodForAlarmRecordingParam.invoke(deviceConfig, alarmRecordingParam);
|
||||
|
||||
Reference in New Issue
Block a user