|
|
|
@ -16,10 +16,9 @@ import { I2DModeling, I3DContourData, I3DModeling, IDrillingOption, IHardwareTyp
|
|
|
|
|
import { EMetalsType } from "../../UI/Components/RightPanel/RightPanelInterface";
|
|
|
|
|
import { BoardOpenDir, FaceDirection, ISealingData, LinesType } from "../../UI/Store/BoardInterface";
|
|
|
|
|
// import { DownPanelStore } from "../../UI/Store/DownPanelStore";
|
|
|
|
|
import { Intent } from "@blueprintjs/core";
|
|
|
|
|
import { InteractionLog, LogType } from "../../Common/Log";
|
|
|
|
|
import { Intent, Toaster } from "../../Common/Toaster";
|
|
|
|
|
import { userConfig } from "../../Editor/UserConfig";
|
|
|
|
|
import { AppToaster } from "../../UI/Components/Toaster";
|
|
|
|
|
import { GetCountOption, ICountType, lookOverBoardInfosTool } from "../LookOverBoardInfos/LookOverBoardInfosTool";
|
|
|
|
|
import { HardwareCompositeEntity } from './../../DatabaseServices/Hardware/HardwareCompositeEntity';
|
|
|
|
|
import { ProcessingGroupRecord } from './../../DatabaseServices/ProcessingGroup/ProcessingGroupRecord';
|
|
|
|
@ -220,15 +219,14 @@ export class ErpParseData
|
|
|
|
|
// 提示大孔面错误
|
|
|
|
|
if (holeFaceErrorBoards.size)
|
|
|
|
|
{
|
|
|
|
|
AppToaster.show({
|
|
|
|
|
Toaster({
|
|
|
|
|
message: "部分板件的排钻大孔面异常(排钻的大孔面与板的大孔面相反)!详情见左下角日志!",
|
|
|
|
|
timeout: 5000,
|
|
|
|
|
intent: Intent.DANGER,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
for (let board of holeFaceErrorBoards)
|
|
|
|
|
{
|
|
|
|
|
InteractionLog([{ msg: `板件:${board.Name}`, entity: [board] }, { msg: "大孔面相反!" }], LogType.Error);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//进度条代码
|
|
|
|
|