C# Класс TrakHound.Configurations.DeviceConfiguration

Наследование: IComparable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CustomClasses List

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CompareTo() публичный Метод

public CompareTo ( object obj ) : int
obj object
Результат int

DeviceConfiguration() публичный Метод

public DeviceConfiguration ( ) : System
Результат System

EditTable() публичный статический Метод

public static EditTable ( DataTable table, string address, object value ) : void
table System.Data.DataTable
address string
value object
Результат void

EditTable() публичный статический Метод

public static EditTable ( DataTable table, string address, object value, string attributes ) : void
table System.Data.DataTable
address string
value object
attributes string
Результат void

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GenerateUniqueID() публичный статический Метод

public static GenerateUniqueID ( ) : string
Результат string

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

GetTableAttributes() публичный статический Метод

public static GetTableAttributes ( DataTable table, string address ) : string
table System.Data.DataTable
address string
Результат string

GetTableValue() публичный статический Метод

public static GetTableValue ( DataTable table, string address ) : string
table System.Data.DataTable
address string
Результат string

Read() публичный статический Метод

public static Read ( XmlDocument xml ) : DeviceConfiguration
xml System.Xml.XmlDocument
Результат DeviceConfiguration

Read() публичный статический Метод

Reads an XML file to parse configuration information.
public static Read ( string path ) : DeviceConfiguration
path string
Результат DeviceConfiguration

ReadAll() публичный статический Метод

public static ReadAll ( string path ) : TrakHound.Configurations.DeviceConfiguration[]
path string
Результат TrakHound.Configurations.DeviceConfiguration[]

Save() публичный статический Метод

public static Save ( DataTable table ) : bool
table System.Data.DataTable
Результат bool

Save() публичный статический Метод

public static Save ( DataTable table, string path ) : bool
table System.Data.DataTable
path string
Результат bool

Save() публичный статический Метод

public static Save ( DeviceConfiguration config ) : bool
config DeviceConfiguration
Результат bool

Save() публичный статический Метод

public static Save ( DeviceConfiguration config, string path ) : bool
config DeviceConfiguration
path string
Результат bool

Save() публичный статический Метод

public static Save ( XmlDocument xml ) : bool
xml System.Xml.XmlDocument
Результат bool

Save() публичный статический Метод

public static Save ( XmlDocument xml, string path ) : bool
xml System.Xml.XmlDocument
path string
Результат bool

TableToXml() публичный статический Метод

public static TableToXml ( DataTable table ) : XmlDocument
table System.Data.DataTable
Результат System.Xml.XmlDocument

ToTable() публичный Метод

public ToTable ( ) : DataTable
Результат System.Data.DataTable

init() публичный Метод

public init ( ) : void
Результат void

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool

Описание свойств

CustomClasses публичное свойство

public List CustomClasses
Результат List