Photomechanics API
GetLampsCountCommand Class Reference

Get number of lamps supported by light dimmer. More...

Inheritance diagram for GetLampsCountCommand:
[legend]

Public Member Functions

 GetLampsCountCommand ()
 
- Public Member Functions inherited from MftCommandBase
override String ToString ()
 
- Public Member Functions inherited from TurntableCommandBase
void Dispose ()
 
async Task WaitEnterProcessingStateAsync ()
 Wait for command to enter TurntableCommandStatus.Processing state asynchronously. Processing state means that turntable accepted command, started executing it and will return Success status later on. Used for lengthy processes (i.e. rotation commands). More...
 
async Task WaitFinishAsync ()
 Wait for command to finish asynchronously. More...
 
Task WaitEnterProcessingStateAsync ()
 Wait for command to enter TurntableCommandStatus.Processing state asynchronously. Processing state means that turntable accepted command, started executing it and will return Success status later on. Used for lengthy processes (i.e. rotation commands). More...
 
Task WaitFinishAsync ()
 Wait for command to finish asynchronously. More...
 

Protected Member Functions

override void HandleCustomMessage (String message)
 Custom messages (i.e. any message except status message) handler. More...
 
- Protected Member Functions inherited from MftCommandBase
 MftCommandBase (String commandString)
 Construct new MftCommandBase with given command string.
 
abstract void HandleCustomMessage (String message)
 Custom messages (i.e. any message except status message) handler. More...
 
- Protected Member Functions inherited from TurntableCommandBase
 TurntableCommandBase ()
 Initialized TurntableCommandBase state awaiting mechanisms.
 

Properties

Int32 LampsCount [get]
 Received value.
 
- Properties inherited from MftCommandBase
String CommandString [get]
 Command string. More...
 
- Properties inherited from TurntableCommandBase
Stopwatch RunningTimeStopwatch [get]
 Stopwatch that is started when command created.
 
ILogger Logger [get, set]
 Logger attached to this command. More...
 
TurntableCommandStatus Status [get, protected set]
 Command status. More...
 
- Properties inherited from ITurntableCommand
TurntableCommandStatus Status [get]
 Command status. More...
 
ILogger Logger [get]
 Logger attached to this command. More...
 

Additional Inherited Members

- Events inherited from TurntableCommandBase
TypedEventHandler< ITurntableCommand, TurntableCommandStatus > StatusChanged
 
- Events inherited from ITurntableCommand
TypedEventHandler< ITurntableCommand, TurntableCommandStatus > StatusChanged
 Occurs when command execution is finished.
 

Detailed Description

Get number of lamps supported by light dimmer.

Member Function Documentation

◆ HandleCustomMessage()

override void GetLampsCountCommand.HandleCustomMessage ( String  message)
protectedvirtual

Custom messages (i.e. any message except status message) handler.

Implements MftCommandBase.