MeasurementColors

<< Click to Display Table of Contents >>

 

MeasurementColors

Link This property returns an object that allows configuring alarm colors by script. Alarm colors are available on the Measurements tab of the Water Configuration object. To use the object returned by this property at run time, users must deactivate the Water Configuration object before changing its properties, according to the next example.

Set wc = Application.GetObject("WaterConfiguration")
Set mc = wc.MeasurementColors
wc.Deactivate
mc.ColorNormal = RGB(0, 0, 192)
mc.ColorBad = RGB(0, 192, 0)
mc.ColorAlarm = RGB(0, 192, 192)
mc.ColorNAck = RGB(255, 62, 62)
mc.BlinkNormal = True
mc.BlinkBad = False
mc.BlinkAlarm = True
mc.BlinkNAck = False
wc.Activate

 

NOTE

Please check topic Measurement Colors for more information about the properties of the object returned by this property.

Was this page useful?