Photomechanics API
PhotomechanicsFakeDevicesManagerService Class Reference

Default devices manager implementation. Currently searches for MFT series turntables and K-1x cranes. More...

Inheritance diagram for PhotomechanicsFakeDevicesManagerService:
[legend]

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< IPhotomechanicsDevicesManagerServiceTurntableApiChanged
 
AsyncTypedEventHandler< IPhotomechanicsDevicesManagerServiceCraneApiChanged
 
- Events inherited from IPhotomechanicsDevicesManagerService
AsyncTypedEventHandler< IPhotomechanicsDevicesManagerServiceTurntableApiChanged
 Occurs when TurnTableApi is changed. More...
 
AsyncTypedEventHandler< IPhotomechanicsDevicesManagerServiceCraneApiChanged
 Occurs when CraneApi is changed. More...
 

Detailed Description

Default devices manager implementation. Currently searches for MFT series turntables and K-1x cranes.

Member Function Documentation

◆ StartMonitoringDevices()

void PhotomechanicsFakeDevicesManagerService.StartMonitoringDevices ( )

Begin periodic search for connected turn tables.

Implements IPhotomechanicsDevicesManagerService.

◆ SearchForDevices()

async Task PhotomechanicsFakeDevicesManagerService.SearchForDevices ( )

Try to find turntable and crane and instantiate their APIs and set TurnTableApi and CraneApi.

Implements IPhotomechanicsDevicesManagerService.

Property Documentation

◆ RD300EndPoint

IPEndPoint PhotomechanicsFakeDevicesManagerService.RD300EndPoint
getset

RD-300 IP endpoint. If not null, manager will attempt to connect to provided endpoint.

Implements IPhotomechanicsDevicesManagerService.

◆ TurnTableApi

ITurntableApi PhotomechanicsFakeDevicesManagerService.TurnTableApi
get

Turn table API. null if no device is connected.

Implements IPhotomechanicsDevicesManagerService.

◆ CraneApi

ICraneApi PhotomechanicsFakeDevicesManagerService.CraneApi
get

Crane API. null if no device is connected.

Implements IPhotomechanicsDevicesManagerService.

◆ DevicesDiscoveryInterval

TimeSpan PhotomechanicsFakeDevicesManagerService.DevicesDiscoveryInterval
getset

Devices polling interval.

Implements IPhotomechanicsDevicesManagerService.