Photomechanics API
|
Default devices manager implementation. Currently searches for MFT series turntables and K-1x cranes. More...
Public Member Functions | |
PhotomechanicsFakeDevicesManagerService () | |
Construct new instance of service with default parameters. | |
async ValueTask | DisposeAsync () |
void | StartMonitoringDevices () |
Begin periodic search for connected turn tables. More... | |
async Task | SearchForDevices () |
Try to find turntable and crane and instantiate their APIs and set TurnTableApi and CraneApi. More... | |
Task | SearchForDevices () |
Try to find turntable and crane and instantiate their APIs and set TurnTableApi and CraneApi. More... | |
void | StartMonitoringDevices () |
Begin periodic search for connected turn tables. More... | |
Properties | |
IPEndPoint | RD300EndPoint [get, set] |
RD-300 IP endpoint. If not null, manager will attempt to connect to provided endpoint. More... | |
ITurntableApi | TurnTableApi [get] |
Turn table API. null if no device is connected. More... | |
ICraneApi | CraneApi [get] |
Crane API. null if no device is connected. More... | |
TimeSpan | DevicesDiscoveryInterval [get, set] |
Devices polling interval. More... | |
Properties inherited from IPhotomechanicsDevicesManagerService | |
IPEndPoint | RD300EndPoint [get, set] |
RD-300 IP endpoint. If not null, manager will attempt to connect to provided endpoint. More... | |
ITurntableApi | TurnTableApi [get] |
Turn table API. null if no device is connected. More... | |
ICraneApi | CraneApi [get] |
Crane API. null if no device is connected. More... | |
TimeSpan | DevicesDiscoveryInterval [get, set] |
Devices polling interval. More... | |
Events | |
AsyncTypedEventHandler< IPhotomechanicsDevicesManagerService > | TurntableApiChanged |
AsyncTypedEventHandler< IPhotomechanicsDevicesManagerService > | CraneApiChanged |
Events inherited from IPhotomechanicsDevicesManagerService | |
AsyncTypedEventHandler< IPhotomechanicsDevicesManagerService > | TurntableApiChanged |
Occurs when TurnTableApi is changed. More... | |
AsyncTypedEventHandler< IPhotomechanicsDevicesManagerService > | CraneApiChanged |
Occurs when CraneApi is changed. More... | |
Default devices manager implementation. Currently searches for MFT series turntables and K-1x cranes.
void PhotomechanicsFakeDevicesManagerService.StartMonitoringDevices | ( | ) |
Begin periodic search for connected turn tables.
Implements IPhotomechanicsDevicesManagerService.
async Task PhotomechanicsFakeDevicesManagerService.SearchForDevices | ( | ) |
Try to find turntable and crane and instantiate their APIs and set TurnTableApi and CraneApi.
Implements IPhotomechanicsDevicesManagerService.
|
getset |
RD-300 IP endpoint. If not null, manager will attempt to connect to provided endpoint.
Implements IPhotomechanicsDevicesManagerService.
|
get |
Turn table API. null
if no device is connected.
Implements IPhotomechanicsDevicesManagerService.
|
get |
Crane API. null
if no device is connected.
Implements IPhotomechanicsDevicesManagerService.
|
getset |
Devices polling interval.
Implements IPhotomechanicsDevicesManagerService.