fix: 20250310

master
Tongg 4 months ago
parent f282a5a16f
commit 466808730b
  1. 14
      ViewModel/Grading/GradingLoadingVM.cs

@ -217,7 +217,11 @@ public class GradingLoadingVM : BaseViewModel,IDisposable
ImageIsEnable = true; ImageIsEnable = true;
StartPlayback(); StartPlayback();
if (_isCancel == true)
{
SOCClientService.Service.OpenPump(false);
return -100;
}
Diamond diamond = new Diamond(); Diamond diamond = new Diamond();
string circleSql = $"SELECT VALUE FROM CUTTER_CONFIG WHERE KEY = 'half_circle'"; string circleSql = $"SELECT VALUE FROM CUTTER_CONFIG WHERE KEY = 'half_circle'";
@ -349,7 +353,13 @@ public class GradingLoadingVM : BaseViewModel,IDisposable
} }
Parameter = parameter; Parameter = parameter;
if (_isCancel == true) return -100; if (_isCancel == true)
{
SOCClientService.Service.OpenPump(false);
return -100;
}
;
if (parameter.status == StatusCodes.Recheck) if (parameter.status == StatusCodes.Recheck)
{ {

Loading…
Cancel
Save