客户端属性、共享属性上传
This commit is contained in:
parent
ac3ac0c6d2
commit
cc31812695
@ -56,7 +56,7 @@ namespace Plugin
|
|||||||
myMqttClient.UploadAttributeAsync(string.IsNullOrWhiteSpace(deviceVariables.Key)
|
myMqttClient.UploadAttributeAsync(string.IsNullOrWhiteSpace(deviceVariables.Key)
|
||||||
? Device.DeviceName
|
? Device.DeviceName
|
||||||
: deviceVariables.Key,
|
: deviceVariables.Key,
|
||||||
device.DeviceConfigs.Where(x => x.DataSide == DataSide.ClientSide)
|
device.DeviceConfigs.Where(x => x.DataSide == DataSide.ClientSide || x.DataSide == DataSide.AnySide)
|
||||||
.ToDictionary(x => x.DeviceConfigName, x => x.Value));
|
.ToDictionary(x => x.DeviceConfigName, x => x.Value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user