|
|
|
@ -18,6 +18,7 @@ import { Intent } from "@blueprintjs/core";
|
|
|
|
|
import { Entity } from "../../DatabaseServices/Entity/Entity";
|
|
|
|
|
import { OrderDataBlock, WaveType } from "./Models/CadBlock";
|
|
|
|
|
import { ExceedMind } from "./ExceedBlocksMind";
|
|
|
|
|
import { userConfig } from "../../Editor/UserConfig";
|
|
|
|
|
export class ChaiDan implements Command
|
|
|
|
|
{
|
|
|
|
|
async exec()
|
|
|
|
@ -173,8 +174,9 @@ export async function GetProductsEntitys()
|
|
|
|
|
metalsList,
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
function checkBlock(blockList: OrderDataBlock[], goods: { length: number, width: number; } = { length: 2440, width: 1220 }): { result: boolean, warnBlocks: OrderDataBlock[], warnMsg: string; }
|
|
|
|
|
function checkBlock(blockList: OrderDataBlock[]): { result: boolean, warnBlocks: OrderDataBlock[], warnMsg: string; }
|
|
|
|
|
{
|
|
|
|
|
let goods = { length: userConfig.maxSize.height, width: userConfig.maxSize.width };
|
|
|
|
|
let msg: string = '';
|
|
|
|
|
let resultBlocks: OrderDataBlock[] = [];
|
|
|
|
|
let lengthdeflashing: number = 6; //长修边
|
|
|
|
|