Implement this interface if your acquisition service supports some kind of utility commands that could be run from a method.
More...
|
| void | ValidateCommand (TCommandAndParameters cmdAndPars) |
| | Please check if it is likely that you can actually execute the parameters.
|
| void | RunCommand (TCommandAndParameters cmdAndPars) |
| | Perform the actual command action.
|
|
| 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.
|
Implement this interface if your acquisition service supports some kind of utility commands that could be run from a method.
- Template Parameters
-
| TCommandAndParameters | Some class containing all necessary information for the command execution. You could require the user to pick an instrument or select predefined options from dropdown lists here. |
An example would be some option to re-calibrate a mass spectrometer between runs.
- Type Constraints
-
| TCommandAndParameters | : | class | |
| TCommandAndParameters | : | new() | |
Definition at line 289 of file AcquisitionInterfaces.cs.
◆ RunCommand()
| void AxelSemrau.Chronos.Plugin.ICommandUsingAcquisitionService< TCommandAndParameters >.RunCommand |
( |
TCommandAndParameters | cmdAndPars | ) |
|
Perform the actual command action.
- Parameters
-
| cmdAndPars | The properties of this class will be listed in the RunAcquisitionCommand task parameter list. |
◆ ValidateCommand()
| void AxelSemrau.Chronos.Plugin.ICommandUsingAcquisitionService< TCommandAndParameters >.ValidateCommand |
( |
TCommandAndParameters | cmdAndPars | ) |
|
Please check if it is likely that you can actually execute the parameters.
- Parameters
-
The documentation for this interface was generated from the following file: