C# Class ATMLModelLibrary.model.equipment.HardwareItemDescription

Inheritance: ATMLModelLibrary.model.common.ItemDescription
Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddDocument ( Document document ) : void
Deserialize ( Stream s ) : HardwareItemDescription
Deserialize ( string input ) : HardwareItemDescription
Deserialize ( string input, HardwareItemDescription &obj ) : bool
Deserialize ( string input, HardwareItemDescription &obj, Exception &exception ) : bool

Deserializes workflow markup into an HardwareItemDescription object

FindDoument ( String guid ) : Document
HasDoument ( String guid ) : bool
LoadFromFile ( string fileName ) : HardwareItemDescription
LoadFromFile ( string fileName, HardwareItemDescription &obj ) : bool
LoadFromFile ( string fileName, HardwareItemDescription &obj, Exception &exception ) : bool

Deserializes xml markup from file into an HardwareItemDescription object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current HardwareItemDescription object into file

SaveToFile ( string fileName ) : void
Serialize ( ) : string

Serializes current HardwareItemDescription object into an XML string

ShouldSerializeCalibrationRequirements ( ) : bool

Test whether CalibrationRequirements should be serialized

ShouldSerializeComponents ( ) : bool

Test whether Components should be serialized

ShouldSerializeConfigurationOptions ( ) : bool

Test whether ConfigurationOptions should be serialized

ShouldSerializeDocumentation ( ) : bool

Test whether Documentation should be serialized

ShouldSerializeErrors ( ) : bool

Test whether Errors should be serialized

ShouldSerializeFactoryDefaults ( ) : bool

Test whether FactoryDefaults should be serialized

ShouldSerializeInterface ( ) : bool

Test whether Interface should be serialized

ShouldSerializeNetworkList ( ) : bool

Test whether NetworkList should be serialized

ShouldSerializeParentComponents ( ) : bool

Test whether ParentComponents should be serialized

ShouldSerializePowerRequirements ( ) : bool

Test whether PowerRequirements should be serialized

Method Details

AddDocument() public méthode

public AddDocument ( Document document ) : void
document ATMLModelLibrary.model.common.Document
Résultat void

Deserialize() public static méthode

public static Deserialize ( Stream s ) : HardwareItemDescription
s Stream
Résultat HardwareItemDescription

Deserialize() public static méthode

public static Deserialize ( string input ) : HardwareItemDescription
input string
Résultat HardwareItemDescription

Deserialize() public static méthode

public static Deserialize ( string input, HardwareItemDescription &obj ) : bool
input string
obj HardwareItemDescription
Résultat bool

Deserialize() public static méthode

Deserializes workflow markup into an HardwareItemDescription object
public static Deserialize ( string input, HardwareItemDescription &obj, Exception &exception ) : bool
input string string workflow markup to deserialize
obj HardwareItemDescription Output HardwareItemDescription object
exception System.Exception output Exception value if deserialize failed
Résultat bool

FindDoument() public méthode

public FindDoument ( String guid ) : Document
guid String
Résultat ATMLModelLibrary.model.common.Document

HasDoument() public méthode

public HasDoument ( String guid ) : bool
guid String
Résultat bool

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName ) : HardwareItemDescription
fileName string
Résultat HardwareItemDescription

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName, HardwareItemDescription &obj ) : bool
fileName string
obj HardwareItemDescription
Résultat bool

LoadFromFile() public static méthode

Deserializes xml markup from file into an HardwareItemDescription object
public static LoadFromFile ( string fileName, HardwareItemDescription &obj, Exception &exception ) : bool
fileName string string xml file to load and deserialize
obj HardwareItemDescription Output HardwareItemDescription object
exception System.Exception output Exception value if deserialize failed
Résultat bool

SaveToFile() public méthode

Serializes current HardwareItemDescription object into file
public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string full path of outupt xml file
exception System.Exception output Exception value if failed
Résultat bool

SaveToFile() public méthode

public SaveToFile ( string fileName ) : void
fileName string
Résultat void

Serialize() public méthode

Serializes current HardwareItemDescription object into an XML string
public Serialize ( ) : string
Résultat string

ShouldSerializeCalibrationRequirements() public méthode

Test whether CalibrationRequirements should be serialized
public ShouldSerializeCalibrationRequirements ( ) : bool
Résultat bool

ShouldSerializeComponents() public méthode

Test whether Components should be serialized
public ShouldSerializeComponents ( ) : bool
Résultat bool

ShouldSerializeConfigurationOptions() public méthode

Test whether ConfigurationOptions should be serialized
public ShouldSerializeConfigurationOptions ( ) : bool
Résultat bool

ShouldSerializeDocumentation() public méthode

Test whether Documentation should be serialized
public ShouldSerializeDocumentation ( ) : bool
Résultat bool

ShouldSerializeErrors() public méthode

Test whether Errors should be serialized
public ShouldSerializeErrors ( ) : bool
Résultat bool

ShouldSerializeFactoryDefaults() public méthode

Test whether FactoryDefaults should be serialized
public ShouldSerializeFactoryDefaults ( ) : bool
Résultat bool

ShouldSerializeInterface() public méthode

Test whether Interface should be serialized
public ShouldSerializeInterface ( ) : bool
Résultat bool

ShouldSerializeNetworkList() public méthode

Test whether NetworkList should be serialized
public ShouldSerializeNetworkList ( ) : bool
Résultat bool

ShouldSerializeParentComponents() public méthode

Test whether ParentComponents should be serialized
public ShouldSerializeParentComponents ( ) : bool
Résultat bool

ShouldSerializePowerRequirements() public méthode

Test whether PowerRequirements should be serialized
public ShouldSerializePowerRequirements ( ) : bool
Résultat bool