value property
int
value
Implementation
int get value {
switch (this) {
case UpdateError.OldFirmware:
return 0;
case UpdateError.CrcError:
return 1;
case UpdateError.Stopped:
return 2;
case UpdateError.Fail:
return 3;
case UpdateError.UnknownResponse:
return 4;
case UpdateError.DownloadFail:
return 5;
}
}