public static class GemHostModel.GemValueVariable extends GemToolModelSnapshot.GemVariable
id, name
Constructor and Description |
---|
GemValueVariable()
Create the ID.
|
GemValueVariable(java.lang.String name,
long id,
int vidType,
int valueType)
Create the ID.
|
Modifier and Type | Method and Description |
---|---|
SecsFormat |
getCurrentValue()
Return the current value of the variable.
|
java.lang.String |
getDataSourceName() |
int |
getValueType() |
int |
getVidType() |
void |
setCurrentValue(SecsFormat currentValue)
Sets the value of this variable.
|
void |
setValueType(int valueType) |
public GemValueVariable()
public GemValueVariable(java.lang.String name, long id, int vidType, int valueType)
name
- the name of the vidid
- the id of the vidvidType
- the type of the vid - SVID, ECID, DVNAME as defined in the GemEquipmentInterfacevalueType
- the type of the value matching the SECS type, 10, 11, 20, 30, 31, 32, 34, 40, 41, 42, 44, etc.public SecsFormat getCurrentValue()
public java.lang.String getDataSourceName()
getDataSourceName
in class GemToolModelSnapshot.GemVariable
public int getValueType()
public int getVidType()
public void setCurrentValue(SecsFormat currentValue)
currentValue
- the value received in an event message from the tool.public void setValueType(int valueType)
valueType
- the valueType to setCopyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.