|
@@ -51,6 +51,7 @@ namespace WingDeviceService.Service
|
|
|
private int _heartRateSeconds;
|
|
|
private DeviceHeartRateManager _deviceHeartRateManager;
|
|
|
private string _webSocketUrl = string.Empty;
|
|
|
+ private int _liveConsultationRateSeconds = 0;
|
|
|
|
|
|
/// <summary>
|
|
|
/// Init service
|
|
@@ -70,6 +71,7 @@ namespace WingDeviceService.Service
|
|
|
_heartRateSeconds = ConfigurationManager.GetParammeter<IntParameter>("Device", "HeartRateSeconds").Value;
|
|
|
_deviceHeartRateManager = new DeviceHeartRateManager(SetOnlineState);
|
|
|
_webSocketUrl = ConfigurationManager.GetParammeter<StringParameter>("Notification", "WebSocketUrl").Value;
|
|
|
+ _liveConsultationRateSeconds = ConfigurationManager.GetParammeter<IntParameter>("Live", "HeartRateSeconds").Value;
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
@@ -675,6 +677,7 @@ namespace WingDeviceService.Service
|
|
|
dictionary.Add("PatientType", org.PatientType.ToString());
|
|
|
dictionary.Add("HeartRateSeconds", _heartRateSeconds.ToString());
|
|
|
dictionary.Add("NotificationUrl", _webSocketUrl);
|
|
|
+ dictionary.Add("LiveConsultationRateSeconds", _liveConsultationRateSeconds.ToString());
|
|
|
return dictionary;
|
|
|
}
|
|
|
|