ReSharper: - FrmFwUpdate

This commit is contained in:
Thomas Wiedebusch
2022-09-22 10:28:12 +02:00
parent f96f98c34b
commit be78f16ead
3 changed files with 20 additions and 18 deletions
@@ -17,6 +17,7 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.Registers
public static Byte[] ConvertFrom<T>(T value)
{
var converted = new Byte[] {0};
if (value == null) return converted;
if (value is UInt16)
{
var tmp = Convert.ToUInt16(value);