feat: 提交
This commit is contained in:
@@ -22,7 +22,6 @@ export class CutPointProc extends ProcessorBase<CutPointInput, CutPointOutput, C
|
|||||||
exec(context: ProcessorContext<CutPointInput, CutPointOutput, CutPointConfig>): Promise<void> | void {
|
exec(context: ProcessorContext<CutPointInput, CutPointOutput, CutPointConfig>): Promise<void> | void {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
this.lines_H = []; //开料水平线
|
this.lines_H = []; //开料水平线
|
||||||
this.lines_V = []; //开料垂直线
|
this.lines_V = []; //开料垂直线
|
||||||
if (Array.isArray(context.input?.boardPointInfo?.pts) && context.input?.boardPointInfo?.pts?.length > 0) {
|
if (Array.isArray(context.input?.boardPointInfo?.pts) && context.input?.boardPointInfo?.pts?.length > 0) {
|
||||||
|
Reference in New Issue
Block a user