mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-24 12:20:28 +08:00
fix(mqttClient): AlarmTopic upload failure
fix: 报警主题中文名称错误 fix: 报警事件订阅漏写
This commit is contained in:
@@ -55,6 +55,9 @@ public abstract class BusinessBaseWithCacheIntervalAlarmModel<VarModel, DevModel
|
||||
_exTTimerTick = new(_businessPropertyWithCacheInterval.BusinessInterval);
|
||||
_exT2TimerTick = new(_businessPropertyWithCacheInterval.BusinessInterval);
|
||||
|
||||
HostedServiceUtil.AlarmHostedService.OnAlarmChanged -= AlarmValueChange;
|
||||
HostedServiceUtil.AlarmHostedService.OnAlarmChanged += AlarmValueChange;
|
||||
|
||||
// 根据业务属性的缓存是否为间隔上传来决定事件绑定
|
||||
if (!_businessPropertyWithCacheInterval.IsInterval)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"IsAlarmList": "报警列表上传",
|
||||
"DeviceTopic": "设备主题",
|
||||
"VariableTopic": "变量主题",
|
||||
"AlarmTopic": "比较主题",
|
||||
"AlarmTopic": "报警主题",
|
||||
|
||||
"IsInterval": "启用定时上传",
|
||||
"BusinessInterval": "定时上传间隔",
|
||||
|
||||
Reference in New Issue
Block a user