This commit is contained in:
GukSang.Jin
2026-04-11 19:18:16 +08:00
parent 4cd5ce8a2e
commit e8245379f6

View File

@@ -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);
}