Commit 3d2cea6c authored by Francesco Carraro's avatar Francesco Carraro
Browse files

MINOR FIXES

Update spectrum model and version number

- Modified `ChartSpectrumModel` to include a new `filepath` parameter and removed the `Title` assignment.
- Updated version number in `Package.appxmanifest` from `1.0.53.0` to `1.0.54.0`.
- Changed `readFileAsync` in `MainViewModel` to use `SpectrumLevel.SingleAcquisition` for spectrum processing.
parent bb012aa2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ namespace INAF.Apps.Uwp.SLabDataManager.Models.Chart
                                  string filepath) : this(serviceProvider, spectrumType, spectrumLevel, filename)
        {
            Filepath = filepath;
            Title = getTitle();

            IsVisible = true;
        }
+1 −1
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.53.0" />
    Version="1.0.54.0" />

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

+1 −1
Original line number Diff line number Diff line
@@ -500,7 +500,7 @@ namespace INAF.Apps.Uwp.SLabDataManager.ViewModels

            /* retrieve usefull items for reading new spectrum and read it */
            LabSpectrumFileReader reader = serviceProvider.GetRequiredService<LabSpectrumFileReader>();
            (IChartSpectrumModel spectrum, string exMsg) result = await reader.readFileAsync(spectrumType.ToString(), SpectrumLevel.Averaged);
            (IChartSpectrumModel spectrum, string exMsg) result = await reader.readFileAsync(spectrumType.ToString(), SpectrumLevel.SingleAcquisition);

            if (!string.IsNullOrEmpty(result.exMsg))
            {