gs-cae-design 1.1.57 → 1.1.59
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 +23 -0
- package/docs/classes/Command.CommandFiniteElement.md +2 -0
- package/docs/classes/CommandInterfaceManager.md +112 -0
- package/docs/classes/CommonInterfaceManager.md +13 -0
- package/lib/.gz +0 -0
- package/lib/CAEDesign.common-report.html +2 -2
- package/lib/CAEDesign.common.js +275 -88
- package/lib/CAEDesign.umd-report.html +2 -2
- package/lib/CAEDesign.umd.js +275 -88
- package/lib/CAEDesign.umd.min-report.html +2 -2
- package/lib/CAEDesign.umd.min.js +275 -88
- package/package.json +1 -1
- package/src/caeCardEditor/caeCardObjects/sacinp/cardSURFWT.ts +6 -6
- package/src/caeCardEditor/caeCardObjects/seainp/cardCURR.ts +17 -2
- package/src/caeCardEditor/caeCardObjects/seainp/cardDEAD.ts +8 -1
- package/src/caeCardEditor/caeCardObjects/seainp/cardWAVE.ts +27 -0
- package/src/caeCardEditor/caeCardObjects/seainp/cardWIND.ts +15 -0
- package/src/gsDevFx/managers/datReaderManager.ts +37 -60
- package/src/gsDevFx/managers/datWriterManager.ts +17 -1
- package/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.ts +113 -1
- package/src/gsDevFx/managers/interfaceManagers/commonInterfaceManager.ts +11 -1
- package/src/gsDevFx/managers/persistenceManager.ts +10 -5
- package/src/gsDevFx/objects/caeObjects/aftertreatment/deadLoadObject.ts +133 -0
- package/src/gsDevFx/objects/caeObjects/grupObject.ts +11 -0
- package/src/gsDevFx/objects/caeObjects/jointObject.ts +51 -24
- package/src/gsDevFx/objects/caeObjects/memberObject.ts +55 -16
- package/src/gsDevFx/objects/caeObjects/pGrupObject.ts +11 -0
- package/src/gsDevFx/objects/caeObjects/plateObject.ts +11 -0
- package/src/gsDevFx/objects/caeObjects/pretreatment/surfaceDefinitionObject.ts +1 -1
- package/src/gsDevFx/objects/caeObjects/pretreatment/surfaceWeightObject.ts +7 -2
- package/src/gsDevFx/objects/caeObjects/sectionObject.ts +11 -0
- package/src/gsDevFx/objects/loadObjects/currLoadObject.ts +162 -0
- package/src/gsDevFx/objects/loadObjects/loadConditionObject.ts +6 -3
- package/src/gsDevFx/objects/loadObjects/waveLoadObject.ts +242 -0
- package/src/gsDevFx/objects/loadObjects/windLoadObject.ts +160 -0
- package/src/gsDevFx/propertyComponents/sections/teeSectionProperty.ts +43 -43
- package/src/gsDevFx/propertyComponents/sections/wfSectionProperty.ts +104 -104
- package/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/addCurrentLoadConfig.ts +99 -0
- package/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.ts +269 -0
- package/src/viewerWrapper/commands/aftertreatment/addDeadLoad/addDeadLoadConfig.ts +86 -0
- package/src/viewerWrapper/commands/aftertreatment/addDeadLoad/commandAddDeadLoad.ts +195 -0
- package/src/viewerWrapper/commands/aftertreatment/addJointLoad/commandAddJointLoad.ts +25 -7
- package/src/viewerWrapper/commands/aftertreatment/addWaveLoad/addWaveLoadConfig.ts +208 -0
- package/src/viewerWrapper/commands/aftertreatment/addWaveLoad/commandAddWaveLoad.ts +309 -0
- package/src/viewerWrapper/commands/aftertreatment/addWindLoad/addWindLoadConfig.ts +143 -0
- package/src/viewerWrapper/commands/aftertreatment/addWindLoad/commandAddWindLoad.ts +279 -0
- package/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.ts +286 -0
- package/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/editCurrentLoadConfig.ts +129 -0
- package/src/viewerWrapper/commands/aftertreatment/editJointLoad/commandEditJointLoad.ts +93 -15
- package/src/viewerWrapper/commands/aftertreatment/editWaveLoad/commandEditWaveLoad.ts +330 -0
- package/src/viewerWrapper/commands/aftertreatment/editWaveLoad/editWaveLoadConfig.ts +243 -0
- package/src/viewerWrapper/commands/aftertreatment/editWindLoad/commandEditWindLoad.ts +296 -0
- package/src/viewerWrapper/commands/aftertreatment/editWindLoad/editWindLoadConfig.ts +176 -0
- package/src/viewerWrapper/commands/commandSplitMemberBase.ts +6 -8
- package/src/viewerWrapper/commands/createPlate/plateConfig.ts +22 -0
- package/src/viewerWrapper/commands/createPlatesInRange/commandCreatePlatesInRange.ts +203 -73
- package/src/viewerWrapper/commands/createPlatesInRange/createPlatesInRangeConfig.ts +6 -0
- package/src/viewerWrapper/commands/editGrup/commandEditGrup.ts +36 -26
- package/src/viewerWrapper/commands/pretreatment/colorDivideByEditComponentGroup/commandColorDivideByEditComponentGroup.ts +2 -2
- package/src/viewerWrapper/commands/pretreatment/editJointWeight/commandEditJointWeight.ts +8 -1
- package/src/viewerWrapper/commands/pretreatment/editMemberWeight/commandEditMemberWeight.ts +9 -1
- package/src/viewerWrapper/commands/pretreatment/finiteElement/commandFiniteElement.ts +3 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinition/commandSurfaceDefinition.ts +3 -2
- package/src/viewerWrapper/commands/pretreatment/surfaceDefinitionEdit/commandSurfaceDefinitionEdit.ts +1 -1
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/commandSurfaceWeightAdd.ts +10 -6
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/commandSurfaceWeightEdit.ts +187 -0
- package/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/surfaceWeightEditConfig.ts +72 -0
- package/src/viewerWrapper/commands/splitMemberByCoordinate/commandSplitMemberByCoordinate.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByEqualPatrs/commandSplitMemberByEqualPatrs.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByExistingJoint/commandSplitMemberByExistingJoint.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByIntersection/commandSplitMemberByIntersection.ts +6 -2
- package/src/viewerWrapper/commands/splitMemberByLength/commandSplitMemberByLength.ts +8 -4
- package/src/viewerWrapper/commands/splitMemberByPerpendicular/commandSplitMemberByPerpendicular.ts +51 -6
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/sacinp/cardWGTMEMCONC.d.ts +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardCURR.d.ts +6 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardCURR.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardDEAD.d.ts +8 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardDEAD.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWAVE.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWAVE.d.ts.map +1 -1
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWIND.d.ts +2 -0
- package/types/caeDesign/src/caeCardEditor/caeCardObjects/seainp/cardWIND.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/datReaderManager.d.ts +27 -29
- 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 +18 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commandInterfaceManager.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commonInterfaceManager.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/managers/interfaceManagers/commonInterfaceManager.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/deadLoadObject.d.ts +26 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/aftertreatment/deadLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/grupObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/grupObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/jointObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/jointObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/memberObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/memberObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pGrupObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pGrupObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/plateObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/plateObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/pretreatment/surfaceWeightObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sectionObject.d.ts +2 -0
- package/types/caeDesign/src/gsDevFx/objects/caeObjects/sectionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/currLoadObject.d.ts +46 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/currLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/loadConditionObject.d.ts.map +1 -1
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/waveLoadObject.d.ts +65 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/waveLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/windLoadObject.d.ts +50 -0
- package/types/caeDesign/src/gsDevFx/objects/loadObjects/windLoadObject.d.ts.map +1 -0
- package/types/caeDesign/src/gsDevFx/operators/cAEObjectPreSelector.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/addCurrentLoadConfig.d.ts +7 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/addCurrentLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.d.ts +27 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addCurrentLoad/commandAddCurrentLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/addDeadLoadConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/addDeadLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/commandAddDeadLoad.d.ts +15 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addDeadLoad/commandAddDeadLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addJointLoad/commandAddJointLoad.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/addWaveLoadConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/addWaveLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/commandAddWaveLoad.d.ts +27 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWaveLoad/commandAddWaveLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/addWindLoadConfig.d.ts +5 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/addWindLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/commandAddWindLoad.d.ts +27 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/addWindLoad/commandAddWindLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.d.ts +26 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/commandEditCurrentLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/editCurrentLoadConfig.d.ts +9 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editCurrentLoad/editCurrentLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editJointLoad/commandEditJointLoad.d.ts +2 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editJointLoad/commandEditJointLoad.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/commandEditWaveLoad.d.ts +26 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/commandEditWaveLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/editWaveLoadConfig.d.ts +7 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWaveLoad/editWaveLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/commandEditWindLoad.d.ts +26 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/commandEditWindLoad.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/editWindLoadConfig.d.ts +7 -0
- package/types/caeDesign/src/viewerWrapper/commands/aftertreatment/editWindLoad/editWindLoadConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/commandSplitMemberBase.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/createPlate/plateConfig.d.ts +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/createPlate/plateConfig.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/createPlatesInRange/commandCreatePlatesInRange.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/createPlatesInRange/createPlatesInRangeConfig.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/editGrup/commandEditGrup.d.ts +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/editGrup/commandEditGrup.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/editJointWeight/commandEditJointWeight.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/editMemberWeight/commandEditMemberWeight.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/finiteElement/commandFiniteElement.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceDefinition/commandSurfaceDefinition.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightAdd/commandSurfaceWeightAdd.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/commandSurfaceWeightEdit.d.ts +18 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/commandSurfaceWeightEdit.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/surfaceWeightEditConfig.d.ts +13 -0
- package/types/caeDesign/src/viewerWrapper/commands/pretreatment/surfaceWeightEdit/surfaceWeightEditConfig.d.ts.map +1 -0
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByCoordinate/commandSplitMemberByCoordinate.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByEqualPatrs/commandSplitMemberByEqualPatrs.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByExistingJoint/commandSplitMemberByExistingJoint.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByIntersection/commandSplitMemberByIntersection.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByLength/commandSplitMemberByLength.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/commands/splitMemberByPerpendicular/commandSplitMemberByPerpendicular.d.ts.map +1 -1
- package/types/caeDesign/src/viewerWrapper/module/createMenu.d.ts.map +0 -1
- package/types/caeDesign/src/viewerWrapper/panel/viewPoint/viewPointPanel.d.ts +0 -36
- package/types/ceecDesign/src/gsDevFx/managers/persistenceManager.d.ts +2 -0
- package/types/ceecDesign/src/gsDevFx/managers/persistenceManager.d.ts.map +1 -1
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject.d.ts +53 -0
- package/types/ceecDesign/src/gsDevFx/objects/designBaseObject.d.ts.map +1 -0
- package/types/ceecDesign/src/gsDevFx/viewer.d.ts.map +1 -0
- package/types/ceecDesign/src/utils/cookie.d.ts +0 -38
- package/types/ceecDesign/src/utils/cookie.d.ts.map +0 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { Longan } from "gs-bim-air";
|
|
2
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
3
|
+
import { InstanceRenderObject } from "../instancesObjects/instanceRenderObject";
|
|
4
|
+
import { CardCURR } from "../../../caeCardEditor/caeCardObjects/seainp/cardCURR";
|
|
5
|
+
import { CaeNumber } from "../../../utility/utility";
|
|
6
|
+
|
|
7
|
+
export enum FactorOption {
|
|
8
|
+
None = "",
|
|
9
|
+
BC = "BC",
|
|
10
|
+
US = "US",
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export enum CrsetStretchingOption {
|
|
14
|
+
CN = "CN",
|
|
15
|
+
NL = "NL",
|
|
16
|
+
LN = "LN",
|
|
17
|
+
None = "",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export enum ElevationPercentOption {
|
|
21
|
+
True = "WDP",
|
|
22
|
+
False = ""
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export enum ApparentWavePeriodOption {
|
|
26
|
+
True = "AWP",
|
|
27
|
+
False = ""
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export enum VelocityUnitsOption {
|
|
31
|
+
True = "FPS",
|
|
32
|
+
False = ""
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export class CurrLoadObject extends DesignBaseObject {
|
|
36
|
+
public typeName = "CurrLoadObject";
|
|
37
|
+
|
|
38
|
+
loadCondition: string = "";
|
|
39
|
+
|
|
40
|
+
// 距离
|
|
41
|
+
elevationAboveMudline: number = 0;
|
|
42
|
+
// 流速
|
|
43
|
+
currentVelocity: number = 0;
|
|
44
|
+
// 方向
|
|
45
|
+
direction: number = 0;
|
|
46
|
+
|
|
47
|
+
mudlineElevationOverride: number = 0;
|
|
48
|
+
|
|
49
|
+
isElevationPercentOption: boolean = false;
|
|
50
|
+
|
|
51
|
+
isApparentWavePeriodOption: boolean = false;
|
|
52
|
+
|
|
53
|
+
factorOption: FactorOption = null;
|
|
54
|
+
|
|
55
|
+
factor: number = 0;
|
|
56
|
+
|
|
57
|
+
elevation: number = 0;
|
|
58
|
+
|
|
59
|
+
crsetStretchingOption: CrsetStretchingOption = null;
|
|
60
|
+
|
|
61
|
+
minimumInlineCurrentVelocity: number = 0;
|
|
62
|
+
|
|
63
|
+
isVelocityUnitsOption: boolean = false
|
|
64
|
+
|
|
65
|
+
public constructor(loadCondition?: string) {
|
|
66
|
+
super();
|
|
67
|
+
|
|
68
|
+
this.loadCondition = loadCondition;
|
|
69
|
+
|
|
70
|
+
this.instanceTypes.add("main", InstanceRenderObject.prototype);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
serialize(): void {
|
|
74
|
+
let obj = super.serialize();
|
|
75
|
+
|
|
76
|
+
if(this.loadCondition) {
|
|
77
|
+
obj.loadCondition = this.loadCondition
|
|
78
|
+
}
|
|
79
|
+
if(this.notNullAndNotUndefined(this.mudlineElevationOverride)) {
|
|
80
|
+
obj.mudlineElevationOverride = this.mudlineElevationOverride
|
|
81
|
+
}
|
|
82
|
+
if(this.isElevationPercentOption) {
|
|
83
|
+
obj.isElevationPercentOption = this.isElevationPercentOption
|
|
84
|
+
}
|
|
85
|
+
if(this.isApparentWavePeriodOption) {
|
|
86
|
+
obj.isApparentWavePeriodOption = this.isApparentWavePeriodOption
|
|
87
|
+
}
|
|
88
|
+
if(this.factorOption) {
|
|
89
|
+
obj.factorOption = this.factorOption
|
|
90
|
+
}
|
|
91
|
+
if(this.notNullAndNotUndefined(this.factor)) {
|
|
92
|
+
obj.factor = this.factor
|
|
93
|
+
}
|
|
94
|
+
if(this.notNullAndNotUndefined(this.elevation)) {
|
|
95
|
+
obj.elevation = this.elevation
|
|
96
|
+
}
|
|
97
|
+
if(this.crsetStretchingOption) {
|
|
98
|
+
obj.crsetStretchingOption = this.crsetStretchingOption
|
|
99
|
+
}
|
|
100
|
+
if(this.notNullAndNotUndefined(this.minimumInlineCurrentVelocity)) {
|
|
101
|
+
obj.minimumInlineCurrentVelocity = this.minimumInlineCurrentVelocity
|
|
102
|
+
}
|
|
103
|
+
if(this.isVelocityUnitsOption) {
|
|
104
|
+
obj.isVelocityUnitsOption = this.isVelocityUnitsOption
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return obj;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
deserialize(obj: any, pm?: Longan.PersistenceManager): void {
|
|
111
|
+
super.deserialize(obj);
|
|
112
|
+
|
|
113
|
+
if(obj.loadCondition) {
|
|
114
|
+
this.loadCondition = obj.loadCondition
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
this.mudlineElevationOverride = CaeNumber(obj.mudlineElevationOverride)
|
|
118
|
+
|
|
119
|
+
if(obj.isElevationPercentOption) {
|
|
120
|
+
this.isElevationPercentOption = obj.isElevationPercentOption
|
|
121
|
+
}
|
|
122
|
+
if(obj.isApparentWavePeriodOption) {
|
|
123
|
+
this.isApparentWavePeriodOption = obj.isApparentWavePeriodOption
|
|
124
|
+
}
|
|
125
|
+
if(obj.factorOption) {
|
|
126
|
+
this.factorOption = obj.factorOption
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
this.factor = CaeNumber(obj.factor)
|
|
130
|
+
|
|
131
|
+
this.elevation = CaeNumber(obj.elevation)
|
|
132
|
+
|
|
133
|
+
if(obj.crsetStretchingOption) {
|
|
134
|
+
this.crsetStretchingOption = obj.crsetStretchingOption
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
this.minimumInlineCurrentVelocity = CaeNumber(obj.minimumInlineCurrentVelocity)
|
|
138
|
+
|
|
139
|
+
if(obj.isVelocityUnitsOption) {
|
|
140
|
+
this.isVelocityUnitsOption = obj.isVelocityUnitsOption
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
serializeToCard() {
|
|
145
|
+
let cardCURR = new CardCURR()
|
|
146
|
+
cardCURR.lineLabel.value = "CURR"
|
|
147
|
+
cardCURR.elevationAboveMudline.value = this.elevationAboveMudline ? this.elevationAboveMudline.toString() : "";
|
|
148
|
+
cardCURR.currentVelocity.value = this.currentVelocity ? this.currentVelocity.toString() : "";
|
|
149
|
+
cardCURR.direction.value = this.direction ? this.direction.toString() : "";
|
|
150
|
+
cardCURR.mudlineElevationOverride.value = this.mudlineElevationOverride ? this.mudlineElevationOverride.toString() : "";
|
|
151
|
+
cardCURR.elevationPercentOption.value = this.isElevationPercentOption ? ElevationPercentOption.True : ElevationPercentOption.False;
|
|
152
|
+
cardCURR.apparentWavePeriodOption.value = this.isApparentWavePeriodOption ? ApparentWavePeriodOption.True : ApparentWavePeriodOption.False;
|
|
153
|
+
cardCURR.option.value = this.factorOption;
|
|
154
|
+
cardCURR.factor.value = this.factor ? this.factor.toString() : "";
|
|
155
|
+
cardCURR.elevation.value = this.elevation ? this.elevation.toString() : "";
|
|
156
|
+
cardCURR.crsetStretchingOption.value = this.crsetStretchingOption;
|
|
157
|
+
cardCURR.minimumInlineCurrentVelocity.value = this.minimumInlineCurrentVelocity ? this.minimumInlineCurrentVelocity.toString() : ""
|
|
158
|
+
cardCURR.velocityUnitsOption.value = this.isVelocityUnitsOption ? VelocityUnitsOption.True : VelocityUnitsOption.False
|
|
159
|
+
|
|
160
|
+
return cardCURR.getLine()
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -6,6 +6,9 @@ import { CardLOADCN } from "../../../caeCardEditor/caeCardObjects/seainp/cardLOA
|
|
|
6
6
|
import { MemberLoadBaseObject } from "./memberLoadBaseObject";
|
|
7
7
|
import { LoadBaseObject } from "./loadBaseObject";
|
|
8
8
|
import { JointLoadObject } from "./jointLoadObject";
|
|
9
|
+
import { WaveLoadObject } from "./waveLoadObject";
|
|
10
|
+
import { WindLoadObject } from "./windLoadObject";
|
|
11
|
+
import { CurrLoadObject } from "./currLoadObject";
|
|
9
12
|
import { SeastateWind } from "../caeObjects/optionObjects/seastateWind";
|
|
10
13
|
import { SeastateWave } from "../caeObjects/optionObjects/seastateWave";
|
|
11
14
|
import { SeastateCurr } from "../caeObjects/optionObjects/seastateCurr";
|
|
@@ -134,13 +137,13 @@ export class LoadConditionObject extends DesignBaseObject {
|
|
|
134
137
|
if(result !== null) {
|
|
135
138
|
text += result + "\n";
|
|
136
139
|
}
|
|
137
|
-
} else if (grandChild instanceof
|
|
140
|
+
} else if (grandChild instanceof WaveLoadObject) {
|
|
138
141
|
let result = grandChild.serializeToCard();
|
|
139
142
|
text += result + "\n";
|
|
140
|
-
} else if (grandChild instanceof
|
|
143
|
+
} else if (grandChild instanceof WindLoadObject) {
|
|
141
144
|
let result = grandChild.serializeToCard();
|
|
142
145
|
text += result + "\n";
|
|
143
|
-
} else if (grandChild instanceof
|
|
146
|
+
} else if (grandChild instanceof CurrLoadObject) {
|
|
144
147
|
let result = grandChild.serializeToCard();
|
|
145
148
|
text += result + "\n";
|
|
146
149
|
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { Longan } from "gs-bim-air";
|
|
2
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
3
|
+
import { InstanceRenderObject } from "../instancesObjects/instanceRenderObject";
|
|
4
|
+
import { CardWAVE } from "../../../caeCardEditor/caeCardObjects/seainp/cardWAVE";
|
|
5
|
+
import { CaeNumber } from "../../../utility/utility";
|
|
6
|
+
|
|
7
|
+
export enum WaveType {
|
|
8
|
+
AIRY = "AIRY",
|
|
9
|
+
AIRC = "AIRC",
|
|
10
|
+
STOK = "STOK",
|
|
11
|
+
STRE = "STRE",
|
|
12
|
+
STRN = "STRN",
|
|
13
|
+
CNOI = "CNOI",
|
|
14
|
+
SOLI = "SOLI",
|
|
15
|
+
LINE = "LINE",
|
|
16
|
+
REPT = "REPT"
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export enum LocalAccelOnly {
|
|
20
|
+
True = "L",
|
|
21
|
+
False = ""
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export enum InputMode {
|
|
25
|
+
Length = "L",
|
|
26
|
+
Degrees = "D",
|
|
27
|
+
Time = "T"
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export enum CriticalPosition {
|
|
31
|
+
MM = "MM",
|
|
32
|
+
NM = "NM",
|
|
33
|
+
MS = "MS",
|
|
34
|
+
NS = "NS",
|
|
35
|
+
MU = "MU",
|
|
36
|
+
MD = "MD",
|
|
37
|
+
AL = "AL"
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export enum PrintOption {
|
|
41
|
+
PrintOption0 = "0",
|
|
42
|
+
PrintOption1 = "1",
|
|
43
|
+
PrintOption2 = "2",
|
|
44
|
+
PrintOption3 = "3"
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export class WaveLoadObject extends DesignBaseObject {
|
|
48
|
+
public typeName = "WaveLoadObject";
|
|
49
|
+
|
|
50
|
+
loadCondition: string = "";
|
|
51
|
+
|
|
52
|
+
waveType: WaveType = WaveType.STRE;
|
|
53
|
+
|
|
54
|
+
waveHeight: number = 0;
|
|
55
|
+
|
|
56
|
+
wavePeriod: number = 0;
|
|
57
|
+
|
|
58
|
+
waveLength: number = 0;
|
|
59
|
+
|
|
60
|
+
waveAngle: number = 0;
|
|
61
|
+
|
|
62
|
+
kinematFactor: number = 0;
|
|
63
|
+
|
|
64
|
+
orderOfStream: number = 0;
|
|
65
|
+
|
|
66
|
+
isLocalAccelOnly: boolean = false;
|
|
67
|
+
|
|
68
|
+
inputMode: InputMode = InputMode.Length;
|
|
69
|
+
|
|
70
|
+
crestPosition: number = 0;
|
|
71
|
+
|
|
72
|
+
stepSize: number = 0;
|
|
73
|
+
|
|
74
|
+
dynSteps: number = 0;
|
|
75
|
+
|
|
76
|
+
staticSteps: number = 0;
|
|
77
|
+
|
|
78
|
+
criticalPosition: CriticalPosition = CriticalPosition.MM;
|
|
79
|
+
|
|
80
|
+
stillWaterDepth: number = 0;
|
|
81
|
+
|
|
82
|
+
mudlineElevation: number = 0;
|
|
83
|
+
|
|
84
|
+
memberSegmentationMax: number = 10;
|
|
85
|
+
|
|
86
|
+
memberSegmentationMin: number = 1;
|
|
87
|
+
|
|
88
|
+
printOption: PrintOption = PrintOption.PrintOption0;
|
|
89
|
+
|
|
90
|
+
public constructor(loadCondition?: string) {
|
|
91
|
+
super();
|
|
92
|
+
|
|
93
|
+
this.loadCondition = loadCondition;
|
|
94
|
+
|
|
95
|
+
this.instanceTypes.add("main", InstanceRenderObject.prototype);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
serialize(): void {
|
|
99
|
+
let obj = super.serialize();
|
|
100
|
+
|
|
101
|
+
if(this.loadCondition) {
|
|
102
|
+
obj.loadCondition = this.loadCondition
|
|
103
|
+
}
|
|
104
|
+
if(this.waveType) {
|
|
105
|
+
obj.waveType = this.waveType
|
|
106
|
+
}
|
|
107
|
+
if(this.notNullAndNotUndefined(this.waveHeight)) {
|
|
108
|
+
obj.waveHeight = this.waveHeight;
|
|
109
|
+
}
|
|
110
|
+
if(this.notNullAndNotUndefined(this.wavePeriod)) {
|
|
111
|
+
obj.wavePeriod = this.wavePeriod;
|
|
112
|
+
}
|
|
113
|
+
if(this.notNullAndNotUndefined(this.waveLength)) {
|
|
114
|
+
obj.waveLength = this.waveLength;
|
|
115
|
+
}
|
|
116
|
+
if(this.notNullAndNotUndefined(this.waveAngle)) {
|
|
117
|
+
obj.waveAngle = this.waveAngle;
|
|
118
|
+
}
|
|
119
|
+
if(this.notNullAndNotUndefined(this.kinematFactor)) {
|
|
120
|
+
obj.kinematFactor = this.kinematFactor;
|
|
121
|
+
}
|
|
122
|
+
if(this.notNullAndNotUndefined(this.orderOfStream)) {
|
|
123
|
+
obj.orderOfStream = this.orderOfStream;
|
|
124
|
+
}
|
|
125
|
+
if(this.inputMode) {
|
|
126
|
+
obj.inputMode = this.inputMode
|
|
127
|
+
}
|
|
128
|
+
if(this.isLocalAccelOnly) {
|
|
129
|
+
obj.isLocalAccelOnly = this.isLocalAccelOnly
|
|
130
|
+
}
|
|
131
|
+
if(this.notNullAndNotUndefined(this.crestPosition)) {
|
|
132
|
+
obj.crestPosition = this.crestPosition;
|
|
133
|
+
}
|
|
134
|
+
if(this.notNullAndNotUndefined(this.stepSize)) {
|
|
135
|
+
obj.stepSize = this.stepSize;
|
|
136
|
+
}
|
|
137
|
+
if(this.notNullAndNotUndefined(this.dynSteps)) {
|
|
138
|
+
obj.dynSteps = this.dynSteps;
|
|
139
|
+
}
|
|
140
|
+
if(this.notNullAndNotUndefined(this.staticSteps)) {
|
|
141
|
+
obj.staticSteps = this.staticSteps;
|
|
142
|
+
}
|
|
143
|
+
if(this.criticalPosition) {
|
|
144
|
+
obj.criticalPosition = this.criticalPosition
|
|
145
|
+
}
|
|
146
|
+
if(this.notNullAndNotUndefined(this.stillWaterDepth)) {
|
|
147
|
+
obj.stillWaterDepth = this.stillWaterDepth;
|
|
148
|
+
}
|
|
149
|
+
if(this.notNullAndNotUndefined(this.mudlineElevation)) {
|
|
150
|
+
obj.mudlineElevation = this.mudlineElevation;
|
|
151
|
+
}
|
|
152
|
+
if(this.notNullAndNotUndefined(this.memberSegmentationMax)) {
|
|
153
|
+
obj.memberSegmentationMax = this.memberSegmentationMax;
|
|
154
|
+
}
|
|
155
|
+
if(this.notNullAndNotUndefined(this.memberSegmentationMin)) {
|
|
156
|
+
obj.memberSegmentationMin = this.memberSegmentationMin;
|
|
157
|
+
}
|
|
158
|
+
if(this.printOption) {
|
|
159
|
+
obj.printOption = this.printOption;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return obj;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
deserialize(obj: any, pm?: Longan.PersistenceManager): void {
|
|
166
|
+
super.deserialize(obj);
|
|
167
|
+
|
|
168
|
+
if(obj.loadCondition) {
|
|
169
|
+
this.loadCondition = obj.loadCondition
|
|
170
|
+
}
|
|
171
|
+
if(obj.waveType) {
|
|
172
|
+
this.waveType = obj.waveType
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
this.waveHeight = CaeNumber(obj.waveHeight)
|
|
176
|
+
|
|
177
|
+
this.wavePeriod = CaeNumber(obj.wavePeriod)
|
|
178
|
+
|
|
179
|
+
this.waveLength = CaeNumber(obj.waveLength)
|
|
180
|
+
|
|
181
|
+
this.waveAngle = CaeNumber(obj.waveAngle)
|
|
182
|
+
|
|
183
|
+
this.kinematFactor = CaeNumber(obj.kinematFactor)
|
|
184
|
+
|
|
185
|
+
this.orderOfStream = CaeNumber(obj.orderOfStream)
|
|
186
|
+
|
|
187
|
+
if(obj.inputMode) {
|
|
188
|
+
this.inputMode = obj.inputMode
|
|
189
|
+
}
|
|
190
|
+
if(obj.isLocalAccelOnly) {
|
|
191
|
+
this.isLocalAccelOnly = obj.isLocalAccelOnly
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
this.crestPosition = CaeNumber(obj.crestPosition)
|
|
195
|
+
|
|
196
|
+
this.stepSize = CaeNumber(obj.stepSize)
|
|
197
|
+
|
|
198
|
+
this.dynSteps = CaeNumber(obj.dynSteps)
|
|
199
|
+
|
|
200
|
+
this.staticSteps = CaeNumber(obj.staticSteps)
|
|
201
|
+
|
|
202
|
+
if(obj.criticalPosition) {
|
|
203
|
+
this.criticalPosition = obj.criticalPosition
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
this.stillWaterDepth = CaeNumber(obj.stillWaterDepth)
|
|
207
|
+
|
|
208
|
+
this.mudlineElevation = CaeNumber(obj.mudlineElevation)
|
|
209
|
+
|
|
210
|
+
this.memberSegmentationMax = CaeNumber(obj.memberSegmentationMax)
|
|
211
|
+
|
|
212
|
+
this.memberSegmentationMin = CaeNumber(obj.memberSegmentationMin)
|
|
213
|
+
|
|
214
|
+
if(obj.printOption) {
|
|
215
|
+
this.printOption = obj.printOption
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
serializeToCard() {
|
|
220
|
+
let cardWAVE = new CardWAVE()
|
|
221
|
+
cardWAVE.lineLabel.value = "WAVE"
|
|
222
|
+
cardWAVE.waveType.value = this.waveType;
|
|
223
|
+
cardWAVE.waveHeight.value = this.waveHeight ? this.waveHeight.toString() : ""
|
|
224
|
+
cardWAVE.wavePeriod.value = this.wavePeriod ? this.wavePeriod.toString() : ""
|
|
225
|
+
cardWAVE.waveLength.value = this.waveLength ? this.waveLength.toString() : ""
|
|
226
|
+
cardWAVE.waveAngle.value = this.waveAngle ? this.waveAngle.toString() : ""
|
|
227
|
+
cardWAVE.kinematFactor.value = this.kinematFactor ? this.kinematFactor.toString() : ""
|
|
228
|
+
cardWAVE.orderOfStream.value = this.orderOfStream ? this.orderOfStream.toString() : ""
|
|
229
|
+
cardWAVE.inputMode.value = this.inputMode;
|
|
230
|
+
cardWAVE.localAccelOnly.value = this.isLocalAccelOnly ? LocalAccelOnly.True : ""
|
|
231
|
+
cardWAVE.crestPosition.value = this.crestPosition ? this.crestPosition.toString() : ""
|
|
232
|
+
cardWAVE.stepSize.value = this.stepSize ? this.stepSize.toString() : ""
|
|
233
|
+
cardWAVE.dynSteps.value = this.notNullAndNotUndefined(this.dynSteps) ? this.dynSteps.toString() : ""
|
|
234
|
+
cardWAVE.staticSteps.value = this.staticSteps ? this.staticSteps.toString() : ""
|
|
235
|
+
cardWAVE.stillWaterDepth.value = this.stillWaterDepth ? this.stillWaterDepth.toString() : ""
|
|
236
|
+
cardWAVE.mudlineElevation.value = this.mudlineElevation ? this.mudlineElevation.toString() : ""
|
|
237
|
+
cardWAVE.memberSegmentationMax.value = this.memberSegmentationMax ? this.memberSegmentationMax.toString() : ""
|
|
238
|
+
cardWAVE.memberSegmentationMin.value = this.memberSegmentationMin ? this.memberSegmentationMin.toString() : ""
|
|
239
|
+
|
|
240
|
+
return cardWAVE.getLine();
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { Longan } from "gs-bim-air";
|
|
2
|
+
import { DesignBaseObject } from "gs-ceec-design";
|
|
3
|
+
import { InstanceRenderObject } from "../instancesObjects/instanceRenderObject";
|
|
4
|
+
import { CardWIND } from "../../../caeCardEditor/caeCardObjects/seainp/cardWIND";
|
|
5
|
+
import { CaeNumber } from "../../../utility/utility";
|
|
6
|
+
|
|
7
|
+
export enum WindVariationDefinition {
|
|
8
|
+
CONS = "CONS",
|
|
9
|
+
ABS = "ABS",
|
|
10
|
+
AP07 = "AP07",
|
|
11
|
+
AP08 = "AP08",
|
|
12
|
+
AP09 = "AP09",
|
|
13
|
+
AP10 = "AP10",
|
|
14
|
+
AP11 = "AP11",
|
|
15
|
+
AP12 = "AP12",
|
|
16
|
+
AP13 = "AP13",
|
|
17
|
+
AS01 = "AS01",
|
|
18
|
+
AS02 = "AS02",
|
|
19
|
+
AS03 = "AS03",
|
|
20
|
+
AS04 = "AS04",
|
|
21
|
+
ABS2 = "ABS2",
|
|
22
|
+
AP21 = "21AP",
|
|
23
|
+
AP4F = "AP4F"
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export enum MemberLoadingOption {
|
|
27
|
+
None = "",
|
|
28
|
+
W = "W",
|
|
29
|
+
I = "I"
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export enum WaterDepthRatherThanOriginElevation {
|
|
33
|
+
Depth = "D",
|
|
34
|
+
Elevation = "S"
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export enum PrintDetailedLoadReport {
|
|
38
|
+
True = "1",
|
|
39
|
+
False = ""
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export class WindLoadObject extends DesignBaseObject {
|
|
43
|
+
public typeName = "WindLoadObject";
|
|
44
|
+
|
|
45
|
+
loadCondition: string = ""
|
|
46
|
+
|
|
47
|
+
windVelocity: number = 1;
|
|
48
|
+
|
|
49
|
+
referenceHeightOrWindPressure: number = 0;
|
|
50
|
+
|
|
51
|
+
windVariationDefinition: WindVariationDefinition = null;
|
|
52
|
+
|
|
53
|
+
windDirection: number = 0;
|
|
54
|
+
|
|
55
|
+
memberLoadingOption: MemberLoadingOption = null;
|
|
56
|
+
|
|
57
|
+
isWaterDepthRatherThanOriginElevation: boolean = true;
|
|
58
|
+
|
|
59
|
+
stillWaterDepthOverride: number = 0;
|
|
60
|
+
|
|
61
|
+
isPrintDetailedLoadReport: boolean = false;
|
|
62
|
+
|
|
63
|
+
public constructor(loadCondition?: string) {
|
|
64
|
+
super();
|
|
65
|
+
|
|
66
|
+
this.loadCondition = loadCondition;
|
|
67
|
+
|
|
68
|
+
this.instanceTypes.add("main", InstanceRenderObject.prototype);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
serialize(): void {
|
|
72
|
+
let obj = super.serialize();
|
|
73
|
+
|
|
74
|
+
if(this.loadCondition) {
|
|
75
|
+
obj.loadCondition = this.loadCondition;
|
|
76
|
+
}
|
|
77
|
+
if(this.notNullAndNotUndefined(this.windVelocity)) {
|
|
78
|
+
obj.windVelocity = this.windVelocity;
|
|
79
|
+
}
|
|
80
|
+
if(this.notNullAndNotUndefined(this.referenceHeightOrWindPressure)) {
|
|
81
|
+
obj.referenceHeightOrWindPressure = this.referenceHeightOrWindPressure;
|
|
82
|
+
}
|
|
83
|
+
if(this.windVariationDefinition) {
|
|
84
|
+
obj.windVariationDefinition = this.windVariationDefinition;
|
|
85
|
+
}
|
|
86
|
+
if(this.notNullAndNotUndefined(this.windDirection)) {
|
|
87
|
+
obj.windDirection = this.windDirection;
|
|
88
|
+
}
|
|
89
|
+
if(this.memberLoadingOption) {
|
|
90
|
+
obj.memberLoadingOption = this.memberLoadingOption;
|
|
91
|
+
}
|
|
92
|
+
if(this.isWaterDepthRatherThanOriginElevation) {
|
|
93
|
+
obj.isWaterDepthRatherThanOriginElevation = this.isWaterDepthRatherThanOriginElevation;
|
|
94
|
+
}
|
|
95
|
+
if(this.notNullAndNotUndefined(this.stillWaterDepthOverride)) {
|
|
96
|
+
obj.stillWaterDepthOverride = this.stillWaterDepthOverride;
|
|
97
|
+
}
|
|
98
|
+
if(this.isPrintDetailedLoadReport) {
|
|
99
|
+
obj.isPrintDetailedLoadReport = this.isPrintDetailedLoadReport;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return obj;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
deserialize(obj: any, pm?: Longan.PersistenceManager): void {
|
|
106
|
+
super.deserialize(obj);
|
|
107
|
+
|
|
108
|
+
if(this.loadCondition) {
|
|
109
|
+
obj.loadCondition = this.loadCondition;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
obj.windVelocity = CaeNumber(this.windVelocity);
|
|
113
|
+
|
|
114
|
+
obj.referenceHeightOrWindPressure = CaeNumber(this.referenceHeightOrWindPressure);
|
|
115
|
+
|
|
116
|
+
if(this.windVariationDefinition) {
|
|
117
|
+
obj.windVariationDefinition = this.windVariationDefinition;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
obj.windDirection = CaeNumber(this.windDirection);
|
|
121
|
+
|
|
122
|
+
if(this.memberLoadingOption) {
|
|
123
|
+
obj.memberLoadingOption = this.memberLoadingOption;
|
|
124
|
+
}
|
|
125
|
+
if(this.isWaterDepthRatherThanOriginElevation) {
|
|
126
|
+
obj.isWaterDepthRatherThanOriginElevation = this.isWaterDepthRatherThanOriginElevation;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
obj.stillWaterDepthOverride = CaeNumber(this.stillWaterDepthOverride);
|
|
130
|
+
|
|
131
|
+
if(this.isPrintDetailedLoadReport) {
|
|
132
|
+
obj.isPrintDetailedLoadReport = this.isPrintDetailedLoadReport;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
serializeToCard() {
|
|
138
|
+
let cardWIND = new CardWIND()
|
|
139
|
+
|
|
140
|
+
cardWIND.lineLabel.value = "WIND"
|
|
141
|
+
|
|
142
|
+
cardWIND.windVelocity.value = this.windVelocity ? this.windVelocity.toString() : ""
|
|
143
|
+
|
|
144
|
+
cardWIND.referenceHeightOrWindPressure.value = this.referenceHeightOrWindPressure ? this.referenceHeightOrWindPressure.toString() : ""
|
|
145
|
+
|
|
146
|
+
cardWIND.windVariationDefinition.value = this.windVariationDefinition
|
|
147
|
+
|
|
148
|
+
cardWIND.windDirection.value = this.windDirection ? this.windDirection.toString() : ""
|
|
149
|
+
|
|
150
|
+
cardWIND.memberLoadingOption.value = this.memberLoadingOption
|
|
151
|
+
|
|
152
|
+
cardWIND.waterDepthOrOriginElevation.value = this.isWaterDepthRatherThanOriginElevation ? WaterDepthRatherThanOriginElevation.Depth : WaterDepthRatherThanOriginElevation.Elevation
|
|
153
|
+
|
|
154
|
+
cardWIND.stillWaterDepthOverride.value = this.stillWaterDepthOverride ? this.stillWaterDepthOverride.toString() : ""
|
|
155
|
+
|
|
156
|
+
cardWIND.printDetailedLoadReport.value = this.isPrintDetailedLoadReport ? PrintDetailedLoadReport.True : PrintDetailedLoadReport.False
|
|
157
|
+
|
|
158
|
+
return cardWIND.getLine();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -78,49 +78,49 @@ export class TeeSectionProperty extends PropertyComponent {
|
|
|
78
78
|
["50x50", 50, 50, 5, 7, 8],
|
|
79
79
|
["62.5x50", 62.5, 60, 6, 8, 8],
|
|
80
80
|
["75x75", 75, 75, 5, 7, 8],
|
|
81
|
-
["87.
|
|
82
|
-
["87.
|
|
83
|
-
["
|
|
84
|
-
["
|
|
85
|
-
["
|
|
86
|
-
["
|
|
87
|
-
["
|
|
88
|
-
["
|
|
89
|
-
["
|
|
90
|
-
["
|
|
91
|
-
["
|
|
92
|
-
["
|
|
93
|
-
["
|
|
94
|
-
["
|
|
95
|
-
["
|
|
96
|
-
["
|
|
97
|
-
["237.
|
|
98
|
-
["237.
|
|
99
|
-
["237.
|
|
100
|
-
["
|
|
101
|
-
["
|
|
102
|
-
["
|
|
103
|
-
["
|
|
104
|
-
["
|
|
105
|
-
["
|
|
106
|
-
["
|
|
107
|
-
["
|
|
108
|
-
["
|
|
109
|
-
["
|
|
110
|
-
["
|
|
111
|
-
["312.
|
|
112
|
-
["312.
|
|
113
|
-
["312.
|
|
114
|
-
["
|
|
115
|
-
["
|
|
116
|
-
["
|
|
117
|
-
["
|
|
118
|
-
["
|
|
119
|
-
["
|
|
120
|
-
["
|
|
121
|
-
["
|
|
122
|
-
["
|
|
123
|
-
["
|
|
81
|
+
["87.5x90a", 87.5, 89, 4, 6, 8],
|
|
82
|
+
["87.5x90b", 87.5, 90, 5, 8, 8],
|
|
83
|
+
["100x100a", 99, 99, 4.5, 7, 8],
|
|
84
|
+
["100x100b", 100, 100, 8.5, 8, 8],
|
|
85
|
+
["125x125a", 124, 124, 5, 8, 8],
|
|
86
|
+
["125x125b", 125, 125, 6, 9, 8],
|
|
87
|
+
["150x150a", 149, 149, 5.5, 8, 13],
|
|
88
|
+
["150x150b", 150, 150, 6.5, 9, 13],
|
|
89
|
+
["175x175a", 173, 174, 6, 9, 13],
|
|
90
|
+
["175x175b", 175, 175, 7, 11, 13],
|
|
91
|
+
["200x200a", 198, 199, 7, 11, 13],
|
|
92
|
+
["200x200b", 200, 200, 8, 13, 13],
|
|
93
|
+
["225x150a", 223, 150, 7, 12, 13],
|
|
94
|
+
["225x150b", 225, 151, 8, 14, 13],
|
|
95
|
+
["225x200a", 223, 199, 8, 12, 13],
|
|
96
|
+
["225x200b", 225, 200, 9, 14, 13],
|
|
97
|
+
["237.5x150a", 235, 150, 7, 13, 13],
|
|
98
|
+
["237.5x150b", 237.5, 151.5, 8.5, 15.5, 13],
|
|
99
|
+
["237.5x150c", 241, 153.5, 10.5, 19, 13],
|
|
100
|
+
["250x150a", 246, 150, 7, 12, 13],
|
|
101
|
+
["250x150b", 250, 152, 9, 16, 13],
|
|
102
|
+
["250x150c", 252, 153, 10, 18, 13],
|
|
103
|
+
["250x200a", 248, 199, 9, 14, 13],
|
|
104
|
+
["250x200b", 250, 200, 10, 16, 13],
|
|
105
|
+
["250x200c", 253, 201, 11, 19, 13],
|
|
106
|
+
["275x200a", 273, 199, 9, 14, 13],
|
|
107
|
+
["275x200b", 275, 200, 10, 16, 13],
|
|
108
|
+
["300x200a", 298, 199, 10, 15, 13],
|
|
109
|
+
["300x200b", 300, 200, 11, 17, 13],
|
|
110
|
+
["300x200c", 303, 201, 12, 20, 13],
|
|
111
|
+
["312.5x200a", 312.5, 198.5, 13.5, 17.5, 13],
|
|
112
|
+
["312.5x200b", 315, 200, 15, 20, 13],
|
|
113
|
+
["312.5x200c", 319, 202, 17, 24, 13],
|
|
114
|
+
["325x300a", 323, 299, 10, 15, 12],
|
|
115
|
+
["325x300b", 325, 300, 11, 17, 13],
|
|
116
|
+
["325x300c", 328, 301, 12, 20, 13],
|
|
117
|
+
["350x300a", 346, 300, 13, 20, 13],
|
|
118
|
+
["350x300b", 350, 300, 13, 24, 13],
|
|
119
|
+
["400x300a", 396, 300, 14, 22, 18],
|
|
120
|
+
["400x300b", 400, 300, 14, 26, 18],
|
|
121
|
+
["450x300a", 445, 299, 15, 23, 18],
|
|
122
|
+
["450x300b", 450, 300, 16, 28, 18],
|
|
123
|
+
["450x300c", 456, 302, 18, 34, 18],
|
|
124
124
|
];
|
|
125
125
|
|
|
126
126
|
this.standardData = [];
|