Compare commits

...

4 Commits

Author SHA1 Message Date
1d84eb0d35 feat:提交 2025-08-22 18:20:45 +08:00
0e107da21b Merge branch 'main' of http://gitea.cf/MES-FE/cut-abstractions 2025-08-22 18:15:47 +08:00
edc1188a2b 更新版本号 2025-08-22 10:24:15 +08:00
8df9f5d17a 修改开料顺序入参字段boardHeight=》boardLength (#16)
Reviewed-on: #16
Co-authored-by: lixiang <504331699@qq.com>
Co-committed-by: lixiang <504331699@qq.com>
2025-08-22 10:20:56 +08:00
3 changed files with 11 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "cut-abstractions", "name": "cut-abstractions",
"version": "0.3.3", "version": "0.3.4",
"description": "", "description": "",
"files": [ "files": [
"dist/**/*" "dist/**/*"

View File

@@ -10,7 +10,7 @@ import { ConfigBase } from "../config";
* *
* 注20250730 暂无配置 留个位置 * 注20250730 暂无配置 留个位置
*/ */
export class CutorderConfig extends ConfigBase { export class CutOrderConfig extends ConfigBase {
// [key:string] : any // [key:string] : any
} }
@@ -25,19 +25,19 @@ export type CutOrderInput = {
/** 刀头大小(含修边) */ /** 刀头大小(含修边) */
gap: number, gap: number,
/** 小板数据集合 */ /** 小板数据集合 */
blocks: CutorderInputBlock[] blocks: CutOrderInputBlock[]
} }
/** /**
* 处理器输出数据 开料顺序(新) * 处理器输出数据 开料顺序(新)
*/ */
export type CutorderOutput = { export type CutOrderOutput = {
blocks: CutorderoutputBlock[] blocks: CutOrderoutputBlock[]
} }
/** /**
* 小板类型 输入 * 小板类型 输入
*/ */
export type CutorderInputBlock = { export type CutOrderInputBlock = {
/** 小板唯一标识 */ /** 小板唯一标识 */
id: string | number, id: string | number,
/** 排版长 */ /** 排版长 */
@@ -52,6 +52,6 @@ export type CutorderInputBlock = {
/** /**
* 小板类型 输出 * 小板类型 输出
*/ */
export type CutorderoutputBlock = CutorderInputBlock & { export type CutOrderoutputBlock = CutOrderInputBlock & {
cutOrder: number CutOrder: number
} }

View File

@@ -17,9 +17,10 @@ export type HoleToModelOutput = {
/** 孔转造型 后的 造型数据 */ /** 孔转造型 后的 造型数据 */
modelData: HoleToModelProcessingItem[], modelData: HoleToModelProcessingItem[],
/** 未处理的孔数据 以及信息 */ /** 未处理的孔数据 以及信息 */
noHandleItem: noHandleItemType[] noHandleItem: NoHandleItemType[]
} }
export type noHandleItemType = { /** 孔转造型 未处理的数据 */
export type NoHandleItemType = {
/** 未处理的孔信息 */ /** 未处理的孔信息 */
holeData: HoleToModelProcessingItem, holeData: HoleToModelProcessingItem,
/** 未处理 说明 */ /** 未处理 说明 */