更新
This commit is contained in:
@@ -778,7 +778,7 @@ public sealed class ModbusTelemetryService : IModbusTelemetryService, IDisposabl
|
||||
!float.IsNaN(value) && !float.IsInfinity(value) && value is > -1000f and < 1000f;
|
||||
|
||||
private static bool ShouldClampChannelValue(string channelName) =>
|
||||
channelName is not "近端压力" and not "远端压力";
|
||||
channelName is not "近端压力" and not "远端压力";
|
||||
|
||||
private DeviceChannel Channel(string name) => _channels.First(channel => channel.Name == name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user