Minor improvements
This commit is contained in:
parent
66a4a1c008
commit
254905c2b3
@ -955,7 +955,7 @@
|
|||||||
},
|
},
|
||||||
"methodName": "gateway_restart",
|
"methodName": "gateway_restart",
|
||||||
"methodParams": "{}",
|
"methodParams": "{}",
|
||||||
"buttonText": "gateway restart"
|
"buttonText": "GATEWAY RESTART"
|
||||||
},
|
},
|
||||||
"title": "New RPC Button",
|
"title": "New RPC Button",
|
||||||
"dropShadow": true,
|
"dropShadow": true,
|
||||||
|
|||||||
@ -54,7 +54,8 @@ import java.util.concurrent.TimeUnit;
|
|||||||
relationTypes = {"Alarm Created", "Alarm Updated", "Alarm Severity Updated", "Alarm Cleared", "Success", "Failure"},
|
relationTypes = {"Alarm Created", "Alarm Updated", "Alarm Severity Updated", "Alarm Cleared", "Success", "Failure"},
|
||||||
configClazz = TbDeviceProfileNodeConfiguration.class,
|
configClazz = TbDeviceProfileNodeConfiguration.class,
|
||||||
nodeDescription = "Process device messages based on device profile settings",
|
nodeDescription = "Process device messages based on device profile settings",
|
||||||
nodeDetails = "Create and clear alarms based on alarm rules defined in device profile. Generates ",
|
nodeDetails = "Create and clear alarms based on alarm rules defined in device profile. The output relation type is either " +
|
||||||
|
"'Alarm Created', 'Alarm Updated', 'Alarm Severity Updated' and 'Alarm Cleared' or simply 'Success' if no alarms were affected.",
|
||||||
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
||||||
configDirective = "tbDeviceProfileConfig"
|
configDirective = "tbDeviceProfileConfig"
|
||||||
)
|
)
|
||||||
@ -119,7 +120,6 @@ public class TbDeviceProfileNode implements TbNode {
|
|||||||
} else {
|
} else {
|
||||||
removeDeviceState(deviceId);
|
removeDeviceState(deviceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (EntityType.DEVICE.equals(originatorType)) {
|
if (EntityType.DEVICE.equals(originatorType)) {
|
||||||
DeviceId deviceId = new DeviceId(msg.getOriginator().getId());
|
DeviceId deviceId = new DeviceId(msg.getOriginator().getId());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user