public class GemALID extends GemID
SimpleDataSource.NameEditorData
DataSource.Writable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALCD_PORT_NAME
This is the name that we publish use to publish the trigger.
|
static int |
antiReboundDeadband
The anti-rebound timeout.
|
static boolean |
dontSendClear
Customer request to send only set notification not cleared.
|
static java.lang.String |
ENABLED_PORT_NAME
This is the name that we publish use to publish the enabled flag.
|
static boolean |
legacyAlarms
For legacy reasons, if this flag is true, we will allow alarms to be set or cleared multiple times.
|
static java.lang.String |
TRIGGER_PORT_NAME
This is the name that we publish use to publish the trigger.
|
cvsRev
UPDATE_DISPLAYED_VALUE, VALUE_INPUT
customTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebase
autoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo
Constructor and Description |
---|
GemALID() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the alarm and triggers the event if enabled.
|
void |
clear(ValueObjectInterface value)
Clears the alarm and triggers the event if enabled.
|
AlarmWriter |
getAlarmWriter() |
byte |
getALCD()
Returns the alarm code.
|
boolean |
getALED()
Returns the alarm enabled flag.
|
java.lang.String |
getALTX()
Returns the alarm text.
|
GemCEID |
getClearCEID()
Returns the CEID to send when the alarm is cleared.
|
boolean |
getEnabled()
This is just a pass through to setALED, but the name is more user friendly.
|
GemCEID |
getSetCEID()
Returns the CEID to send when the alarm is set.
|
boolean |
isSet()
Returns the status of the alarm.
|
void |
set()
Sets the alarm and triggers the event if enabled.
|
void |
set(ValueObjectInterface value)
Sets the alarm and triggers the event if enabled.
|
void |
setAlarmWriter(AlarmWriter alarmWriter) |
void |
setALCD(byte newValue)
Sets the alarm code flag.
|
void |
setALED(boolean aled)
Sets the alarm enabled flag.
|
void |
setALTX(java.lang.String newValue)
Set the alarm text.
|
void |
setClearCEID(GemCEID newValue)
Sets the alarm to set when the alarm is cleared.
|
void |
setEnabled(boolean enabled)
This is just a pass through to setALED, but the name is more user friendly.
|
void |
setSetCEID(GemCEID newValue)
Sets the CEID to send when the alarm is set.
|
void |
setValueObject(ValueObjectInterface newValue)
Set the value to the new value.
|
void |
trigger(ValueChangedEvent event)
Set the value to the new value if data quality is good.
|
addConnectionToDevice, getID, getName, removeConnectionToDevice, setID, setName, setProperty, valueInput
getDefaultQualityForLocation
getInPortNames, getStaticLocationFor, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, valueChanged
addConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, clientResponse, destroy, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, start, stop, tick, VIBEvent
addVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, init, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmI
public static final java.lang.String ALCD_PORT_NAME
public static int antiReboundDeadband
public static boolean dontSendClear
public static final java.lang.String ENABLED_PORT_NAME
public static boolean legacyAlarms
public static final java.lang.String TRIGGER_PORT_NAME
public void clear() throws SecsException
SecsException
- thrown if the alarm message, or the event message
cannot be sent because there is no connection.
Note that this will NOT be thrown if spooling is enabled
even if there is no connection to the host.public void clear(ValueObjectInterface value) throws SecsException
value
- the value used to trigger the ceid, usually only the properties
are of interest.SecsException
- thrown if the alarm message, or the event message
cannot be sent because there is no connection.
Note that this will NOT be thrown if spooling is enabled
even if there is no connection to the host.SecsException
public AlarmWriter getAlarmWriter()
public byte getALCD()
public boolean getALED()
public java.lang.String getALTX()
public GemCEID getClearCEID()
public boolean getEnabled()
public GemCEID getSetCEID()
public boolean isSet()
public void set() throws SecsException
SecsException
- thrown if the alarm message, or the event message
cannot be sent because there is no connection.
Note that this will NOT be thrown if spooling is enabled
even if there is no connection to the host.public void set(ValueObjectInterface value) throws SecsException
value
- the value used to trigger the ceid, usually only the properties
are of interest.SecsException
- thrown if the alarm message, or the event message
cannot be sent because there is no connection.
Note that this will NOT be thrown if spooling is enabled
even if there is no connection to the host.SecsException
public void setAlarmWriter(AlarmWriter alarmWriter)
public void setALCD(byte newValue)
public void setALED(boolean aled)
aled
- true to enable the alarm, false to disable.public void setALTX(java.lang.String newValue)
public void setClearCEID(GemCEID newValue)
public void setEnabled(boolean enabled)
public void setSetCEID(GemCEID newValue)
public void setValueObject(ValueObjectInterface newValue) throws VIBUpdateFailedException
setValueObject
in class SimpleDataSource
newValue
- the new ValueObject value for the serverVIBUpdateFailedException
ValueObject
public void trigger(ValueChangedEvent event) throws VIBUpdateFailedException
VIBUpdateFailedException
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.