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 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 SetNumeric(this IRtConnector conn, string topic, double value, IRtTagOptions options = null) { return(conn.WriteValue(topic, RtValue.Create(value), options)); }