gs-cae-design 1.1.63 → 1.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/docs/classes/CommandInterfaceManager.md +33 -0
- package/lib/.gz +0 -0
- package/lib/CAEDesign.common-report.html +2 -2
- package/lib/CAEDesign.common.js +142 -65
- package/lib/CAEDesign.umd-report.html +2 -2
- package/lib/CAEDesign.umd.js +142 -65
- package/lib/CAEDesign.umd.min-report.html +2 -2
- package/lib/CAEDesign.umd.min.js +142 -65
- package/package.json +1 -1
- package/src/caeCardEditor/caeCardObjects/sacinp/cardAREA.ts +74 -49
- package/src/caeCardEditor/caeCardObjects/seainp/cardRFLRFD.ts +135 -0
- package/src/caeCardEditor/caeCardObjects/seainp/cardUCPART.ts +13 -0
- package/src/gsDevFx/managers/caeRenderObjectTreeManager.ts +16 -12
- package/src/gsDevFx/managers/datReaderManager.ts +70 -39
- package/src/gsDevFx/managers/datWriterManager.ts +54 -6
- package/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.ts +30 -0
- package/src/gsDevFx/managers/interfaceManagers/postInterfaceManager.ts +175 -171
- package/src/gsDevFx/managers/interfaceManagers/selectionInterfaceManager.ts +58 -38
- package/src/gsDevFx/managers/persistenceManager.ts +9 -4
- package/src/gsDevFx/objects/caeObjects/aftertreatment/LRFDFactorsObject.ts +128 -0
- package/src/gsDevFx/objects/caeObjects/memberObject.ts +55 -19
- package/src/gsDevFx/objects/caeObjects/optionObjects/seastateUcpart.ts +42 -22
- package/src/gsDevFx/objects/caeObjects/pretreatment/windAreaObject.ts +166 -0
- package/src/gsDevFx/objects/caeObjects/sections/tubSectionObject.ts +4 -0
- package/src/gsDevFx/objects/loadObjects/currLoadObject.ts +3 -8
- package/src/gsDevFx/objects/loadObjects/waveLoadObject.ts +1 -2
- package/src/gsDevFx/objects/loadObjects/windLoadObject.ts +3 -5
- package/src/gsDevFx/objects/pretreatmentObjects/colorDivGrupThicknessObject.ts +1 -1
- package/src/viewerWrapper/commands/aftertreatment/LRFDFactors/LRFDFactorsConfig.ts +93 -0
- package/src/viewerWrapper/commands/aftertreatment/LRFDFactors/commandLRFDFactors.ts +77 -0
- package/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/addCurrentLoadConfig.ts +2 -2
- package/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.ts +13 -15
- package/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/addSeastateUcpartConfig.ts +42 -0
- package/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/commandAddSeastateUcpart.ts +227 -0
- package/src/viewerWrapper/commands/aftertreatment/addWaveLoad/commandAddWaveLoad.ts +11 -11
- package/src/viewerWrapper/commands/aftertreatment/addWindLoad/addWindLoadConfig.ts +1 -1
- package/src/viewerWrapper/commands/aftertreatment/addWindLoad/commandAddWindLoad.ts +13 -13
- package/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.ts +2 -4
- package/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/editCurrentLoadConfig.ts +2 -2
- package/src/viewerWrapper/commands/aftertreatment/editWindLoad/commandEditWindLoad.ts +2 -2
- package/src/viewerWrapper/commands/aftertreatment/editWindLoad/editWindLoadConfig.ts +1 -1
- package/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/commandSetAndShowSeastateLoadOptions.ts +3 -2
- package/src/viewerWrapper/commands/pretreatment/colorDivideByGrupThickness/colorDivideByGrupThicknessConfig.ts +1 -1
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/surfaceWeightEditConfig.ts +1 -1
- package/src/viewerWrapper/commands/pretreatment/windArea/commandWindArea.ts +7 -7
- package/src/viewerWrapper/commands/pretreatment/windArea/windAreaConfig.ts +0 -3
- package/src/viewerWrapper/commands/pretreatment/windAreaEdit/commandWindAreaEdit.ts +246 -0
- package/src/viewerWrapper/commands/pretreatment/windAreaEdit/windAreaEditConfig.ts +55 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardAREA.d.ts +24 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardAREA.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardRFLRFD.d.ts +105 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardRFLRFD.d.ts.map +1 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardUCPART.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardUCPART.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/caeRenderObjectTreeManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/datReaderManager.d.ts +2 -1
- package/types/caeDesign/src/gsDevFx/managers/datReaderManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/datWriterManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.d.ts +6 -0
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commonInterfaceManager.d.ts +1 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/postInterfaceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/selectionInterfaceManager.d.ts +1 -0
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/selectionInterfaceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/persistenceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/aftertreatment/LRFDFactorsObject.d.ts +25 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/aftertreatment/LRFDFactorsObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/memberObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/optionObjects/seastateUcpart.d.ts +7 -5
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/optionObjects/seastateUcpart.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/WindAreaObject.d.ts +15 -14
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/WindAreaObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sections/tubSectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/currLoadObject.d.ts +4 -9
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/currLoadObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/waveLoadObject.d.ts +1 -2
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/waveLoadObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/windLoadObject.d.ts +2 -4
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/windLoadObject.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/LRFDFactors/LRFDFactorsConfig.d.ts +6 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/LRFDFactors/LRFDFactorsConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/LRFDFactors/commandLRFDFactors.d.ts +15 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/LRFDFactors/commandLRFDFactors.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/addSeastateUcpartConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/addSeastateUcpartConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/commandAddSeastateUcpart.d.ts +22 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/commandAddSeastateUcpart.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/setAndShowSeastateLoadOptions/commandSetAndShowSeastateLoadOptions.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/windArea/windAreaConfig.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/windAreaEdit/commandWindAreaEdit.d.ts +31 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/windAreaEdit/commandWindAreaEdit.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/windAreaEdit/windAreaEditConfig.d.ts +9 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/windAreaEdit/windAreaEditConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByCoordinate/splitMemberByCoordinateConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByEqualPatrs/commandSplitMemberByEqualPatrs.d.ts +18 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByEqualPatrs/commandSplitMemberByEqualPatrs.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByEqualPatrs/splitMemberByEqualPatrsConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByEqualPatrs/splitMemberByEqualPatrsConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByExistingJoint/commandSplitMemberByExistingJoint.d.ts +26 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByExistingJoint/commandSplitMemberByExistingJoint.d.ts.map +1 -0
- package/types/ceecDesign/src/api/gslServices.d.ts.map +0 -1
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject/designBaseObject.d.ts +0 -11
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject/designBaseObject.d.ts.map +0 -1
- package/types/ceecDesign/src/gsDevFx/objects/wireframe/polylineObject.d.ts +0 -14
- package/types/ceecDesign/src/gsDevFx/objects/wireframe/polylineObject.d.ts.map +0 -1
- package/types/ceecDesign/src/gsDevFx/registerType.d.ts +0 -2
- package/types/ceecDesign/src/gsDevFx/registerType.d.ts.map +0 -1
- package/types/ceecDesign/src/utils/cookie.d.ts +0 -38
- package/src/gsDevFx/objects/caeObjects/pretreatment/WindAreaObject.ts +0 -101
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Config } from '../../../../gsDevFx/propertyComponents/config'
|
|
2
|
+
import { PropertyComponent } from '../../../../gsDevFx/propertyComponents/propertyComponent'
|
|
3
|
+
import { Process } from "../../../../gsDevFx/process";
|
|
4
|
+
import { LRFDFactorsObject } from '../../../../gsDevFx/objects/caeObjects/aftertreatment/LRFDFactorsObject'
|
|
5
|
+
import { BusinessState } from "gs-ceec-design";
|
|
6
|
+
export default class LRFDFactorsConfig extends Config {
|
|
7
|
+
constructor() {
|
|
8
|
+
super()
|
|
9
|
+
let property = new PropertyComponent()
|
|
10
|
+
property.name = 'LRFD抗力系数'
|
|
11
|
+
property.data = {
|
|
12
|
+
yieldStressFactor: {
|
|
13
|
+
name: '屈服应力系数',
|
|
14
|
+
value: 1
|
|
15
|
+
},
|
|
16
|
+
tubularAxialTension: {
|
|
17
|
+
name: '轴向拉力系数(管状)',
|
|
18
|
+
value: 0.95
|
|
19
|
+
},
|
|
20
|
+
tubularAxialCompression: {
|
|
21
|
+
name: '轴向压力系数(管状)',
|
|
22
|
+
value: 0.85
|
|
23
|
+
},
|
|
24
|
+
tubularBending: {
|
|
25
|
+
name: '弯曲系数(管状)',
|
|
26
|
+
value: 0.95
|
|
27
|
+
},
|
|
28
|
+
tubularShear: {
|
|
29
|
+
name: '剪力系数(管状)',
|
|
30
|
+
value: 0.95
|
|
31
|
+
},
|
|
32
|
+
tubularHoop: {
|
|
33
|
+
name: '环向应力系数(管状)',
|
|
34
|
+
value: 0.8
|
|
35
|
+
},
|
|
36
|
+
noTubularAxialTension: {
|
|
37
|
+
name: '轴向拉力系数(非管状)',
|
|
38
|
+
value: 0.9
|
|
39
|
+
},
|
|
40
|
+
noTubularAxialCompression: {
|
|
41
|
+
name: '轴向压力系数(非管状)',
|
|
42
|
+
value: 0.85
|
|
43
|
+
},
|
|
44
|
+
noTubularBending: {
|
|
45
|
+
name: '弯曲系数(非管状)',
|
|
46
|
+
value: 0.9
|
|
47
|
+
},
|
|
48
|
+
noTubularShear: {
|
|
49
|
+
name: '剪力系数(非管状)',
|
|
50
|
+
value: 0.9
|
|
51
|
+
},
|
|
52
|
+
tip: {
|
|
53
|
+
name: "提示",
|
|
54
|
+
value: null,
|
|
55
|
+
},
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
this.properties.add(property);
|
|
59
|
+
this.refreshCenterIdList()
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
refreshCenterIdList() {
|
|
63
|
+
// 获取当前模型的回转中心节点
|
|
64
|
+
let grupGroup = Process.activeProcess.findRenderObjectByName('LRFD抗力系数');
|
|
65
|
+
const { data } = this.properties.items[0]
|
|
66
|
+
console.log('grupGroup~~~',grupGroup);
|
|
67
|
+
|
|
68
|
+
if (grupGroup) {
|
|
69
|
+
for (let i = 0; i < grupGroup.childObjects.length; i++) {
|
|
70
|
+
let child = grupGroup.childObjects[i];
|
|
71
|
+
if (
|
|
72
|
+
child instanceof LRFDFactorsObject &&
|
|
73
|
+
child.checkBusinessStateIsActive() &&
|
|
74
|
+
child.lastBusinessState !== BusinessState.Deleting &&
|
|
75
|
+
child.lastBusinessState !== BusinessState.Dead
|
|
76
|
+
) {
|
|
77
|
+
console.log('child', child);
|
|
78
|
+
data.yieldStressFactor.value = child.yieldStressFactor
|
|
79
|
+
data.tubularAxialTension.value = child.tubularAxialTension
|
|
80
|
+
data.tubularAxialCompression.value = child.tubularAxialCompression
|
|
81
|
+
data.tubularBending.value = child.tubularBending
|
|
82
|
+
data.tubularShear.value = child.tubularShear
|
|
83
|
+
data.tubularHoop.value = child.tubularHoop
|
|
84
|
+
data.noTubularAxialTension.value = child.noTubularAxialTension
|
|
85
|
+
data.noTubularAxialCompression.value = child.noTubularAxialCompression
|
|
86
|
+
data.noTubularBending.value = child.noTubularBending
|
|
87
|
+
data.noTubularShear.value = child.noTubularShear
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { CameraMouse } from '../../../../gsDevFx/operators/cameraMouse'
|
|
2
|
+
import { CAEObjectPreSelector } from '../../../../gsDevFx/operators/cAEObjectPreSelector'
|
|
3
|
+
import { CAEObjectSelector } from '../../../../gsDevFx/operators/caeObjectSelector'
|
|
4
|
+
import { CommandSelect } from '../../../../gsDevFx/commands/commandSelect'
|
|
5
|
+
import { CommandComponent } from '../../commandComponent'
|
|
6
|
+
import LRFDFactorsConfig from './LRFDFactorsConfig'
|
|
7
|
+
import { BusinessState } from 'gs-ceec-design'
|
|
8
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
9
|
+
import { LRFDFactorsObject } from '../../../../gsDevFx/objects/caeObjects/aftertreatment/LRFDFactorsObject'
|
|
10
|
+
export default class CommandLRFDFactors extends CommandComponent {
|
|
11
|
+
typeName = 'CommandLRFDFactors'
|
|
12
|
+
config: LRFDFactorsConfig
|
|
13
|
+
preSelector: CAEObjectPreSelector
|
|
14
|
+
caeObjectSelector: CAEObjectSelector
|
|
15
|
+
constructor() {
|
|
16
|
+
super()
|
|
17
|
+
}
|
|
18
|
+
begin(): void {
|
|
19
|
+
this.config = new LRFDFactorsConfig()
|
|
20
|
+
this.config.show()
|
|
21
|
+
}
|
|
22
|
+
end(): void {
|
|
23
|
+
// 固定写法
|
|
24
|
+
this.config.hide();
|
|
25
|
+
super.end();
|
|
26
|
+
|
|
27
|
+
this.viewer.selectionManager.clearAllSelectionAndHighlight();
|
|
28
|
+
this.viewer.updateDisplay();
|
|
29
|
+
|
|
30
|
+
let commandSelect = new CommandSelect();
|
|
31
|
+
this.process.commandManager.execute(commandSelect);
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
commandOk(): void {
|
|
36
|
+
let pretreatmentRO = this.viewer.process.findRenderObjectByName(
|
|
37
|
+
"后处理计算结果"
|
|
38
|
+
) as DesignBaseObject;
|
|
39
|
+
let lrfdParent = this.process.findCaeObjectByNameInChildObject(
|
|
40
|
+
pretreatmentRO,
|
|
41
|
+
"LRFD抗力系数"
|
|
42
|
+
) as DesignBaseObject;
|
|
43
|
+
|
|
44
|
+
if (!lrfdParent) {
|
|
45
|
+
lrfdParent = new DesignBaseObject();
|
|
46
|
+
lrfdParent.businessState = BusinessState.Creating;
|
|
47
|
+
lrfdParent.name = "LRFD抗力系数";
|
|
48
|
+
this.process.addRenderObject(pretreatmentRO, lrfdParent);
|
|
49
|
+
} else {
|
|
50
|
+
lrfdParent.businessState = BusinessState.Editing;
|
|
51
|
+
for (let i = 0; i < lrfdParent.childObjects.length; i++) {
|
|
52
|
+
const item = lrfdParent.childObjects[i];
|
|
53
|
+
if (item instanceof LRFDFactorsObject) {
|
|
54
|
+
item.tempDelete(this.viewer);
|
|
55
|
+
item.businessState = BusinessState.Deleting;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
console.log('commandOk', this.config);
|
|
61
|
+
const { data } = this.config.properties.items[0]
|
|
62
|
+
let lrfdfactorsObject = new LRFDFactorsObject()
|
|
63
|
+
lrfdfactorsObject.businessState = BusinessState.Creating;
|
|
64
|
+
lrfdfactorsObject.yieldStressFactor = data.yieldStressFactor.value
|
|
65
|
+
lrfdfactorsObject.tubularAxialTension = data.tubularAxialTension.value
|
|
66
|
+
lrfdfactorsObject.tubularAxialCompression = data.tubularAxialCompression.value
|
|
67
|
+
lrfdfactorsObject.tubularBending = data.tubularBending.value
|
|
68
|
+
lrfdfactorsObject.tubularShear = data.tubularShear.value
|
|
69
|
+
lrfdfactorsObject.tubularHoop = data.tubularHoop.value
|
|
70
|
+
lrfdfactorsObject.noTubularAxialTension = data.noTubularAxialTension.value
|
|
71
|
+
lrfdfactorsObject.noTubularAxialCompression = data.noTubularAxialCompression.value
|
|
72
|
+
lrfdfactorsObject.noTubularBending = data.noTubularBending.value
|
|
73
|
+
lrfdfactorsObject.noTubularShear = data.noTubularShear.value
|
|
74
|
+
this.process.addRenderObject(lrfdParent, lrfdfactorsObject);
|
|
75
|
+
data.tip.value = 2
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -39,7 +39,7 @@ export default class AddCurrentLoadConfig extends Config {
|
|
|
39
39
|
selections: [
|
|
40
40
|
{
|
|
41
41
|
label: "无",
|
|
42
|
-
value:
|
|
42
|
+
value: ""
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
label: "自动",
|
|
@@ -79,7 +79,7 @@ export default class AddCurrentLoadConfig extends Config {
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
label: "无",
|
|
82
|
-
value:
|
|
82
|
+
value: ""
|
|
83
83
|
},
|
|
84
84
|
],
|
|
85
85
|
},
|
|
@@ -40,21 +40,19 @@ export default class CommandAddCurrentLoad extends CommandComponent {
|
|
|
40
40
|
data.factorOption.selectOptions.selections = []
|
|
41
41
|
data.crsetStretchingOption.selectOptions.selections = []
|
|
42
42
|
if(this.viewer.commonInterfaceManager.showEnglishText) {
|
|
43
|
-
data.factorOption.selectOptions.selections.push({ label: "None", value:
|
|
43
|
+
data.factorOption.selectOptions.selections.push({ label: "None", value: "" })
|
|
44
44
|
data.factorOption.selectOptions.selections.push({ label: "Auto", value: FactorOption.BC })
|
|
45
45
|
data.factorOption.selectOptions.selections.push({ label: "User defined", value: FactorOption.US })
|
|
46
46
|
data.crsetStretchingOption.selectOptions.selections.push({label: "Constant", value: CrsetStretchingOption.CN })
|
|
47
47
|
data.crsetStretchingOption.selectOptions.selections.push({label: "Non-Linear", value: CrsetStretchingOption.NL })
|
|
48
48
|
data.crsetStretchingOption.selectOptions.selections.push({label: "Linear", value: CrsetStretchingOption.LN })
|
|
49
|
-
// data.crsetStretchingOption.selectOptions.selections.push({label: "None", value: CrsetStretchingOption.None })
|
|
50
49
|
}else {
|
|
51
|
-
data.factorOption.selectOptions.selections.push({ label: "无", value:
|
|
50
|
+
data.factorOption.selectOptions.selections.push({ label: "无", value: "" })
|
|
52
51
|
data.factorOption.selectOptions.selections.push({ label: "自动", value: FactorOption.BC })
|
|
53
52
|
data.factorOption.selectOptions.selections.push({ label: "自定义", value: FactorOption.US })
|
|
54
53
|
data.crsetStretchingOption.selectOptions.selections.push({label: "常数", value: CrsetStretchingOption.CN })
|
|
55
54
|
data.crsetStretchingOption.selectOptions.selections.push({label: "非线性", value: CrsetStretchingOption.NL })
|
|
56
55
|
data.crsetStretchingOption.selectOptions.selections.push({label: "线性", value: CrsetStretchingOption.LN })
|
|
57
|
-
// data.crsetStretchingOption.selectOptions.selections.push({label: "无", value: CrsetStretchingOption.None })
|
|
58
56
|
}
|
|
59
57
|
}
|
|
60
58
|
|
|
@@ -177,17 +175,17 @@ export default class CommandAddCurrentLoad extends CommandComponent {
|
|
|
177
175
|
}
|
|
178
176
|
}
|
|
179
177
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
178
|
+
let seastateNode = this.process.caeRenderObjectTreeManager.seastateNode
|
|
179
|
+
let seastateLdoptObj = this.process.findRenderObjectByType(
|
|
180
|
+
"SeastateLdopt"
|
|
181
|
+
) as SeastateLdopt
|
|
182
|
+
if (!seastateLdoptObj) {
|
|
183
|
+
seastateLdoptObj = new SeastateLdopt();
|
|
184
|
+
seastateLdoptObj.businessState = BusinessState.Creating
|
|
185
|
+
seastateLdoptObj.cardObject = new CardLDOPT("LDOPT NF+Z 1.025 7.849 GLOBMN HYD K ")
|
|
186
|
+
seastateLdoptObj.cardData = seastateLdoptObj.cardObject.getLine()
|
|
187
|
+
this.process.addRenderObject(seastateNode,seastateLdoptObj);
|
|
188
|
+
}
|
|
191
189
|
|
|
192
190
|
this.viewer.updateDisplay();
|
|
193
191
|
data.tip.value = 1;
|
package/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/addSeastateUcpartConfig.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Config } from '../../../../gsDevFx/propertyComponents/config'
|
|
2
|
+
import { PropertyComponent } from '../../../../gsDevFx/propertyComponents/propertyComponent'
|
|
3
|
+
|
|
4
|
+
export default class AddSeastateUcpartConfig extends Config {
|
|
5
|
+
constructor() {
|
|
6
|
+
super()
|
|
7
|
+
|
|
8
|
+
let property = new PropertyComponent()
|
|
9
|
+
property.name = '应力比范围'
|
|
10
|
+
property.data = {
|
|
11
|
+
lowerLimmit_first: {
|
|
12
|
+
name: '',
|
|
13
|
+
value: null
|
|
14
|
+
},
|
|
15
|
+
upperLimmit_first: {
|
|
16
|
+
name: '',
|
|
17
|
+
value: null
|
|
18
|
+
},
|
|
19
|
+
lowerLimmit_second: {
|
|
20
|
+
name: '',
|
|
21
|
+
value: null
|
|
22
|
+
},
|
|
23
|
+
upperLimmit_second: {
|
|
24
|
+
name: '',
|
|
25
|
+
value: null
|
|
26
|
+
},
|
|
27
|
+
lowerLimmit_thrid: {
|
|
28
|
+
name: '',
|
|
29
|
+
value: null
|
|
30
|
+
},
|
|
31
|
+
upperLimmit_thrid: {
|
|
32
|
+
name: '',
|
|
33
|
+
value: null
|
|
34
|
+
},
|
|
35
|
+
tip: {
|
|
36
|
+
name: '提示',
|
|
37
|
+
value: null
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
this.properties.add(property)
|
|
41
|
+
}
|
|
42
|
+
}
|
package/src/viewerWrapper/commands/aftertreatment/addSeastateUcpart/commandAddSeastateUcpart.ts
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { CameraMouse } from '../../../../gsDevFx/operators/cameraMouse'
|
|
2
|
+
import { CAEObjectPreSelector } from '../../../../gsDevFx/operators/cAEObjectPreSelector'
|
|
3
|
+
import { CAEObjectSelector } from '../../../../gsDevFx/operators/caeObjectSelector'
|
|
4
|
+
import { CommandSelect } from '../../../../gsDevFx/commands/commandSelect'
|
|
5
|
+
import { CommandComponent } from '../../commandComponent'
|
|
6
|
+
import AddSeastateUcpartConfig from './addSeastateUcpartConfig'
|
|
7
|
+
import { BusinessState } from 'gs-ceec-design'
|
|
8
|
+
import { SeastateUcpart } from '../../../../gsDevFx/objects/caeObjects/optionObjects/seastateUcpart'
|
|
9
|
+
|
|
10
|
+
export default class CommandAddSeastateUcpart extends CommandComponent {
|
|
11
|
+
typeName = 'CommandAddSeastateUcpart'
|
|
12
|
+
|
|
13
|
+
config: AddSeastateUcpartConfig
|
|
14
|
+
preSelector: CAEObjectPreSelector
|
|
15
|
+
caeObjectSelector: CAEObjectSelector
|
|
16
|
+
|
|
17
|
+
currentSeastateUcpartObj: SeastateUcpart = null
|
|
18
|
+
|
|
19
|
+
constructor() {
|
|
20
|
+
super()
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
begin(): void {
|
|
24
|
+
this.changeOperators()
|
|
25
|
+
|
|
26
|
+
console.log('CommandAddSeastateUcpart')
|
|
27
|
+
this.config = new AddSeastateUcpartConfig()
|
|
28
|
+
this.config.show()
|
|
29
|
+
|
|
30
|
+
this.setToConfig();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
restore(): void {
|
|
34
|
+
this.changeOperators()
|
|
35
|
+
this.config.show()
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
changeOperators(): void {
|
|
39
|
+
// 进入命令前清空选中与高亮.
|
|
40
|
+
this.viewer.selectionManager.clearAllSelectionAndHighlight()
|
|
41
|
+
this.viewer.updateDisplay()
|
|
42
|
+
|
|
43
|
+
// 清空操作器.
|
|
44
|
+
this.viewer.operatorManager.clear()
|
|
45
|
+
// 添加操作器
|
|
46
|
+
this.viewer.operatorManager.add(new CameraMouse())
|
|
47
|
+
|
|
48
|
+
this.preSelector = new CAEObjectPreSelector()
|
|
49
|
+
this.viewer.operatorManager.add(this.preSelector)
|
|
50
|
+
|
|
51
|
+
this.caeObjectSelector = new CAEObjectSelector()
|
|
52
|
+
this.viewer.operatorManager.add(this.caeObjectSelector)
|
|
53
|
+
//this.caeObjectSelector.isMultiSelect = true;
|
|
54
|
+
|
|
55
|
+
this.caeObjectSelector.lButtonUp.add(() => {
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
this.updatePanel()
|
|
58
|
+
}, 0)
|
|
59
|
+
})
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
end(): void {
|
|
63
|
+
this.config.hide()
|
|
64
|
+
super.end()
|
|
65
|
+
|
|
66
|
+
this.viewer.selectionManager.clearAllSelectionAndHighlight()
|
|
67
|
+
this.viewer.updateDisplay()
|
|
68
|
+
|
|
69
|
+
let commandSelect = new CommandSelect()
|
|
70
|
+
this.process.commandManager.execute(commandSelect)
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
commandOk(): void {
|
|
74
|
+
let data = this.config.properties.items[0].data
|
|
75
|
+
|
|
76
|
+
let seastateUcpartObj = this.process.findRenderObjectByType(
|
|
77
|
+
"SeastateUcpart"
|
|
78
|
+
) as SeastateUcpart
|
|
79
|
+
|
|
80
|
+
if(!seastateUcpartObj) {
|
|
81
|
+
seastateUcpartObj = new SeastateUcpart()
|
|
82
|
+
seastateUcpartObj.businessState = BusinessState.Creating
|
|
83
|
+
this.process.addRenderObject(this.process.caeRenderObjectTreeManager.seastateNode, seastateUcpartObj)
|
|
84
|
+
}else {
|
|
85
|
+
seastateUcpartObj.businessState = BusinessState.Editing;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
seastateUcpartObj.lowerLimmit_first = 0
|
|
89
|
+
seastateUcpartObj.upperLimmit_first = 0
|
|
90
|
+
seastateUcpartObj.lowerLimmit_second = 0
|
|
91
|
+
seastateUcpartObj.upperLimmit_second = 0
|
|
92
|
+
seastateUcpartObj.lowerLimmit_thrid = 0
|
|
93
|
+
seastateUcpartObj.upperLimmit_thrid = 0
|
|
94
|
+
|
|
95
|
+
let lowerLimmit_first = Number(data.lowerLimmit_first.value) || 0
|
|
96
|
+
let upperLimmit_first = Number(data.upperLimmit_first.value) || 0
|
|
97
|
+
let lowerLimmit_second = Number(data.lowerLimmit_second.value) || 0
|
|
98
|
+
let upperLimmit_second = Number(data.upperLimmit_second.value) || 0
|
|
99
|
+
let lowerLimmit_thrid = Number(data.lowerLimmit_thrid.value) || 0
|
|
100
|
+
let upperLimmit_thrid = Number(data.upperLimmit_thrid.value) || 0
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
data.tip.value = 2;
|
|
104
|
+
if(!lowerLimmit_first) {
|
|
105
|
+
return
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
seastateUcpartObj.lowerLimmit_first = lowerLimmit_first
|
|
109
|
+
|
|
110
|
+
if(!upperLimmit_first) {
|
|
111
|
+
this.viewer.updateDisplay()
|
|
112
|
+
data.tip.value = 1
|
|
113
|
+
this.setToConfig()
|
|
114
|
+
return
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if(lowerLimmit_first >= upperLimmit_first) {
|
|
118
|
+
return
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
seastateUcpartObj.upperLimmit_first = upperLimmit_first
|
|
122
|
+
|
|
123
|
+
if(!lowerLimmit_second) {
|
|
124
|
+
this.viewer.updateDisplay()
|
|
125
|
+
data.tip.value = 1
|
|
126
|
+
this.setToConfig()
|
|
127
|
+
return
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if(upperLimmit_first > lowerLimmit_second) {
|
|
131
|
+
return
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
seastateUcpartObj.lowerLimmit_second = upperLimmit_first;
|
|
135
|
+
|
|
136
|
+
if(!upperLimmit_second) {
|
|
137
|
+
this.viewer.updateDisplay()
|
|
138
|
+
data.tip.value = 1
|
|
139
|
+
this.setToConfig()
|
|
140
|
+
return
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
if(lowerLimmit_second >= upperLimmit_second) {
|
|
144
|
+
return
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
seastateUcpartObj.upperLimmit_second = upperLimmit_second
|
|
148
|
+
|
|
149
|
+
if(!lowerLimmit_thrid) {
|
|
150
|
+
this.viewer.updateDisplay()
|
|
151
|
+
data.tip.value = 1
|
|
152
|
+
this.setToConfig()
|
|
153
|
+
return
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
if(upperLimmit_second > lowerLimmit_thrid) {
|
|
157
|
+
return
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
seastateUcpartObj.lowerLimmit_thrid = upperLimmit_second
|
|
161
|
+
|
|
162
|
+
if(!upperLimmit_thrid) {
|
|
163
|
+
this.viewer.updateDisplay()
|
|
164
|
+
data.tip.value = 1
|
|
165
|
+
this.setToConfig()
|
|
166
|
+
return
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
if(lowerLimmit_thrid >= upperLimmit_thrid) {
|
|
170
|
+
return
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
seastateUcpartObj.upperLimmit_thrid = upperLimmit_thrid
|
|
174
|
+
|
|
175
|
+
this.viewer.updateDisplay()
|
|
176
|
+
data.tip.value = 1
|
|
177
|
+
this.setToConfig()
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
updatePanel() {}
|
|
181
|
+
|
|
182
|
+
setToConfig() {
|
|
183
|
+
let data = this.config.properties.items[0].data
|
|
184
|
+
data.lowerLimmit_first.value = "";
|
|
185
|
+
data.upperLimmit_first.value = "";
|
|
186
|
+
data.lowerLimmit_second.value = "";
|
|
187
|
+
data.upperLimmit_second.value = "";
|
|
188
|
+
data.lowerLimmit_thrid.value = "";
|
|
189
|
+
data.upperLimmit_thrid.value = "";
|
|
190
|
+
|
|
191
|
+
let seastateUcpartObj = this.process.findRenderObjectByType(
|
|
192
|
+
"SeastateUcpart"
|
|
193
|
+
) as SeastateUcpart
|
|
194
|
+
if(seastateUcpartObj) {
|
|
195
|
+
if(seastateUcpartObj.checkBusinessStateIsActive()) {
|
|
196
|
+
this.currentSeastateUcpartObj = seastateUcpartObj;
|
|
197
|
+
data.lowerLimmit_first.value = seastateUcpartObj.lowerLimmit_first;
|
|
198
|
+
data.upperLimmit_first.value = seastateUcpartObj.upperLimmit_first;
|
|
199
|
+
data.lowerLimmit_second.value = seastateUcpartObj.lowerLimmit_second;
|
|
200
|
+
data.upperLimmit_second.value = seastateUcpartObj.upperLimmit_second;
|
|
201
|
+
data.lowerLimmit_thrid.value = seastateUcpartObj.lowerLimmit_thrid;
|
|
202
|
+
data.upperLimmit_thrid.value = seastateUcpartObj.upperLimmit_thrid;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
deleteSeastateUcpart() {
|
|
208
|
+
let ro = this.viewer.process.findRenderObjectByType(
|
|
209
|
+
"SeastateUcpart"
|
|
210
|
+
) as SeastateUcpart;
|
|
211
|
+
|
|
212
|
+
ro.businessState = BusinessState.Editing;
|
|
213
|
+
ro.lowerLimmit_first = 0;
|
|
214
|
+
ro.upperLimmit_first = 0;
|
|
215
|
+
ro.lowerLimmit_second = 0;
|
|
216
|
+
ro.upperLimmit_second = 0;
|
|
217
|
+
ro.lowerLimmit_thrid = 0;
|
|
218
|
+
ro.upperLimmit_thrid = 0;
|
|
219
|
+
|
|
220
|
+
this.setToConfig()
|
|
221
|
+
|
|
222
|
+
this.currentSeastateUcpartObj = null
|
|
223
|
+
|
|
224
|
+
let data = this.config.properties.items[0].data;
|
|
225
|
+
data.tip.value = 1;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
@@ -241,17 +241,17 @@ export default class CommandAddWaveLoad extends CommandComponent {
|
|
|
241
241
|
this.viewer.updateDisplay();
|
|
242
242
|
data.tip.value = 1;
|
|
243
243
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
244
|
+
let seastateNode = this.process.caeRenderObjectTreeManager.seastateNode
|
|
245
|
+
let seastateLdoptObj = this.process.findRenderObjectByType(
|
|
246
|
+
"SeastateLdopt"
|
|
247
|
+
) as SeastateLdopt
|
|
248
|
+
if (!seastateLdoptObj) {
|
|
249
|
+
seastateLdoptObj = new SeastateLdopt();
|
|
250
|
+
seastateLdoptObj.businessState = BusinessState.Creating
|
|
251
|
+
seastateLdoptObj.cardObject = new CardLDOPT("LDOPT NF+Z 1.025 7.849 GLOBMN HYD K ")
|
|
252
|
+
seastateLdoptObj.cardData = seastateLdoptObj.cardObject.getLine()
|
|
253
|
+
this.process.addRenderObject(seastateNode,seastateLdoptObj);
|
|
254
|
+
}
|
|
255
255
|
|
|
256
256
|
// 添加或修改荷载组.
|
|
257
257
|
|
|
@@ -40,11 +40,11 @@ export default class CommandAddWindLoad extends CommandComponent {
|
|
|
40
40
|
|
|
41
41
|
data.memberLoadingOption.selectOptions.selections = []
|
|
42
42
|
if(this.viewer.commonInterfaceManager.showEnglishText) {
|
|
43
|
-
data.memberLoadingOption.selectOptions.selections.push({ label: "None", value:
|
|
43
|
+
data.memberLoadingOption.selectOptions.selections.push({ label: "None", value: "" })
|
|
44
44
|
data.memberLoadingOption.selectOptions.selections.push({ label: "Use wave/current Cd", value: MemberLoadingOption.W })
|
|
45
45
|
data.memberLoadingOption.selectOptions.selections.push({ label: "Ignore load on member", value: MemberLoadingOption.I })
|
|
46
46
|
}else {
|
|
47
|
-
data.memberLoadingOption.selectOptions.selections.push({ label: "无覆盖", value:
|
|
47
|
+
data.memberLoadingOption.selectOptions.selections.push({ label: "无覆盖", value: "" })
|
|
48
48
|
data.memberLoadingOption.selectOptions.selections.push({ label: "采用波浪/海流Cd值", value: MemberLoadingOption.W })
|
|
49
49
|
data.memberLoadingOption.selectOptions.selections.push({ label: "忽略杆件荷载", value: MemberLoadingOption.I })
|
|
50
50
|
}
|
|
@@ -172,17 +172,17 @@ export default class CommandAddWindLoad extends CommandComponent {
|
|
|
172
172
|
this.viewer.updateDisplay();
|
|
173
173
|
data.tip.value = 1;
|
|
174
174
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
175
|
+
let seastateNode = this.process.caeRenderObjectTreeManager.seastateNode
|
|
176
|
+
let seastateLdoptObj = this.process.findRenderObjectByType(
|
|
177
|
+
"SeastateLdopt"
|
|
178
|
+
) as SeastateLdopt
|
|
179
|
+
if (!seastateLdoptObj) {
|
|
180
|
+
seastateLdoptObj = new SeastateLdopt();
|
|
181
|
+
seastateLdoptObj.businessState = BusinessState.Creating
|
|
182
|
+
seastateLdoptObj.cardObject = new CardLDOPT("LDOPT NF+Z 1.025 7.849 GLOBMN HYD K ")
|
|
183
|
+
seastateLdoptObj.cardData = seastateLdoptObj.cardObject.getLine()
|
|
184
|
+
this.process.addRenderObject(seastateNode,seastateLdoptObj);
|
|
185
|
+
}
|
|
186
186
|
|
|
187
187
|
// 添加或修改荷载组.
|
|
188
188
|
|
|
@@ -39,21 +39,19 @@ export default class CommandEditCurrentLoad extends CommandComponent {
|
|
|
39
39
|
data.factorOption.selectOptions.selections = []
|
|
40
40
|
data.crsetStretchingOption.selectOptions.selections = []
|
|
41
41
|
if(this.viewer.commonInterfaceManager.showEnglishText) {
|
|
42
|
-
data.factorOption.selectOptions.selections.push({ label: "None", value:
|
|
42
|
+
data.factorOption.selectOptions.selections.push({ label: "None", value: "" })
|
|
43
43
|
data.factorOption.selectOptions.selections.push({ label: "Auto", value: FactorOption.BC })
|
|
44
44
|
data.factorOption.selectOptions.selections.push({ label: "User defined", value: FactorOption.US })
|
|
45
45
|
data.crsetStretchingOption.selectOptions.selections.push({label: "Constant", value: CrsetStretchingOption.CN })
|
|
46
46
|
data.crsetStretchingOption.selectOptions.selections.push({label: "Non-Linear", value: CrsetStretchingOption.NL })
|
|
47
47
|
data.crsetStretchingOption.selectOptions.selections.push({label: "Linear", value: CrsetStretchingOption.LN })
|
|
48
|
-
// data.crsetStretchingOption.selectOptions.selections.push({label: "None", value: CrsetStretchingOption.None })
|
|
49
48
|
}else {
|
|
50
|
-
data.factorOption.selectOptions.selections.push({ label: "无", value:
|
|
49
|
+
data.factorOption.selectOptions.selections.push({ label: "无", value: "" })
|
|
51
50
|
data.factorOption.selectOptions.selections.push({ label: "自动", value: FactorOption.BC })
|
|
52
51
|
data.factorOption.selectOptions.selections.push({ label: "自定义", value: FactorOption.US })
|
|
53
52
|
data.crsetStretchingOption.selectOptions.selections.push({label: "常数", value: CrsetStretchingOption.CN })
|
|
54
53
|
data.crsetStretchingOption.selectOptions.selections.push({label: "非线性", value: CrsetStretchingOption.NL })
|
|
55
54
|
data.crsetStretchingOption.selectOptions.selections.push({label: "线性", value: CrsetStretchingOption.LN })
|
|
56
|
-
// data.crsetStretchingOption.selectOptions.selections.push({label: "无", value: CrsetStretchingOption.None })
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
this.config.loadConditionChange = () => {
|
|
@@ -48,7 +48,7 @@ export default class EditCurrentLoadConfig extends Config {
|
|
|
48
48
|
selections: [
|
|
49
49
|
{
|
|
50
50
|
label: "无",
|
|
51
|
-
value:
|
|
51
|
+
value: ""
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
label: "自动",
|
|
@@ -88,7 +88,7 @@ export default class EditCurrentLoadConfig extends Config {
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
label: "无",
|
|
91
|
-
value:
|
|
91
|
+
value: ""
|
|
92
92
|
},
|
|
93
93
|
],
|
|
94
94
|
},
|
|
@@ -38,11 +38,11 @@ export default class CommandEditWindLoad extends CommandComponent {
|
|
|
38
38
|
|
|
39
39
|
data.memberLoadingOption.selectOptions.selections = []
|
|
40
40
|
if(this.viewer.commonInterfaceManager.showEnglishText) {
|
|
41
|
-
data.memberLoadingOption.selectOptions.selections.push({ label: "None", value:
|
|
41
|
+
data.memberLoadingOption.selectOptions.selections.push({ label: "None", value: "" })
|
|
42
42
|
data.memberLoadingOption.selectOptions.selections.push({ label: "Use wave/current Cd", value: MemberLoadingOption.W })
|
|
43
43
|
data.memberLoadingOption.selectOptions.selections.push({ label: "Ignore load on member", value: MemberLoadingOption.I })
|
|
44
44
|
}else {
|
|
45
|
-
data.memberLoadingOption.selectOptions.selections.push({ label: "无覆盖", value:
|
|
45
|
+
data.memberLoadingOption.selectOptions.selections.push({ label: "无覆盖", value: "" })
|
|
46
46
|
data.memberLoadingOption.selectOptions.selections.push({ label: "采用波浪/海流Cd值", value: MemberLoadingOption.W })
|
|
47
47
|
data.memberLoadingOption.selectOptions.selections.push({ label: "忽略杆件荷载", value: MemberLoadingOption.I })
|
|
48
48
|
}
|