MpBBaseBargraphValue Property |
Property to set the value of the 5-segment bargraph, as follows:
0% = No segment illuminated
1% - 20% = Segment 1 ON
21% - 40% = Segments 1 and 2 ON
41% - 60% = Segments 1-3 ON
61% - 80% = Segments 1-4 ON
81% - 100% = Segments 1-5 ON
Use
PercentToUshort(Single) to convert
the percentage to a ushort value or
UshortToPercent(UInt16) to convert
the ushort value to percentage.
Namespace: Crestron.SimplSharpPro.KeypadsAssembly: Crestron.SimplSharpPro.Keypads (in Crestron.SimplSharpPro.Keypads.dll) Version: 2.21.121
SyntaxVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also