C# Class TrakHound.Configurations.DeviceConfiguration

Inheritance: IComparable
Afficher le fichier Open project: TrakHound/TrakHound-Community Class Usage Examples

Méthodes publiques

Свойство Type Description
CustomClasses List

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

DeviceConfiguration() public méthode

public DeviceConfiguration ( ) : System
Résultat System

EditTable() public static méthode

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

EditTable() public static méthode

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

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GenerateUniqueID() public static méthode

public static GenerateUniqueID ( ) : string
Résultat string

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetTableAttributes() public static méthode

public static GetTableAttributes ( DataTable table, string address ) : string
table System.Data.DataTable
address string
Résultat string

GetTableValue() public static méthode

public static GetTableValue ( DataTable table, string address ) : string
table System.Data.DataTable
address string
Résultat string

Read() public static méthode

public static Read ( XmlDocument xml ) : DeviceConfiguration
xml System.Xml.XmlDocument
Résultat DeviceConfiguration

Read() public static méthode

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

ReadAll() public static méthode

public static ReadAll ( string path ) : TrakHound.Configurations.DeviceConfiguration[]
path string
Résultat TrakHound.Configurations.DeviceConfiguration[]

Save() public static méthode

public static Save ( DataTable table ) : bool
table System.Data.DataTable
Résultat bool

Save() public static méthode

public static Save ( DataTable table, string path ) : bool
table System.Data.DataTable
path string
Résultat bool

Save() public static méthode

public static Save ( DeviceConfiguration config ) : bool
config DeviceConfiguration
Résultat bool

Save() public static méthode

public static Save ( DeviceConfiguration config, string path ) : bool
config DeviceConfiguration
path string
Résultat bool

Save() public static méthode

public static Save ( XmlDocument xml ) : bool
xml System.Xml.XmlDocument
Résultat bool

Save() public static méthode

public static Save ( XmlDocument xml, string path ) : bool
xml System.Xml.XmlDocument
path string
Résultat bool

TableToXml() public static méthode

public static TableToXml ( DataTable table ) : XmlDocument
table System.Data.DataTable
Résultat System.Xml.XmlDocument

ToTable() public méthode

public ToTable ( ) : DataTable
Résultat System.Data.DataTable

init() public méthode

public init ( ) : void
Résultat void

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

CustomClasses public_oe property

public List CustomClasses
Résultat List