Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Request retrying if IsAvailable returned false. More...
Properties | |
TimeSpan | RetryInterval [get] |
If you are sure the service will not be available, return TimeSpan.Zero. Else return a reasonable interval for retrying, depending on how costly the operation is. | |
![]() | |
string | Name [get] |
Name that is visible to the user in the list of acquisition services. Do not localize. | |
bool | IsAvailable [get] |
The place to check if you can actually use the acquisition service. | |
bool | Abort [set] |
Will be set to true if you should abort the current acquisition. Will be set to false when everything is back to normal. | |
Request retrying if IsAvailable returned false.
Some acquisition services depend on other software that might or might not be running. Instead of forcing the user to control the initialization order or making them retry the detection, the acquisition service can request Chronos to retry initialization.
Definition at line 38 of file AcquisitionInterfaces.cs.
|
get |
If you are sure the service will not be available, return TimeSpan.Zero. Else return a reasonable interval for retrying, depending on how costly the operation is.
Implemented in MockPlugin.AcquisitionService.MockSimpleAcquisitionService.
Definition at line 44 of file AcquisitionInterfaces.cs.