소스 검색

feat(types): 机型名称

vian 5 년 전
부모
커밋
d7435c0e0b
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      types/src/interface/glj.ts

+ 8 - 0
types/src/interface/glj.ts

@@ -153,6 +153,14 @@ export enum GljModel {
   SMALL,
 }
 
+// 机型名称映射
+export const GljModelName = {
+  1: '特大',
+  2: '大',
+  3: '中',
+  4: '小',
+};
+
 export interface IProjectGlj {
   ID: string;
   gljID: string; // 工料机ID