jcfunc.parameters
Enum paramMC

java.lang.Object
  extended by java.lang.Enum<paramMC>
      extended by jcfunc.parameters.paramMC
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<paramMC>

public enum paramMC
extends java.lang.Enum<paramMC>

Enum paramMC contains returned values for control function CF.MC.


Enum Constant Summary
InitFromPrimary
          initiate transfer from a primary auxiliary device
InitFromSecondary
          initiate transfer from a secondary auxiliary device
InitToPimary
          initiate transfer to a primary auxiliary device
InitToSecondary
          initiate transfer to a secondary auxiliary device
Nonstandard
          Don't define in Standart
StartRelayPrimary
          start relay to a primary auxiliary device
StartRelaySecondary
          start relay to a secondary auxiliary device
StopRelayPrimary
          stop relay to a primary auxiliary device
StopRelaySecondary
          stop relay to a secondary auxiliary device
 
Method Summary
static paramMC getEnumValue(int val)
          Returns enum-value by int-value.
static int getIntValue(paramMC val)
          Returns int-value, which is corresponded to enum-value.
static paramMC valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static paramMC[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

InitToPimary

public static final paramMC InitToPimary
initiate transfer to a primary auxiliary device


InitFromPrimary

public static final paramMC InitFromPrimary
initiate transfer from a primary auxiliary device


InitToSecondary

public static final paramMC InitToSecondary
initiate transfer to a secondary auxiliary device


InitFromSecondary

public static final paramMC InitFromSecondary
initiate transfer from a secondary auxiliary device


StopRelayPrimary

public static final paramMC StopRelayPrimary
stop relay to a primary auxiliary device


StartRelayPrimary

public static final paramMC StartRelayPrimary
start relay to a primary auxiliary device


StopRelaySecondary

public static final paramMC StopRelaySecondary
stop relay to a secondary auxiliary device


StartRelaySecondary

public static final paramMC StartRelaySecondary
start relay to a secondary auxiliary device


Nonstandard

public static final paramMC Nonstandard
Don't define in Standart

Method Detail

values

public static paramMC[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (paramMC c : paramMC.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static paramMC valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getIntValue

public static int getIntValue(paramMC val)
Returns int-value, which is corresponded to enum-value.

Parameters:
val - enum-value
Returns:
int-value

getEnumValue

public static paramMC getEnumValue(int val)
Returns enum-value by int-value.

Parameters:
val - int-value
Returns:
enum-value