Class Cfg10Writer
Writes the cfg v1 format to a stream.
Implements
Inherited Members
Namespace: ABB.Robotics.Controllers.Configuration
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class Cfg10Writer : Writer, IDisposable
Constructors
Cfg10Writer(Stream)
Initializes the writer object with a stream.
Declaration
public Cfg10Writer(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
Cfg10Writer(Stream, Int32)
Initializes the writer object with a stream and the max number of characters for each row.
Declaration
public Cfg10Writer(Stream stream, int MaxCharRow)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | The stream. |
Int32 | MaxCharRow | Number of characters per row |
Methods
Dispose(Boolean)
Disposes the current writer object.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |
Overrides
Flush()
Flushes the writer object.
Declaration
public override void Flush()
Overrides
WriteAttribute(String, String)
Writes an attribute.
Declaration
public override void WriteAttribute(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name. |
String | value | The value. |
Overrides
WriteEndInstance()
Writes the end of an instance.
Declaration
public override void WriteEndInstance()
Overrides
WriteEndType()
Writes the end of a the type.
Declaration
public override void WriteEndType()
Overrides
WriteHeader(String, String, String, String)
Writes a cfg header.
Declaration
public override void WriteHeader(string domain, string cfgVersion, string ctrlHighVersion, string ctrlLowVersion)
Parameters
Type | Name | Description |
---|---|---|
String | domain | Domain. |
String | cfgVersion | Version. |
String | ctrlHighVersion | Controller version high. |
String | ctrlLowVersion | Controller version low. |
Overrides
WriteProperties(String)
Writes Properties.
Declaration
public override void WriteProperties(string properties)
Parameters
Type | Name | Description |
---|---|---|
String | properties | The properties/header comments of the file. |
Overrides
WriteStartInstance()
Writes the start of an instance.
Declaration
public override void WriteStartInstance()
Overrides
WriteStartType(String, String)
Writes the start of a type.
Declaration
public override void WriteStartType(string name, string alias)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name. |
String | alias | The alias, optional. |