Class MipIdentificationSensor.MipTimerTask
java.lang.Object
java.util.TimerTask
de.iip_ecosphere.platform.configuration.defaultLib.MipIdentificationSensor.MipTimerTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
MipIdentificationSensor
Task to send signals to MIP read async to PLC process.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMipTimerTask(boolean start, String sensorId, de.iip_ecosphere.platform.services.environment.DataIngestors<iip.datatypes.MipMqttInput> ingestors) Creates a timer task. -
Method Summary
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
start
private boolean start -
ingestors
private de.iip_ecosphere.platform.services.environment.DataIngestors<iip.datatypes.MipMqttInput> ingestors -
sensorId
-
-
Constructor Details
-
MipTimerTask
public MipTimerTask(boolean start, String sensorId, de.iip_ecosphere.platform.services.environment.DataIngestors<iip.datatypes.MipMqttInput> ingestors) Creates a timer task.- Parameters:
start- start/switch on the sensor iftrue, stop/switch off the sensor iffalsesensorId- the id of the sensor to send the data toingestors- the ingestors to use for sending
-
-
Method Details