Commit afa3d089 authored by Francesco Carraro's avatar Francesco Carraro
Browse files

Rename meteor classes to meteorite classes and update types

Updated remoteoperations.xml to add GetMeteoriteClasses operation.
Renamed methods and updated return types in RemoteOperationsManagerMaterials.cs and InfoSampleDataViewModel.cs.
Changed GenerateAppInstallerFile property in INAF.Apps.Uwp.SLabDataManager.csproj to False.
Incremented app version in Package.appxmanifest to 1.0.50.0.
Renamed enum value in Enums.cs.
Updated InfoUserControl.xaml.cs to handle new method and return type.
parent e662d29f
Loading
Loading
Loading
Loading
+1 −0
Changes for INAF.Apps.Uwp.SLabDataManager/Assets/xml/remoteoperations.xml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
		<!-- EXTSERVICES -->
		<operation type="GetMeteorClasses">ExtServices/GetMeteorClasses</operation>
		<!-- MATERIALS -->
		<operation type="GetMeteoriteClasses">Materials/GetMeteoriteClasses</operation>
		<operation type="GetMinerals">Materials/GetMinerals</operation>
		<operation type="GetRocks">Materials/GetRocks</operation>
		<operation type="GetSampleDataValues">Materials/GetSampleDataValues</operation>
+2 −2
Changes for INAF.Apps.Uwp.SLabDataManager/Helpers/RemoteOperations/RemoteOperationsManagerMaterials.cs: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,9 +8,9 @@ namespace INAF.Apps.Uwp.SLabDataManager.Helpers.RemoteOperations
{
    public partial class RemoteOperationsManager
    {
        public async Task<MaterialsContainer> getMeteorClassesAsync(string text)
        public async Task<List<MaterialBaseModel>> getMeteoriteClassesAsync(string text)
        {
            return await getAsync<MaterialsContainer>(RemoteOperationType.GetMeteorClasses, buildArgument("Text", text));
            return await getAsync<List<MaterialBaseModel>>(RemoteOperationType.GetMeteoriteClasses, buildArgument("Text", text));
        }

        public async Task<List<MaterialBaseModel>> getMineralsAsync(string text)
+1 −1
Changes for INAF.Apps.Uwp.SLabDataManager/INAF.Apps.Uwp.SLabDataManager.csproj: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
    </PackageCertificateKeyFile>
    <PackageCertificateThumbprint>FC090018872EA8683813EDCA0FEAD5D0F7B3E266</PackageCertificateThumbprint>
    <AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
    <GenerateAppInstallerFile>True</GenerateAppInstallerFile>
    <GenerateAppInstallerFile>False</GenerateAppInstallerFile>
    <AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
    <AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
    <GenerateTestArtifacts>True</GenerateTestArtifacts>
+1 −1
Changes for INAF.Apps.Uwp.SLabDataManager/Package.appxmanifest: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  <Identity
    Name="INAF.Apps.Uwp.SLabDataManager"
    Publisher="CN=INAF-IAPS, O=INAF-IAPS, C=IT"
    Version="1.0.49.0" />
    Version="1.0.50.0" />

  <mp:PhoneIdentity PhoneProductId="07F38165-05DE-4ED7-8514-60D1E8CDCBFE" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

+1 −1
Changes for INAF.Apps.Uwp.SLabDataManager/Values/Enums.cs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
            /* MATERIALS */
            GetMinerals,
            GetRocks,
            GetMeteorClasses,
            GetMeteoriteClasses,
            /* PERMISSIONS */
            IsSaveOnCloudFromAppPermissionGranted,
            /* SAMPLE AND MEASUREMENT */
Loading