同步五轴仿真文档和验证证据
This commit is contained in:
@@ -199,8 +199,16 @@ async function verifyRunReadySequence({ profileId, sourceRel }) {
|
||||
assert.notEqual(state.operatorMessage, "run blocked: home machine first");
|
||||
assert.equal(state.machine.allHomed, true);
|
||||
|
||||
const activeLineBeforeStop = state.activeLine;
|
||||
store.dispatch({ type: "STOP" });
|
||||
await waitForTaskHalCommand(store);
|
||||
await new Promise((resolve) => setTimeout(resolve, 120));
|
||||
state = store.getState();
|
||||
assert.equal(state.taskHalStatusLoop.active, false);
|
||||
assert.equal(state.runState, "stopped");
|
||||
assert.equal(state.machine.interpState, "idle");
|
||||
assert.equal(state.feed.currentVelocity, 0);
|
||||
assert.equal(state.activeLine, activeLineBeforeStop);
|
||||
}
|
||||
|
||||
async function waitForTaskHalCommand(store) {
|
||||
|
||||
Reference in New Issue
Block a user