Skip to content

Commit 8facab1

Browse files
Add commas to the BarDifferentialTemperatureLoad Convert method
1 parent 65714b5 commit 8facab1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

MidasCivil_Adapter/Convert/ToMidasCivil/Loads/FromAreaDifferentialTemperatureLoad.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ public static string FromAreaDifferentialTemperatureLoad(this AreaDifferentialTe
3434
{
3535
string midasFEMeshLoad = null;
3636
double temperatureDifference = temperatureProfile.TemperatureProfile[0].DeltaTemperatureToSI(temperatureUnit) - temperatureProfile.TemperatureProfile[1].DeltaTemperatureToSI(temperatureUnit);
37-
midasFEMeshLoad = assignedFEMesh + ",2," + temperatureDifference + "," + "YES,0," +
38-
temperatureProfile.Name;
37+
midasFEMeshLoad = assignedFEMesh + ",2," + temperatureDifference + "," + "YES,0," + temperatureProfile.Name;
3938
return midasFEMeshLoad;
4039
}
4140

MidasCivil_Adapter/Convert/ToMidasCivil/Loads/FromBarDifferentialTemperatureLoad.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static List<string> FromBarDifferentialTemperatureLoad(this BarDifferenti
5151
}
5252
double presetWidth = sectionProperty.Area / depth;
5353
double temperatureProfileCount = load.TemperatureProfile.Keys.Count - 1;
54-
string firstLine = ids.Trim() + "," + loadDirection + ",Bot ," + temperatureProfileCount + load.Name + "No";
54+
string firstLine = ids.Trim() + "," + loadDirection + ",Bot ," + temperatureProfileCount + "," + load.Name + "," + "No";
5555
List<string> midasBarLoad = new List<string>();
5656
midasBarLoad.Add(firstLine);
5757
for (int i = 1; i < load.TemperatureProfile.Keys.Count; i++)

0 commit comments

Comments
 (0)