Sfoglia il codice sorgente

Merge branch 'master' of http://192.168.1.41:3000/SmartCost/SCCommon

qinlaiqiao 4 anni fa
parent
commit
7e764c47bc
1 ha cambiato i file con 40 aggiunte e 0 eliminazioni
  1. 40 0
      types/src/interface/compilation.ts

+ 40 - 0
types/src/interface/compilation.ts

@@ -89,6 +89,44 @@ export interface ISubPrice {
   };
 }
 
+interface ISubStructuralSegment {
+  dispName: string;
+  key: string;
+  type: string;
+  subItems?: ISubStructuralSegment[];
+  property?: any;
+}
+
+// 结构分布
+export interface IStructuralSegmentData {
+  monomerType: string;
+  items: ISubStructuralSegment[];
+}
+
+export interface IStructuralSegment {
+  compilationID: string;
+  data: IStructuralSegmentData;
+}
+
+// 单体模板
+interface ISubMonomerTemplate {
+  dispName: string;
+  key: string;
+  monomerType: string;
+  isHaveStructuralSegment: string;
+}
+
+export interface IMonomerTemplateData {
+  dispName: string;
+  key: string;
+  items: ISubMonomerTemplate[];
+}
+
+export interface IMonomerTemplate {
+  compilationID: string;
+  data: IMonomerTemplateData[];
+}
+
 export interface ICompilation {
   ID: string;
   name: string;
@@ -109,6 +147,8 @@ export interface ICompilation {
   version: versionType; // 版本
   versionText: string; // 版本对应的显示文字:免费版,学习版,专业版
   lockInfo: LockInfo; // 锁信息
+  monomerTemplate: IMonomerTemplateData[];
+  structuralSegment: IStructuralSegmentData[];
 }
 
 export enum ValuationType {