Skip to content

050 cam approval fix #62

Open
wants to merge 3 commits into
base: Production
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Haas_Lathes_BIDC/Bechtel ST-20.cps
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ staticProperties = {
safeStartAllOperations: true,
useYAxisForDrilling: false,
useG187: false,
postVersion: "BIDC-ST0.G10.K21",
postVersion: "BIDC-ST0-v1.1.0",
};

const MAXTOOLS = 12;
Expand Down Expand Up @@ -2174,6 +2174,7 @@ function onSection() {
}

if (hasParameter("notes") && getParameter("notes").toUpperCase().indexOf("APPROVED") <= -1) {
writeComment("Operation \"" + getParameter("operation-comment") + "\" not approved. See a Peer Mentor.");
throw "Operation \"" + getParameter("operation-comment") + "\" not approved. See a Peer Mentor."
}

Expand Down
3 changes: 2 additions & 1 deletion Haas_Lathes_BIDC/Bechtel ST-20Y.cps
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ staticProperties = {
safeStartAllOperations: true,
useYAxisForDrilling: false,
useG187: false,
postVersion: "BIDC-STY.G11.K21-1"
postVersion: "BIDC-STY-v1.1.0"
};

var permittedCommentChars = " ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,=_-";
Expand Down Expand Up @@ -2279,6 +2279,7 @@ function onSection() {
}

if (hasParameter("notes") && getParameter("notes").toUpperCase().indexOf("APPROVED") <= -1) {
writeComment("Operation \"" + getParameter("operation-comment") + "\" not approved. See a Peer Mentor.");
throw "Operation \"" + getParameter("operation-comment") + "\" not approved. See a Peer Mentor."
}

Expand Down
Loading