|
AP&C API Reference
|
Provides an in-memory representation of an element that is being acted on by the system. More...
Public Member Functions | |
| string | ColorAsHex () |
| Converts the Color to hexidecimal. More... | |
| void | ColorFromHex (string argb) |
| Converts the Color from hexidecimal. More... | |
| void | ClearMappings () |
| void | AddMapping (MeasurementMapping mapping) |
| void | RemoveMapping (MeasurementMapping mapping) |
| void | RemoveMappingAt (int index) |
| MeasurementMapping | MappingAt (int index) |
| void | SetMappingAt (int index, MeasurementMapping mapping) |
| ManagedElement | Clone () |
| override string | ToString () |
Public Member Functions inherited from Apac.Monitoring.Persistable | |
| System.Xml.Schema.XmlSchema | GetSchema () |
| This property is reserved, apply the T:System.Xml.Serialization.XmlSchemaProviderAttribute to the class instead. More... | |
| void | ReadXml (System.Xml.XmlReader reader) |
| Generates an object from its XML representation. More... | |
| void | WriteXml (System.Xml.XmlWriter writer) |
| Converts an object into its XML representation. More... | |
Protected Member Functions | |
| override void | OnReadXml (System.Xml.XmlReader reader) |
| Deserializes a mapping from XML. More... | |
| override void | OnWriteXml (System.Xml.XmlWriter writer) |
| Serializes a mapping to XML. More... | |
Protected Member Functions inherited from Apac.Monitoring.Persistable | |
| virtual void | OnPropertyChanged (string name) |
| Called when [property changed]. More... | |
Properties | |
| uint | Id [get, set] |
| The unique key for the managed element. More... | |
| string | Name [get, set] |
| The name of the managed element. More... | |
| string | Description [get, set] |
| A verbose description of the managed element. More... | |
| bool | IsSource [get, set] |
| Indicates the number of phases in the circuit being measured. This is only applicable to circuit-type measurements (ECOP v1). More... | |
| System.Drawing.Color | Color [get, set] |
| The presentation color for the element. More... | |
| string | HexColor [get, set] |
| Gets or sets the hexidecimal value for the color of element. More... | |
| string | PlotStyle [get, set] |
| The nominal circuit amperage. This is only applicable to circuit-type measurements (ECOP v1). More... | |
| string | FormulaType [get, set] |
| Data.IMeasurementFormula | Formula [get] |
| string | Category [get, set] |
| Gets or sets a value useful for sorting elements and their associated measurements into cache buckets. More... | |
| string | CategoryCompare [get] |
| Gets a cached upper-case version of Category. More... | |
| List< MeasurementMapping > | Mappings [get, set] |
| int? | NumberOfMappings [get] |
| bool | IsActive [get, set] |
| List< Threshold > | Thresholds [get, set] |
Properties inherited from Apac.Monitoring.Persistable | |
| bool | IsNew [get, set] |
| Gets or sets a value indicating whether this instance is new. More... | |
| bool | IsDirty [get, set] |
| Gets or sets a value indicating whether this instance is dirty. More... | |
| bool | IsDeleted [get, set] |
| Gets or sets a value indicating whether this instance is deleted. More... | |
| object | Tag [get, set] |
| Gets or sets an arbitrary value that application code can use to track application specific data on an instance of this type. More... | |
Additional Inherited Members | |
Events inherited from Apac.Monitoring.Persistable | |
| PropertyChangedEventHandler | PropertyChanged |
| Occurs when a property value changes. More... | |
Provides an in-memory representation of an element that is being acted on by the system.
|
inline |
Converts the Color to hexidecimal.
|
inline |
Converts the Color from hexidecimal.
|
inlineprotectedvirtual |
Deserializes a mapping from XML.
| reader | The reader from which the XML data is read. |
Implements Apac.Monitoring.Persistable.
|
inlineprotectedvirtual |
Serializes a mapping to XML.
| writer | The writer to which XML is written. |
Implements Apac.Monitoring.Persistable.
|
getset |
Gets or sets a value useful for sorting elements and their associated measurements into cache buckets.
|
get |
Gets a cached upper-case version of Category.
|
getset |
The presentation color for the element.
|
getset |
A verbose description of the managed element.
|
getset |
Gets or sets the hexidecimal value for the color of element.
|
getset |
The unique key for the managed element.
|
getset |
Indicates the number of phases in the circuit being measured. This is only applicable to circuit-type measurements (ECOP v1).
Indicates that the measurement is for a power source rather than a power load.
|
getset |
The name of the managed element.
|
getset |
The nominal circuit amperage. This is only applicable to circuit-type measurements (ECOP v1).
Determines the style of line intersection to use when plotting data for the managed element.