/// <inheritdoc /> public override string ToString() { var build = new StringBuilder(); build.AppendLine($"Vendor Code: {BitConverter.ToString(VendorCode.ToArray())}"); build.AppendLine($" Data: {BitConverter.ToString(Data.ToArray())}"); return(build.ToString()); }
public override string ToString() { var build = new StringBuilder(); build.AppendLine($" Vendor Code: {BitConverter.ToString(VendorCode.ToArray())}"); build.AppendLine($" Model Number: {ModelNumber}"); build.AppendLine($" Version: {Version}"); build.AppendLine($" Serial Number: {BitConverter.ToString(Message.ConvertIntToBytes(SerialNumber).ToArray())}"); build.AppendLine($"Firmware Version: {FirmwareMajor}.{FirmwareMinor}.{FirmwareBuild}"); return(build.ToString()); }