/// <summary>
 /// Set local value Float
 /// </summary>
 /// <param name="value"></param>
 /// <param name="offset"></param>
 public void SetFloat64(double value, int offset = 0)
 {
     NativeLibrary.plc_tag_set_float64(_tag.Handle, offset, value);
 }
 public static string DecodeError(int code)
 {
     return(Marshal.PtrToStringAnsi(NativeLibrary.plc_tag_decode_error(code)));
 }
 /// <summary>
 /// Get local value Float32
 /// </summary>
 /// <param name="offset"></param>
 /// <returns></returns>
 public float GetFloat32(int offset = 0)
 {
     return(NativeLibrary.plc_tag_get_float32(_tag.Handle, offset));
 }
 /// <summary>
 /// Get local value Float
 /// </summary>
 /// <param name="offset"></param>
 /// <returns></returns>
 public double GetFloat64(int offset = 0)
 {
     return(NativeLibrary.plc_tag_get_float64(_tag.Handle, offset));
 }
 /// <summary>
 /// Set local value Int64
 /// </summary>
 /// <param name="value"></param>
 /// <param name="offset"></param>
 public void SetInt64(Int64 value, int offset = 0)
 {
     NativeLibrary.plc_tag_set_int64(_tag.Handle, offset, value);
 }
 /// <summary>
 /// Get local value Int64
 /// </summary>
 /// <param name="offset"></param>
 /// <returns></returns>
 public Int64 GetInt64(int offset = 0)
 {
     return(NativeLibrary.plc_tag_get_int64(_tag.Handle, offset));
 }
 /// <summary>
 /// Set local value UInt32
 /// </summary>
 /// <param name="value"></param>
 /// <param name="offset"></param>
 public void SetUInt32(UInt32 value, int offset = 0)
 {
     NativeLibrary.plc_tag_set_uint32(_tag.Handle, offset, value);
 }
 /// <summary>
 /// Get local value UInt32
 /// </summary>
 /// <param name="offset"></param>
 /// <returns></returns>
 public UInt32 GetUInt32(int offset = 0)
 {
     return(NativeLibrary.plc_tag_get_uint32(_tag.Handle, offset));
 }
 /// <summary>
 /// Get local value Int8
 /// </summary>
 /// <param name="offset"></param>
 /// <returns></returns>
 public sbyte GetInt8(int offset = 0)
 {
     return(NativeLibrary.plc_tag_get_int8(_tag.Handle, offset));
 }