Interface ScanApplication.ScanningTask.ScanController
- Enclosing class:
ScanApplication.ScanningTask
public static interface ScanApplication.ScanningTask.ScanController
Interface that facilitates connection to undelaying services and context.
- Author:
- igor@scictrl.com
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notifies that scan is donevoid
Reports error to underlying contextboolean
Checks if setpoint control point is ready for set action.org.apache.logging.log4j.Logger
log()
Logger for general loggingboolean
setValue
(double d) Set action, sets value to the setpoint
-
Method Details
-
log
org.apache.logging.log4j.Logger log()Logger for general logging- Returns:
- Logger for general logging
-
setValue
boolean setValue(double d) Set action, sets value to the setpoint- Parameters:
d
- the value to be set- Returns:
- returns
true
if set command succeeded.
-
isSetReady
boolean isSetReady()Checks if setpoint control point is ready for set action.- Returns:
true
if setpoint can be set
-
error
Reports error to underlying context- Parameters:
message
- error messagee
- Throwable causing error
-
done
Notifies that scan is done- Parameters:
task
- the task that is done
-