Lights.SwitchOn(Int32, Int32, Int32, LightColors, LightAlarms) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Switches on the specified light or lets it blink.
public abstract void SwitchOn (int lightNumber, int blinkOnCycle, int blinkOffCycle, Microsoft.PointOfService.LightColors color, Microsoft.PointOfService.LightAlarms alarm);
abstract member SwitchOn : int * int * int * Microsoft.PointOfService.LightColors * Microsoft.PointOfService.LightAlarms -> unit
Public MustOverride Sub SwitchOn (lightNumber As Integer, blinkOnCycle As Integer, blinkOffCycle As Integer, color As LightColors, alarm As LightAlarms)
Parameters
- blinkOnCycle
- Int32
A zero (0) value indicates no blink cycle. A positive value indicates the blink on cycle time in milliseconds. Negative values are not allowed.
- blinkOffCycle
- Int32
A zero (0) value indicates no blink cycle. A positive value indicates the blink off cycle time in milliseconds. Negative values are not allowed.
- color
- LightColors
Specifies the color of the light, must be one of the colors defined by CapColor.
- alarm
- LightAlarms
Specifies the used alarm type, must be one of the alarms defined by CapAlarm.