57 package com.boschrexroth.mlpi;
67 public class Task extends MlpiComponent {
90 int getCode() {
return _code; }
94 if (code == value.getCode())
return value;
115 TRIG_OPT_NO_CYCLIC_MOTION (0),
116 TRIG_OPT_NO_CYCLIC_SERCOS (1),
117 TRIG_OPT_IMMEDIATE_EXECUTION (2),
118 TRIG_OPT_NO_ERROR_REACTION (3),
119 TRIG_OPT_NO_WARNING (4),
120 TRIG_OPT_SYNCHRONOUS (5);
123 int getCode() {
return _code; }
127 if (code == value.getCode())
return value;
144 TASK_VIEWER_STATE_STOPPED (0),
145 TASK_VIEWER_STATE_RUNNING (1);
148 int getCode() {
return _code; }
152 if (code == value.getCode())
return value;
172 PROCESS_STATUS_NOT_STARTED (0),
173 PROCESS_STATUS_INITIALIZATION (32),
174 PROCESS_STATUS_INWORK (64),
175 PROCESS_STATUS_FINISHED (128),
176 PROCESS_STATUS_ERROR (256);
179 int getCode() {
return _code; }
183 if (code == value.getCode())
return value;
229 Task(MlpiHandle connection) {
413 public native
long executeFile(String path, String envArguments, String arguments);
native void getTriggerSetup(TriggerSetup[] tiggerSetup)
This enumeration defines the different trigger options in the device.
Class definition of the SystemLib.
native void stopTaskViewer()
boolean active
Event active or inactive.
Class definition of the TaskLib.
This enumeration must be used when accessing language settings in the device.
This enumeration defines the different trigger events in the device.
TriggerOption triggerOption
Options available for task trigger.
This structure defines the information needed to get or set the trigger setup.
This structure defines the information to trigger events.
native TaskViewerState getTaskViewerState()
native String executeGetName(long handle)
This enumeration defines the state of a process.
native void setTrigger(Trigger[] trigger)
This enumeration defines the different task viewer states.
TriggerEvent triggerEvent
Event which should be triggered.
native long executeFile(String path, String envArguments, String arguments)
boolean active
Option active or inactive.
native boolean getTrigger(Trigger[] trigger)
native void setTriggerSetup(TriggerSetup[] triggerSetup)
native TaskProcessState executeGetStatus(long handle)
native void executeKill(long handle)
int numTriggers
Number of triggers for an event.
native long[] executeGetActive()
native void startTaskViewer()