Skip to content

Commit

Permalink
Translation protocoll successfull
Browse files Browse the repository at this point in the history
  • Loading branch information
BexanderAlong committed Feb 26, 2024
1 parent 4af9cb2 commit 6b18d01
Show file tree
Hide file tree
Showing 18 changed files with 469 additions and 82 deletions.
7 changes: 7 additions & 0 deletions CityBIM/CityBIM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -235,5 +235,12 @@
<Compile Remove="obj\x64\Revit2021_Debug\GUI\Properties\PropertyWindow.g.cs" />
<Compile Remove="obj\x64\Revit2021_Debug\GUI\XPlan2BIM\ImportXPlanDialog.g.cs" />
</ItemGroup>
<ItemGroup>
<Compile Update="ResourcePictures.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>ResourcePictures.resx</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="..\CommonRevit\CommonRevit.projitems" Label="Shared" />
</Project>
73 changes: 41 additions & 32 deletions CityBIM/ResourcePictures.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions CityBIM/ResourcePictures.resx
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,7 @@
<data name="XPlan_32px" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>img\XPlan_32px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LoGeoRef50IsNotFulfilled" xml:space="preserve">
<value>LoGeoRef50 is not fulfilled</value>
</data>
</root>
9 changes: 8 additions & 1 deletion IFCGeoRefCheckerGUI/IfcCheckerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@ namespace IFCGeoRefCheckerGUI
{
class IfcCheckerService
{
private readonly ITranslator _translator;

public IfcCheckerService(ITranslator translator)
{
_translator = translator ?? throw new ArgumentNullException(nameof(translator));
}
public GeoRefChecker CheckIFC(string filePath)
{
using (var model = IfcStore.Open(filePath))
{
var checker = new GeoRefChecker(model);
//var checker = new GeoRefChecker(model);
var checker = new GeoRefChecker(model, _translator);
return checker;
}
}
Expand Down
1 change: 0 additions & 1 deletion IFCGeoRefCheckerGUI/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public void UpdateUITexts()
CheckFileBtn.Content = Properties.Resources.CHECK_SELECTED_FILE;
SetWorkDirGroupBox.Header = Properties.Resources.SET_WORKING_DIRECTORY;
WorkingDirLabel.Content = Properties.Resources.WORKING_DIRECTORY_LABEL;
//PathTextBox.Text = Properties.Resources.PATH_TEXTBOX;
InputIFCGroupBox.Header = Properties.Resources.INPUT_IFC_FILES;
StatusLabel.Content = Properties.Resources.STATUS_LABEL;
LoadedIFCFilesLabel.Content = Properties.Resources.LOADED_IFC_FILES;
Expand Down
Loading

0 comments on commit 6b18d01

Please sign in to comment.