com.github.wshackle.fanuc.robotneighborhood.FRERNConnectionStatusConstants Maven / Gradle / Ivy
package com.github.wshackle.fanuc.robotneighborhood ;
import com4j.*;
/**
*
* An enumeration of constants that represent the different connection status values.
*
*/
public enum FRERNConnectionStatusConstants implements ComEnum {
/**
*
* Indicates that the robot responds to pings over the network.
*
*
* The value of this constant is 0
*
*/
frRNAvailable(0),
/**
*
* Indicates that the robot does not respond to pings over the network.
*
*
* The value of this constant is 1
*
*/
frRNUnavailable(1),
/**
*
* Indicates that the Robot Neighborhood is in the process of connecting to the robot controller.
*
*
* The value of this constant is 2
*
*/
frRNConnecting(2),
/**
*
* Indicates that the robot has at least a single connection.
*
*
* The value of this constant is 3
*
*/
frRNConnected(3),
/**
*
* Indicates that the robot controller stopped responding to the HeartBeat signal.
*
*
* The value of this constant is 4
*
*/
frRNHeartbeatLost(4),
/**
*
* Indicates that the robot was connected, but has been disconnected.
*
*
* The value of this constant is 5
*
*/
frRNDisconnecting(5),
/**
*
* The robot status has not been determined yet.
*
*
* The value of this constant is 255
*
*/
frRNUnknown(255),
;
private final int value;
FRERNConnectionStatusConstants(int value) { this.value=value; }
public int comEnumValue() { return value; }
}