public static bool SetBinary(this IRtTag tag, byte[] value)
 {
     return(tag.Set(RtValue.Create(value)));
 }
 public static bool SetText(this IRtTag tag, string value)
 {
     return(tag.Set(RtValue.Create(value)));
 }
 public static bool SetNumeric(this IRtTag tag, double value)
 {
     return(tag.Set(RtValue.Create(value)));
 }
 public static bool SetJson <T>(this IRtConnector conn, string topic, T json, IRtTagOptions options = null)
 {
     return(conn.WriteValue(topic, RtValue.Create(JsonSerializer.Serialize(json)), options));
 }
 public static bool SetBinary(this IRtConnector conn, string topic, byte[] value, IRtTagOptions options = null)
 {
     return(conn.WriteValue(topic, RtValue.Create(value), options));
 }
 public static bool SetNumeric(this IRtConnector conn, string topic, double value, IRtTagOptions options = null)
 {
     return(conn.WriteValue(topic, RtValue.Create(value), options));
 }