|
|
@ -267,7 +267,7 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR
|
|
|
|
DateFormatString = "yyyy-MM-dd HH:mm:ss",
|
|
|
|
DateFormatString = "yyyy-MM-dd HH:mm:ss",
|
|
|
|
NullValueHandling = NullValueHandling.Ignore
|
|
|
|
NullValueHandling = NullValueHandling.Ignore
|
|
|
|
};
|
|
|
|
};
|
|
|
|
Log.Info(JsonConvert.SerializeObject(model, settings));
|
|
|
|
Log.Info($"send {JsonConvert.SerializeObject(model, settings)}");
|
|
|
|
var appMsg = new MqttApplicationMessage
|
|
|
|
var appMsg = new MqttApplicationMessage
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Topic = PubTopic,
|
|
|
|
Topic = PubTopic,
|
|
|
|