public class GemToolModelSnapshot
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GemToolModelSnapshot.GemAlarmVariable
This adds the "set" variable that the tool side uses to store the current state of the alarm.
|
static class |
GemToolModelSnapshot.GemLimitVariable
This adds the configuration for a limit id.
|
static class |
GemToolModelSnapshot.GemReportVariable
This adds a list of VIDs that are associated with this report.
|
static class |
GemToolModelSnapshot.GemVariable
Storage for an ID/value pair.
|
Constructor and Description |
---|
GemToolModelSnapshot()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
GemToolModelSnapshot.GemAlarmVariable |
addAlarm(java.lang.String name,
long id)
Add an alarm variable.
|
GemToolModelSnapshot.GemReportVariable |
addCeid(java.lang.String name,
long id,
java.util.List<java.lang.Long> rptids,
boolean configured)
Add a ceid.
|
GemToolModelSnapshot.GemReportVariable |
addReport(java.lang.String name,
long id,
java.util.List<java.lang.Long> vids,
boolean configured)
Add a report.
|
GemToolModelSnapshot.GemAlarmVariable |
getALID(long alid)
Return a variable associated with the provided ceid, or null if the ceid is unknown.
|
java.util.List<GemToolModelSnapshot.GemAlarmVariable> |
getAlids() |
GemToolModelSnapshot.GemReportVariable |
getCEID(long ceid)
Return a variable associated with the provided ceid, or null if the ceid is unknown.
|
GemToolModelSnapshot.GemReportVariable |
getCEID(java.lang.String ceidName)
Return a variable associated with the provided ceid, or null if the ceid is unknown.
|
java.util.List<GemToolModelSnapshot.GemReportVariable> |
getCeids() |
java.util.List<GemToolModelSnapshot.GemLimitVariable> |
getLimitids() |
GemToolModelSnapshot.GemReportVariable |
getRPTID(long rptid)
Return a variable associated with the provided rptid, or null if the rptid is unknown.
|
java.util.List<GemToolModelSnapshot.GemReportVariable> |
getRptids() |
void |
removeAlarm(long id)
Remove the given ceid.
|
void |
removeCEID(long id)
Remove the given ceid.
|
void |
removeRPTID(long id)
Remove the given ceid.
|
public GemToolModelSnapshot.GemAlarmVariable addAlarm(java.lang.String name, long id)
public GemToolModelSnapshot.GemReportVariable addCeid(java.lang.String name, long id, java.util.List<java.lang.Long> rptids, boolean configured)
name
- the name of the ceidid
- the idrptids
- the associated report ids (can be null)configured
- true if the tool has this a default ceid and so this host should not configure it.public GemToolModelSnapshot.GemReportVariable addReport(java.lang.String name, long id, java.util.List<java.lang.Long> vids, boolean configured)
name
- the name of the reportid
- the idrptids
- the associated vids ids (can be null)configured
- true if the tool has this a default report and so this host should not configure it.public GemToolModelSnapshot.GemAlarmVariable getALID(long alid)
ceid
- the ceid to checkpublic java.util.List<GemToolModelSnapshot.GemAlarmVariable> getAlids()
public GemToolModelSnapshot.GemReportVariable getCEID(long ceid)
ceid
- the ceid to checkpublic GemToolModelSnapshot.GemReportVariable getCEID(java.lang.String ceidName)
ceid
- the ceid to checkpublic java.util.List<GemToolModelSnapshot.GemReportVariable> getCeids()
public java.util.List<GemToolModelSnapshot.GemLimitVariable> getLimitids()
public GemToolModelSnapshot.GemReportVariable getRPTID(long rptid)
rptid
- the rptid to checkpublic java.util.List<GemToolModelSnapshot.GemReportVariable> getRptids()
public void removeAlarm(long id)
public void removeCEID(long id)
public void removeRPTID(long id)
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.