public void ShouldGetVersionsProvidingSystems(ControllerInfo controllerInfo) { var client = MultipleUploaderClient.Create(); string version = client.GetFirmwareVersion(controllerInfo.Ip); _output.WriteLine(controllerInfo.Name + ": Version:" + version); Assert.NotNull(version); Assert.NotEmpty(version); }
private void RunFirmwareUpload(ControllerInfo controllerInfo, string pathToRessorce) { var client = MultipleUploaderClient.Create(); var logfile = new List <string>() { "Start" }; var retryCounter = 0; bool success = false; while (!logfile[^ 1].Contains("[SUCCESS]") && retryCounter < 4)
public void ShouldUpdateFirmwareScaleControllerOLED(ControllerInfo controllerInfo) { RunFirmwareUpload(controllerInfo, @"Y:\motorcontroller\PlatformIO\ScaleControllerOLED"); }
public void ShouldUpdateFirmwareConveyorController(ControllerInfo controllerInfo) { RunFirmwareUpload(controllerInfo, @"Y:\motorcontroller\PlatformIO\ConveyorController"); }
public void ShouldUpdateFirmwareVibrationController(ControllerInfo controllerInfo) { RunFirmwareUpload(controllerInfo, @"Y:\motorcontroller\PlatformIO\V-FeederController"); }
public void ShouldUpdateFirmwareLifterController(ControllerInfo controllerInfo) { RunFirmwareUpload(controllerInfo, @"Y:\motorcontroller\PlatformIO\LifterControllerVNH7070AS"); }