C# Class TrakHound.Configurations.DeviceConfiguration

Inheritance: IComparable
Mostrar archivo Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Properties

Property Type Description
CustomClasses List

Public Methods

Method Description
CompareTo ( object obj ) : int
DeviceConfiguration ( ) : System
EditTable ( DataTable table, string address, object value ) : void
EditTable ( DataTable table, string address, object value, string attributes ) : void
Equals ( object obj ) : bool
GenerateUniqueID ( ) : string
GetHashCode ( ) : int
GetTableAttributes ( DataTable table, string address ) : string
GetTableValue ( DataTable table, string address ) : string
Read ( XmlDocument xml ) : DeviceConfiguration
Read ( string path ) : DeviceConfiguration

Reads an XML file to parse configuration information.

ReadAll ( string path ) : TrakHound.Configurations.DeviceConfiguration[]
Save ( DataTable table ) : bool
Save ( DataTable table, string path ) : bool
Save ( DeviceConfiguration config ) : bool
Save ( DeviceConfiguration config, string path ) : bool
Save ( XmlDocument xml ) : bool
Save ( XmlDocument xml, string path ) : bool
TableToXml ( DataTable table ) : XmlDocument
ToTable ( ) : DataTable
init ( ) : void
operator ( ) : bool

Private Methods

Method Description
AddAddress ( XmlDocument doc, string address ) : XmlNode
EqualTo ( DeviceConfiguration c1, DeviceConfiguration c2 ) : bool
GreaterThan ( DeviceConfiguration c1, DeviceConfiguration c2 ) : bool
LessThan ( DeviceConfiguration c1, DeviceConfiguration c2 ) : bool
NotEqualTo ( DeviceConfiguration c1, DeviceConfiguration c2 ) : bool
ProcessAgent ( XmlNode Node ) : Data.AgentInfo
ProcessDescription ( XmlNode Node ) : Data.DescriptionInfo

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

DeviceConfiguration() public method

public DeviceConfiguration ( ) : System
return System

EditTable() public static method

public static EditTable ( DataTable table, string address, object value ) : void
table System.Data.DataTable
address string
value object
return void

EditTable() public static method

public static EditTable ( DataTable table, string address, object value, string attributes ) : void
table System.Data.DataTable
address string
value object
attributes string
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GenerateUniqueID() public static method

public static GenerateUniqueID ( ) : string
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetTableAttributes() public static method

public static GetTableAttributes ( DataTable table, string address ) : string
table System.Data.DataTable
address string
return string

GetTableValue() public static method

public static GetTableValue ( DataTable table, string address ) : string
table System.Data.DataTable
address string
return string

Read() public static method

public static Read ( XmlDocument xml ) : DeviceConfiguration
xml System.Xml.XmlDocument
return DeviceConfiguration

Read() public static method

Reads an XML file to parse configuration information.
public static Read ( string path ) : DeviceConfiguration
path string
return DeviceConfiguration

ReadAll() public static method

public static ReadAll ( string path ) : TrakHound.Configurations.DeviceConfiguration[]
path string
return TrakHound.Configurations.DeviceConfiguration[]

Save() public static method

public static Save ( DataTable table ) : bool
table System.Data.DataTable
return bool

Save() public static method

public static Save ( DataTable table, string path ) : bool
table System.Data.DataTable
path string
return bool

Save() public static method

public static Save ( DeviceConfiguration config ) : bool
config DeviceConfiguration
return bool

Save() public static method

public static Save ( DeviceConfiguration config, string path ) : bool
config DeviceConfiguration
path string
return bool

Save() public static method

public static Save ( XmlDocument xml ) : bool
xml System.Xml.XmlDocument
return bool

Save() public static method

public static Save ( XmlDocument xml, string path ) : bool
xml System.Xml.XmlDocument
path string
return bool

TableToXml() public static method

public static TableToXml ( DataTable table ) : XmlDocument
table System.Data.DataTable
return System.Xml.XmlDocument

ToTable() public method

public ToTable ( ) : DataTable
return System.Data.DataTable

init() public method

public init ( ) : void
return void

operator() public static method

public static operator ( ) : bool
return bool

Property Details

CustomClasses public_oe property

public List CustomClasses
return List