public static string GetTIPdInfo(SdkTbtBase controller) { string text = BitConverter.ToInt32(controller.I2CRead(1u, 15u, 4u), 0).ToString("X"); string text2 = text.Insert(text.Length - 2, "."); return(text2.Insert(text2.Length - 5, ".")); }
protected ImageValidator(SdkTbtBase controller, byte[] image, Dictionary <Sections, FwInfo.SectionDetails> controllerSections, Dictionary <Sections, FwInfo.SectionDetails> fileSections, HwInfo hwInfo) { _controller = controller; _image = image; _controllerSections = controllerSections; _fileSections = fileSections; HwInfo = hwInfo; }
internal DeviceImageValidator(SdkTbtBase controller, byte[] image, Dictionary <Sections, FwInfo.SectionDetails> controllerSections, Dictionary <Sections, FwInfo.SectionDetails> fileSections, HwInfo hwInfo) : base(controller, image, controllerSections, fileSections, hwInfo) { }