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 TypeMethodDescriptionvoidNotifies that scan is donevoidReports error to underlying contextbooleanChecks if setpoint control point is ready for set action.org.apache.logging.log4j.Loggerlog()Logger for general loggingbooleansetValue(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
trueif set command succeeded.
-
isSetReady
boolean isSetReady()Checks if setpoint control point is ready for set action.- Returns:
trueif 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
-