|
|
@@ -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 {
|
|
|
@@ -129,40 +169,3 @@ export interface IProCptItem {
|
|
|
// 锁信息
|
|
|
lock: LockInfo;
|
|
|
}
|
|
|
-
|
|
|
-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;
|
|
|
-}
|