diff --git a/CHANGELOG.md b/CHANGELOG.md index 10a656b..6d2e9c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,12 @@ * (Improvement) GUI is now scalable * (Fix) Some bug found and fixed during convertion -## 01/10/2020 - v0.8.4.1 +## 10/10/2020 - v0.8.4.1 +* (Add) Tool - Modify print parameters: Value unit to confirmation text +* (Change) Tool - Modify print parameters: Maximum allowed exposure times from 255s to 1000s (#69) * (Change) On operations, instead of partial backup a whole backup is made, this allow cancel operations which changes layer count and other structure changes +* (Improvement) PrusaSlicer profile manager: Files are now checked against checksum instead write time to prevent trigger an false update when using MSI installer * (Fix) Tool - Layer Import: Allow cancel operation * (Fix) Tool - Layer Import: When importing layers that increase the total layer count of the file program stays forever on progress * (Fix) Tool - Layer Clone: Layer information was the same as heights, fixed to show the result of operation in layers diff --git a/UVtools.Core/FileFormats/FileFormat.cs b/UVtools.Core/FileFormats/FileFormat.cs index 0bdd541..2c7780c 100644 --- a/UVtools.Core/FileFormats/FileFormat.cs +++ b/UVtools.Core/FileFormats/FileFormat.cs @@ -57,8 +57,8 @@ namespace UVtools.Core.FileFormats #region Instances public static PrintParameterModifier BottomLayerCount { get; } = new PrintParameterModifier("Bottom layer count", null, "layers",0, ushort.MaxValue, 0); - public static PrintParameterModifier BottomExposureSeconds { get; } = new PrintParameterModifier("Bottom exposure time", null, "s", 0.1M, byte.MaxValue, 2); - public static PrintParameterModifier ExposureSeconds { get; } = new PrintParameterModifier("Exposure time", null, "s", 0.1M, byte.MaxValue, 2); + public static PrintParameterModifier BottomExposureSeconds { get; } = new PrintParameterModifier("Bottom exposure time", null, "s", 0.1M, 1000, 2); + public static PrintParameterModifier ExposureSeconds { get; } = new PrintParameterModifier("Exposure time", null, "s", 0.1M, 1000, 2); public static PrintParameterModifier BottomLayerOffTime { get; } = new PrintParameterModifier("Bottom layer off seconds", null, "s"); public static PrintParameterModifier LayerOffTime { get; } = new PrintParameterModifier("Layer off seconds", null, "s"); diff --git a/UVtools.Core/Operations/OperationEditParameters.cs b/UVtools.Core/Operations/OperationEditParameters.cs index 968c552..8b26745 100644 --- a/UVtools.Core/Operations/OperationEditParameters.cs +++ b/UVtools.Core/Operations/OperationEditParameters.cs @@ -32,7 +32,7 @@ namespace UVtools.Core.Operations foreach (var modifier in Modifiers) { if(!modifier.HasChanged) continue; - sb.AppendLine($"{modifier.Name}: {modifier.OldValue} » {modifier.NewValue}"); + sb.AppendLine($"{modifier.Name}: {modifier.OldValue}{modifier.ValueUnit} » {modifier.NewValue}{modifier.ValueUnit}"); } return $"commit print parameter changes?\n{sb}"; } diff --git a/UVtools.GUI/Forms/FrmInstallPEProfiles.cs b/UVtools.GUI/Forms/FrmInstallPEProfiles.cs index 9b2ce81..9adfa5f 100644 --- a/UVtools.GUI/Forms/FrmInstallPEProfiles.cs +++ b/UVtools.GUI/Forms/FrmInstallPEProfiles.cs @@ -8,7 +8,9 @@ using System; using System.Drawing; using System.IO; +using System.Linq; using System.Windows.Forms; +using UVtools.Core.Objects; namespace UVtools.GUI.Forms { @@ -53,7 +55,8 @@ namespace UVtools.GUI.Forms if (targetFileInfo.Exists) { installedCount++; - if (targetFileInfo.Length != fileInfo.Length || targetFileInfo.LastWriteTime != fileInfo.LastWriteTime) + if (targetFileInfo.Length != fileInfo.Length || !StaticObjects.GetHashSha256(targetFileInfo.FullName).SequenceEqual(StaticObjects.GetHashSha256(fileInfo.FullName))) + //if (targetFileInfo.Length != fileInfo.Length || targetFileInfo.LastWriteTime != fileInfo.LastWriteTime) { item.ForeColor = Color.Red; item.Checked = true;