C# Class ATMLModelLibrary.model.equipment.InstrumentDescription

Inheritance: HardwareItemDescription
Afficher le fichier Open project: UtrsSoftware/ATMLWorkBench Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Deserialize ( Stream s ) : InstrumentDescription
Deserialize ( string input ) : InstrumentDescription
Deserialize ( string input, InstrumentDescription &obj ) : bool
Deserialize ( string input, InstrumentDescription &obj, Exception &exception ) : bool

Deserializes workflow markup into an InstrumentDescription object

GetAtmlDocumentType ( ) : dbDocument.DocumentType
GetAtmlFileContext ( ) : string
GetAtmlFileDescription ( ) : string
GetAtmlFileName ( ) : string
GetAtmlFileType ( ) : AtmlFileType
GetAtmlId ( ) : string
GetAtmlName ( ) : string
IsDeleted ( bool deleted = null ) : bool
LoadFromFile ( string fileName ) : InstrumentDescription
LoadFromFile ( string fileName, InstrumentDescription &obj ) : bool
LoadFromFile ( string fileName, InstrumentDescription &obj, Exception &exception ) : bool

Deserializes xml markup from file into an InstrumentDescription object

SaveToFile ( string fileName, Exception &exception ) : bool

Serializes current InstrumentDescription object into file

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

Serializes current InstrumentDescription object into an XML string

ShouldSerializeBuses ( ) : bool

Test whether Buses should be serialized

ShouldSerializePaths ( ) : bool

Test whether Paths should be serialized

ShouldSerializePowerOnDefaults ( ) : bool

Test whether PowerOnDefaults should be serialized

ShouldSerializeResources ( ) : bool

Test whether Resources should be serialized

Validate ( SchemaValidationResult errors ) : bool

Method Details

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

Deserialize() public static méthode

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

GetAtmlDocumentType() public méthode

public GetAtmlDocumentType ( ) : dbDocument.DocumentType
Résultat dbDocument.DocumentType

GetAtmlFileContext() public méthode

public GetAtmlFileContext ( ) : string
Résultat string

GetAtmlFileDescription() public méthode

public GetAtmlFileDescription ( ) : string
Résultat string

GetAtmlFileName() public méthode

public GetAtmlFileName ( ) : string
Résultat string

GetAtmlFileType() public méthode

public GetAtmlFileType ( ) : AtmlFileType
Résultat AtmlFileType

GetAtmlId() public méthode

public GetAtmlId ( ) : string
Résultat string

GetAtmlName() public méthode

public GetAtmlName ( ) : string
Résultat string

IsDeleted() public méthode

public IsDeleted ( bool deleted = null ) : bool
deleted bool
Résultat bool

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

LoadFromFile() public static méthode

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

SaveToFile() public méthode

Serializes current InstrumentDescription object into file
public SaveToFile ( string fileName, Exception &exception ) : bool
fileName string full path of outupt xml file
exception 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 InstrumentDescription object into an XML string
public Serialize ( ) : string
Résultat string

ShouldSerializeBuses() public méthode

Test whether Buses should be serialized
public ShouldSerializeBuses ( ) : bool
Résultat bool

ShouldSerializePaths() public méthode

Test whether Paths should be serialized
public ShouldSerializePaths ( ) : bool
Résultat bool

ShouldSerializePowerOnDefaults() public méthode

Test whether PowerOnDefaults should be serialized
public ShouldSerializePowerOnDefaults ( ) : bool
Résultat bool

ShouldSerializeResources() public méthode

Test whether Resources should be serialized
public ShouldSerializeResources ( ) : bool
Résultat bool

Validate() public méthode

public Validate ( SchemaValidationResult errors ) : bool
errors SchemaValidationResult
Résultat bool