Photomechanics API
|
Represents turn table API command. More...
Public Member Functions | |
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 | |
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 | |
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. | |
Represents turn table API command.
|
protectedpure virtual |
Custom messages (i.e. any message except status message) handler.
Implemented in GetCurrentStepsCommand, GetStepsPerRoundCommand, GetVersionInfoCommand, CancelRotationCommand, ExecuteCustomEsp8266CommandCommand, ExecuteCustomEsp8266CommandCommandAppendNewline, GetAccumulatedStepsCountCommand, GetCurrentStepsCommand, GetInitialSpeedCommand, GetIsCancellationRequestedCommand, GetIsRotatingCommand, GetLampBrightnessCommand, GetLampsCountCommand, GetManualRotationModeEnabledCommand, GetMaxAllowedSpeedCommand, GetStepsPerRoundCommand, GetVersionInfoCommand, ResetAccumulatedStepsCountCommand, RotateInfiniteCommand, RotateStepsCommand, SetAccelerationCommand, SetCommonBrightnessCommand, SetCustomEsp8266CommandsDelayCommand, SetEngineEnabledCommand, SetInitialSpeedCommand, SetLampBrightnessCommand, SetManualRotationModeEnabled, SetSpeedManually, SetStepsPerNotifyCommand, and SetTargetSpeedCommand.
|
get |
Command string.
"RotateSteps:1000"