|
@@ -119,12 +119,13 @@ namespace Venus_RT.Modules.VCE
|
|
|
public bool CassetteArrive => _CassetteArrive;
|
|
|
|
|
|
public int CurrentSlot => _vce.CurrentSlot;
|
|
|
+ public int MoveSlot => moveSlot;
|
|
|
|
|
|
public VCEModuleBase VCEDevice => _vce;
|
|
|
|
|
|
-
|
|
|
//public int CurrentSlot => currentSlot;
|
|
|
- private int targetSlot;
|
|
|
+ private int targetSlot = -1;
|
|
|
+ private int moveSlot = -1;
|
|
|
private VCEHomeRoutine _homeRoutine;
|
|
|
private LoadRoutine _loadRoutine;
|
|
|
private LoadPrepareRoutine _prepareRoutine;
|
|
@@ -403,6 +404,10 @@ namespace Venus_RT.Modules.VCE
|
|
|
PostMsg(VceMSG.Error);
|
|
|
return false;
|
|
|
}
|
|
|
+ if (_vce.Status == RState.End)
|
|
|
+ {
|
|
|
+ moveSlot = -1;
|
|
|
+ }
|
|
|
return _vce.Status == RState.End;
|
|
|
}
|
|
|
|
|
@@ -627,7 +632,10 @@ namespace Venus_RT.Modules.VCE
|
|
|
PostMsg(VceMSG.Error);
|
|
|
return false;
|
|
|
}
|
|
|
-
|
|
|
+ if (_vce.Status == RState.End)
|
|
|
+ {
|
|
|
+ moveSlot = targetSlot;
|
|
|
+ }
|
|
|
return _vce.Status == RState.End;
|
|
|
}
|
|
|
|
|
@@ -649,6 +657,11 @@ namespace Venus_RT.Modules.VCE
|
|
|
PostMsg(VceMSG.Error);
|
|
|
return false;
|
|
|
}
|
|
|
+ if (ret == RState.End)
|
|
|
+ {
|
|
|
+ moveSlot = -1;
|
|
|
+ }
|
|
|
+
|
|
|
return ret == RState.End;
|
|
|
}
|
|
|
|