libplctag.NativeTagWrapper Class Reference
Inheritance diagram for libplctag.NativeTagWrapper:

Public Member Functions

 NativeTagWrapper (INativeTag nativeMethods)
 
void Dispose ()
 
void Abort ()
 
void Initialize ()
 
async Task InitializeAsync (CancellationToken token=default)
 
void Read ()
 
async Task ReadAsync (CancellationToken token=default)
 
void Write ()
 
async Task WriteAsync (CancellationToken token=default)
 
int GetSize ()
 
void SetSize (int newSize)
 
Status GetStatus ()
 
byte [] GetBuffer ()
 
bool GetBit (int offset)
 
void SetBit (int offset, bool value)
 
ulong GetUInt64 (int offset)
 
void SetUInt64 (int offset, ulong value)
 
long GetInt64 (int offset)
 
void SetInt64 (int offset, long value)
 
uint GetUInt32 (int offset)
 
void SetUInt32 (int offset, uint value)
 
int GetInt32 (int offset)
 
void SetInt32 (int offset, int value)
 
ushort GetUInt16 (int offset)
 
void SetUInt16 (int offset, ushort value)
 
short GetInt16 (int offset)
 
void SetInt16 (int offset, short value)
 
byte GetUInt8 (int offset)
 
void SetUInt8 (int offset, byte value)
 
sbyte GetInt8 (int offset)
 
void SetInt8 (int offset, sbyte value)
 
double GetFloat64 (int offset)
 
void SetFloat64 (int offset, double value)
 
float GetFloat32 (int offset)
 
void SetFloat32 (int offset, float value)
 
void SetString (int offset, string value)
 
int GetStringLength (int offset)
 
int GetStringCapacity (int offset)
 
int GetStringTotalLength (int offset)
 
string GetString (int offset)
 

Public Attributes

bool IsInitialized => _isInitialized
 

Properties

string Name [get, set]
 
ProtocolProtocol [get, set]
 
string Gateway [get, set]
 
PlcTypePlcType [get, set]
 
string Path [get, set]
 
int? ElementSize [get, set]
 
int? ElementCount [get, set]
 
bool? UseConnectedMessaging [get, set]
 
int? ReadCacheMillisecondDuration [get, set]
 
TimeSpan Timeout [get, set]
 
TimeSpan? AutoSyncReadInterval [get, set]
 
TimeSpan? AutoSyncWriteInterval [get, set]
 
DebugLevel DebugLevel [get, set]
 
string Int16ByteOrder [get, set]
 
string Int32ByteOrder [get, set]
 
string Int64ByteOrder [get, set]
 
string Float32ByteOrder [get, set]
 
string Float64ByteOrder [get, set]
 
uint? StringCountWordBytes [get, set]
 
bool? StringIsByteSwapped [get, set]
 
bool? StringIsCounted [get, set]
 
bool? StringIsFixedLength [get, set]
 
bool? StringIsZeroTerminated [get, set]
 
uint? StringMaxCapacity [get, set]
 
uint? StringPadBytes [get, set]
 
uint? StringTotalLength [get, set]
 

Events

EventHandler< TagEventArgsReadStarted
 
EventHandler< TagEventArgsReadCompleted
 
EventHandler< TagEventArgsWriteStarted
 
EventHandler< TagEventArgsWriteCompleted
 
EventHandler< TagEventArgsAborted
 
EventHandler< TagEventArgsDestroyed