Skip to content

Commit

Permalink
#339: addedcode for plot to map feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jameljoseph committed Sep 5, 2024
1 parent 0ab889e commit 0331bc2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions GSCFieldApp/Dictionaries/DatabaseLiterals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ public static class DatabaseLiterals
public const string FieldStructureNotes = "NOTES";//Version 1.0
public const string FieldStructureParentID = "EARTHMATID";//Version 1.0
public const string FieldStructureSymAng = "SYMANG";//Version 1.0
public const string FieldStructurePlotToMap = "PLOTTOMAP";//Version 1.0

public const string FieldPFlowID = "PFLOWID";//Version 1.0
public const string FieldPFlowName = "PFLOWIDNAME";//Version 1.0
Expand Down
2 changes: 1 addition & 1 deletion GSCFieldApp/GSCFieldApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<RuntimeIdentifiers>win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot</RuntimeIdentifiers>
<PackageCertificateThumbprint>14CF0ECF911C8A37CF0E2EF4F8E06F25425B80C1</PackageCertificateThumbprint>
<PackageCertificateThumbprint>4B3837ADC7E39F5E6218C6F9261755C2F8E7F1AC</PackageCertificateThumbprint>
<AppxPackageDir>C:\work data\datacollections\PublishedVersions\</AppxPackageDir>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppInstallerUpdateFrequency>100</AppInstallerUpdateFrequency>
Expand Down
3 changes: 3 additions & 0 deletions GSCFieldApp/Models/Structure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public class Structure
[Column(DatabaseLiterals.FieldStructureFormat)]
public string StructureFormat { get; set; }

[Column(DatabaseLiterals.FieldStructurePlotToMap)]
public string StructurePlotToMap { get; set; }

[Column(DatabaseLiterals.FieldStructureAttitude)]
public string StructureAttitude { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion GSCFieldApp/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:iot="http://schemas.microsoft.com/appx/manifest/iot/windows10" IgnorableNamespaces="uap mp uap3 iot">
<Identity Name="NaturalResourcesCanada.GeologicalSurveyCanadaField" Publisher="CN=Geological Survey of Canada, O=Natural Resources Canada, C=CA" Version="2.4.1.0" />
<Identity Name="NaturalResourcesCanada.GeologicalSurveyCanadaField" Publisher="CN=jjoseph" Version="2.4.1.0" />
<mp:PhoneIdentity PhoneProductId="06e90cbe-1a34-4205-8fe6-3ce0ad4467db" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>Geological Survey Canada Field Application</DisplayName>
Expand Down
2 changes: 2 additions & 0 deletions GSCFieldApp/Views/StructureDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@
ItemsSource="{x:Bind strucViewModel.StructFormat}"
SelectedValue="{x:Bind strucViewModel.SelectedStructFormat, Mode=TwoWay}"
SelectionChanged="StructureFormatCombobox_SelectionChanged" TabIndex="7" />
<CheckBox x:Name="StructurePlotToMapCheckBox" Content="Plot To Map"
IsChecked="{x:Bind strucViewModel.SelectedStructPlotToMap, Mode=TwoWay}" />
</GridView>

<Rectangle Style="{StaticResource Horizontal}" x:Name="MainSeparator_02"
Expand Down

0 comments on commit 0331bc2

Please sign in to comment.