mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-11-29 18:28:09 +08:00
fix: 别名变量写入值
This commit is contained in:
parent
3ed405a476
commit
d4c6d1fec8
@ -301,7 +301,7 @@ namespace Plugin
|
||||
DeviceVariable? deviceVariable;
|
||||
if (e.DeviceName == Device.DeviceName)
|
||||
deviceVariable = Device.DeviceVariables.FirstOrDefault(x =>
|
||||
x.Name == para.Key && string.IsNullOrWhiteSpace(x.Alias));
|
||||
x.Name == para.Key );
|
||||
else
|
||||
deviceVariable = Device.DeviceVariables.FirstOrDefault(x =>
|
||||
x.Name == para.Key && x.Alias == e.DeviceName);
|
||||
|
Loading…
Reference in New Issue
Block a user