AP&C API Reference
Public Member Functions | Protected Member Functions | Properties | List of all members
Apac.Dallas.OneWire.Configuration.OneWireDeviceConfig Class Reference

The configuration sub-element used to control individual sensors in the 1-Wire network (sensor array). More...

Inheritance diagram for Apac.Dallas.OneWire.Configuration.OneWireDeviceConfig:
Apac.Configuration.ConfigElement

Public Member Functions

 OneWireDeviceConfig (string name, string description, int pollFreqSec, ulong serialNum, ushort inputResolutionBits)
 
- Public Member Functions inherited from Apac.Configuration.ConfigElement
 ConfigElement ()
 Initializes a new instance of the ConfigElement class. More...
 
 ConfigElement (string name, string description, bool enabled)
 Initializes a new instance of the ConfigElement class. More...
 
override int GetHashCode ()
 Returns a hash code for this instance. More...
 
override bool Equals (object compareTo)
 Determines whether the specified System.Object is equal to this instance. More...
 
System.Xml.Schema.XmlSchema GetSchema ()
 This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the T:System.Xml.Serialization.XmlSchemaProviderAttribute to the class. 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)
 Called when deserializing via XML. More...
 
override void OnWriteXml (System.Xml.XmlWriter writer)
 Called when serializing via XML. More...
 

Properties

int PollFrequencySeconds [get, set]
 
bool Checked [get, set]
 A non-persisted state variable used to audit the configuration against the network. More...
 
ulong SerialNumber [get, set]
 
ushort InputResolutionBits [get, set]
 
- Properties inherited from Apac.Configuration.ConfigElement
virtual bool IsValid [get]
 Gives a way for subclasses to determine validity. More...
 
string Name [get, set]
 Gets or sets the name property setting. More...
 
string Description [get, set]
 Gets or sets the description property setting. More...
 
bool Enabled [get, set]
 Gets or sets a value indicating whether this ConfigElement is enabled. More...
 
log4net.ILog Log [get]
 Provides a log4net.ILog instance for use by the whole class hierarchy. More...
 

Detailed Description

The configuration sub-element used to control individual sensors in the 1-Wire network (sensor array).

Member Function Documentation

◆ OnReadXml()

override void Apac.Dallas.OneWire.Configuration.OneWireDeviceConfig.OnReadXml ( System.Xml.XmlReader  reader)
inlineprotectedvirtual

Called when deserializing via XML.

Parameters
readerThe reader.

Reimplemented from Apac.Configuration.ConfigElement.

◆ OnWriteXml()

override void Apac.Dallas.OneWire.Configuration.OneWireDeviceConfig.OnWriteXml ( System.Xml.XmlWriter  writer)
inlineprotectedvirtual

Called when serializing via XML.

Parameters
writerThe writer.

Reimplemented from Apac.Configuration.ConfigElement.

Property Documentation

◆ Checked

bool Apac.Dallas.OneWire.Configuration.OneWireDeviceConfig.Checked
getset

A non-persisted state variable used to audit the configuration against the network.


The documentation for this class was generated from the following file: