Class ConnectorFactory
Provides abstraction for creation of Connector and value types (tags) for twin connector.
Inherited Members
Namespace: AXSharp.Connector
Assembly: AXSharp.Connector.dll
Syntax
public abstract class ConnectorFactory
Methods
| Edit this page View SourceCreateBOOL()
Creates bool empty tag of a value type BOOL;
Declaration
public static OnlinerBool CreateBOOL()
Returns
Type | Description |
---|---|
OnlinerBool |
CreateBOOL(ITwinObject, string, string)
Creates bool tag of a value type BOOL;
Declaration
public abstract OnlinerBool CreateBOOL(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerBool | New instance of OnlinerBool |
CreateBYTE()
Creates byte empty tag of a value type BYTE;
Declaration
public static OnlinerByte CreateBYTE()
Returns
Type | Description |
---|---|
OnlinerByte |
CreateBYTE(ITwinObject, string, string)
Creates byte tag of a value type BYTE;
Declaration
public abstract OnlinerByte CreateBYTE(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerByte | New instance of OnlinerByte |
CreateCHAR()
Creates char empty tag of a value type WCHAR;
Declaration
public static OnlinerChar CreateCHAR()
Returns
Type | Description |
---|---|
OnlinerChar |
CreateCHAR(ITwinObject, string, string)
Creates char tag of a value type CHAR;
Declaration
public abstract OnlinerChar CreateCHAR(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerChar | New instance of OnlinerChar |
CreateConnector(object[])
Creates new instance of connector.
Declaration
public abstract Connector CreateConnector(object[] parameters)
Parameters
Type | Name | Description |
---|---|---|
object[] | parameters | Connector parameters |
Returns
Type | Description |
---|---|
Connector |
Remarks
This class is typically used by the 'ixc' to create value types (tags) for given connector.
CreateDATE()
Creates DateTime empty tag of a value type DATE;
Declaration
public static OnlinerDate CreateDATE()
Returns
Type | Description |
---|---|
OnlinerDate |
CreateDATE(ITwinObject, string, string)
Creates DateTime tag of a value type DATE;
Declaration
public abstract OnlinerDate CreateDATE(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerDate | New instance of OnlinerDate |
CreateDATE_AND_TIME(ITwinObject, string, string)
Creates DateTime tag of a value type DT, DATE_TIME;
Declaration
public abstract OnlinerDateTime CreateDATE_AND_TIME(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerDateTime | New instance of OnlinerDateTime |
CreateDATE_TIME()
Creates DateTime empty tag of a value type DATE_AND_TIME (DT);
Declaration
public static OnlinerDateTime CreateDATE_TIME()
Returns
Type | Description |
---|---|
OnlinerDateTime |
CreateDINT()
Creates int empty tag of a value type DINT;
Declaration
public static OnlinerDInt CreateDINT()
Returns
Type | Description |
---|---|
OnlinerDInt |
CreateDINT(ITwinObject, string, string)
Creates int tag of a value type DINT;
Declaration
public abstract OnlinerDInt CreateDINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerDInt | New instance of OnlinerDInt |
CreateDWORD()
Creates uint empty tag of a value type DWORD;
Declaration
public static OnlinerDWord CreateDWORD()
Returns
Type | Description |
---|---|
OnlinerDWord |
CreateDWORD(ITwinObject, string, string)
Creates uint tag of a value type DWORD;
Declaration
public abstract OnlinerDWord CreateDWORD(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerDWord | New instance of OnlinerDWord |
CreateINT()
Creates short empty tag of a value type INT;
Declaration
public static OnlinerInt CreateINT()
Returns
Type | Description |
---|---|
OnlinerInt |
CreateINT(ITwinObject, string, string)
Creates short tag of a value type INT;
Declaration
public abstract OnlinerInt CreateINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerInt | New instance of OnlinerInt |
CreateLDATE()
Creates DateOnly empty tag of a value type WCHAR;
Declaration
public static OnlinerDate CreateLDATE()
Returns
Type | Description |
---|---|
OnlinerDate |
CreateLDATE(ITwinObject, string, string)
Creates DateOnly tag of a value type LDATE;
Declaration
public abstract OnlinerDate CreateLDATE(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerDate | New instance of OnlinerDate |
CreateLDATE_AND_TIME()
Creates DateTime empty tag of a value type WCHAR;
Declaration
public static OnlinerLDateTime CreateLDATE_AND_TIME()
Returns
Type | Description |
---|---|
OnlinerLDateTime |
CreateLDATE_AND_TIME(ITwinObject, string, string)
Creates TimeSpan tag of a value type LDATE_AND_TIME;
Declaration
public abstract OnlinerLDateTime CreateLDATE_AND_TIME(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerLDateTime | New instance of OnlinerLDateTime |
CreateLINT()
Creates long empty tag of a value type LINT;
Declaration
public static OnlinerLInt CreateLINT()
Returns
Type | Description |
---|---|
OnlinerLInt |
CreateLINT(ITwinObject, string, string)
Creates long tag of a value type LINT;
Declaration
public abstract OnlinerLInt CreateLINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerLInt | New instance of OnlinerLInt |
CreateLREAL()
Creates double empty tag of a value type LREAL;
Declaration
public static OnlinerLReal CreateLREAL()
Returns
Type | Description |
---|---|
OnlinerLReal |
CreateLREAL(ITwinObject, string, string)
Creates double tag of a value type LREAL;
Declaration
public abstract OnlinerLReal CreateLREAL(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerLReal | New instance of OnlinerLReal |
CreateLTIME()
Creates TimeSpan empty tag of a value type LTIME;
Declaration
public static OnlinerLTime CreateLTIME()
Returns
Type | Description |
---|---|
OnlinerLTime |
CreateLTIME(ITwinObject, string, string)
Creates TimeSpan tag of a value type LTIME;
Declaration
public abstract OnlinerLTime CreateLTIME(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerLTime | New instance of OnlinerLTime |
CreateLTIME_OF_DAY()
Creates TimeOnly empty tag of a value type WCHAR;
Declaration
public static OnlinerLTimeOfDay CreateLTIME_OF_DAY()
Returns
Type | Description |
---|---|
OnlinerLTimeOfDay |
CreateLTIME_OF_DAY(ITwinObject, string, string)
Creates TimeSpan tag of a value type LTIME_OF_DAY;
Declaration
public abstract OnlinerLTimeOfDay CreateLTIME_OF_DAY(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerLTimeOfDay | New instance of OnlinerLTimeOfDay |
CreateLWORD()
Creates ulong empty tag of a value type LWORD;
Declaration
public static OnlinerLWord CreateLWORD()
Returns
Type | Description |
---|---|
OnlinerLWord |
CreateLWORD(ITwinObject, string, string)
Creates ulong tag of a value type DWORD;
Declaration
public abstract OnlinerLWord CreateLWORD(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerLWord | New instance of OnlinerLWord |
CreateREAL()
Creates float empty tag of a value type REAL;
Declaration
public static OnlinerReal CreateREAL()
Returns
Type | Description |
---|---|
OnlinerReal |
CreateREAL(ITwinObject, string, string)
Creates float tag of a value type REAL;
Declaration
public abstract OnlinerReal CreateREAL(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerReal | New instance of OnlinerReal |
CreateSINT()
Creates sbyte empty tag of a value type SINT;
Declaration
public static OnlinerSInt CreateSINT()
Returns
Type | Description |
---|---|
OnlinerSInt |
CreateSINT(ITwinObject, string, string)
Creates sbyte tag of a value type SINT;
Declaration
public abstract OnlinerSInt CreateSINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerSInt | New instance of OnlinerSInt |
CreateSTRING()
Creates string empty tag of a value type STRING;
Declaration
public static OnlinerString CreateSTRING()
Returns
Type | Description |
---|---|
OnlinerString |
CreateSTRING(ITwinObject, string, string)
Creates string tag of a value type STRING;
Declaration
public abstract OnlinerString CreateSTRING(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerString | New instance of OnlinerString |
CreateTIME()
Creates TimeSpan empty tag of a value type TIME;
Declaration
public static OnlinerTime CreateTIME()
Returns
Type | Description |
---|---|
OnlinerTime |
CreateTIME(ITwinObject, string, string)
Creates TimeSpan tag of a value type TIME;
Declaration
public abstract OnlinerTime CreateTIME(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerTime | New instance of OnlinerTime |
CreateTIME_OF_DAY()
Creates TimeSpan empty tag of a value type TIME_OF_DAY;
Declaration
public static OnlinerTimeOfDay CreateTIME_OF_DAY()
Returns
Type | Description |
---|---|
OnlinerTimeOfDay |
CreateTIME_OF_DAY(ITwinObject, string, string)
Creates TimeSpan tag of a value type TOD (Time of day);
Declaration
public abstract OnlinerTimeOfDay CreateTIME_OF_DAY(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerTimeOfDay | New instance of OnlinerTimeOfDay |
CreateUDINT()
Creates uint empty tag of a value type UDINT;
Declaration
public static OnlinerUDInt CreateUDINT()
Returns
Type | Description |
---|---|
OnlinerUDInt |
CreateUDINT(ITwinObject, string, string)
Creates uint tag of a value type UDINT;
Declaration
public abstract OnlinerUDInt CreateUDINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerUDInt | New instance of OnlinerUDInt |
CreateUINT()
Creates ushort empty tag of a value type UINT;
Declaration
public static OnlinerUInt CreateUINT()
Returns
Type | Description |
---|---|
OnlinerUInt |
CreateUINT(ITwinObject, string, string)
Creates ushort tag of a value type UINT;
Declaration
public abstract OnlinerUInt CreateUINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerUInt | New instance of OnlinerUInt |
CreateULINT()
Creates ulong empty tag of a value type ULINT;
Declaration
public static OnlinerULInt CreateULINT()
Returns
Type | Description |
---|---|
OnlinerULInt |
CreateULINT(ITwinObject, string, string)
Creates ulong tag of a value type ULINT;
Declaration
public abstract OnlinerULInt CreateULINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerULInt | New instance of OnlinerULInt |
CreateUSINT()
Creates byte empty tag of a value type USINT;
Declaration
public static OnlinerUSInt CreateUSINT()
Returns
Type | Description |
---|---|
OnlinerUSInt |
CreateUSINT(ITwinObject, string, string)
Creates byte tag of a value type USINT;
Declaration
public abstract OnlinerUSInt CreateUSINT(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerUSInt | New instance of OnlinerUSInt |
CreateWCHAR()
Creates char empty tag of a value type WCHAR;
Declaration
public static OnlinerWChar CreateWCHAR()
Returns
Type | Description |
---|---|
OnlinerWChar |
CreateWCHAR(ITwinObject, string, string)
Creates char tag of a value type WCHAR;
Declaration
public abstract OnlinerWChar CreateWCHAR(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerWChar | New instance of OnlinerWChar |
CreateWORD()
Creates ushort empty tag of a value type WORD;
Declaration
public static OnlinerWord CreateWORD()
Returns
Type | Description |
---|---|
OnlinerWord |
CreateWORD(ITwinObject, string, string)
Creates ushort tag of a value type WORD;
Declaration
public abstract OnlinerWord CreateWORD(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerWord | New instance of OnlinerWord |
CreateWSTRING()
Creates string empty tag of a value type WSTRING;
Declaration
public static OnlinerWString CreateWSTRING()
Returns
Type | Description |
---|---|
OnlinerWString |
CreateWSTRING(ITwinObject, string, string)
Creates string tag of a value type WSTRING;
Declaration
public abstract OnlinerWString CreateWSTRING(ITwinObject parent, string readableTail, string symbolTail)
Parameters
Type | Name | Description |
---|---|---|
ITwinObject | parent | Parent object of ITwinObject type. |
string | readableTail | Human readable tail of this value tag. |
string | symbolTail | Symbol tail of this value tag. |
Returns
Type | Description |
---|---|
OnlinerWString | New instance of OnlinerWString |