1.3.0 • Published 4 years ago

sperryngc_systemperformance v1.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Parameters

Parameters taken by package are: Mode - This indicates wheter module is running on ibridge or gateway, 0 = ibridge, 1 = gateway
Twin
Callback SystemHealthFilepath - path for HealthData.json file

Example

// initiate
var SystemHealth= {
    'property' : require('systemperformance'),
};
........
//call
SystemHealthFilepath = config.Interfaces.HealthData
// sending property update for SystemHealth interface - Ibridge or Gateway depending on value of Mode
SystemHealth.property.Switch(Mode, twin, function (e) { message_callback(e, 'telemetry', 'SystemHealth'); }, SystemHealthFilepath);
1.2.0

4 years ago

1.3.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago