Click or drag to resize
Grid Solutions Framework

GSFDeviceAlarmStateAdapterExternalDatabaseCommandParameters Property

Gets or sets the external database command parameters with value substitutions used for synchronization of alarm states.

Namespace:  GrafanaAdapters
Assembly:  GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.3.250-beta
Syntax
[ConnectionStringParameterAttribute]
[DefaultValueAttribute("{MappedAlarmState},1,'PDC_DEVICE_{Device.Acronym}','','openPDC Device Status = {AlarmState} for \[{Device.Acronym}\]','\<a href="http://localhost:8280/DeviceStatus.cshtml?DeviceID={Device.ID}"\>\[{Device.Acronym}\] Device Status\</a\>'")]
public string ExternalDatabaseCommandParameters { get; set; }
Request Example View Source

Property Value

Type: String
Remarks
Examples for composite state reporting:
'openPDC Overall Device Status = {AlarmState}[?{AlarmState}!=Good[ -- for \[{Device.Acronym}\]]]'
'Good = {GoodStateCount} / Alarmed = {AlarmStateCount} / Unavailable = {NotAvailableStateCount} / Bad Data = {BadDataStateCount} / Bad Time = {BadTimeStateCount} / Out of Service = {OutOfServiceStateCount}[?{AlarmState}!=Good[ -- \<a href=\"http://localhost:8280/DeviceStatus.cshtml?DeviceID={Device.ID}\"\>\[{Device.Acronym}\] Device Status\</a\>]]'
See Also