Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Core/FileFormats/MDLPFile.cs')
-rw-r--r--UVtools.Core/FileFormats/MDLPFile.cs26
1 files changed, 11 insertions, 15 deletions
diff --git a/UVtools.Core/FileFormats/MDLPFile.cs b/UVtools.Core/FileFormats/MDLPFile.cs
index 21b61cd..2899843 100644
--- a/UVtools.Core/FileFormats/MDLPFile.cs
+++ b/UVtools.Core/FileFormats/MDLPFile.cs
@@ -157,11 +157,11 @@ namespace UVtools.Core.FileFormats
public override PrintParameterModifier[] PrintParameterModifiers { get; } =
{
PrintParameterModifier.BottomLayerCount,
- PrintParameterModifier.BottomExposureSeconds,
- PrintParameterModifier.ExposureSeconds,
+ PrintParameterModifier.LightOffDelay,
+ PrintParameterModifier.BottomExposureTime,
+ PrintParameterModifier.ExposureTime,
//PrintParameterModifier.BottomLightOffDelay,
- PrintParameterModifier.LightOffDelay,
/*PrintParameterModifier.BottomLiftHeight,
PrintParameterModifier.BottomLiftSpeed,
PrintParameterModifier.LiftHeight,
@@ -272,6 +272,14 @@ namespace UVtools.Core.FileFormats
set => base.BottomLayerCount = SlicerInfoSettings.BottomLayers = value;
}
+ public override float BottomLightOffDelay => LightOffDelay;
+
+ public override float LightOffDelay
+ {
+ get => SlicerInfoSettings.LightOffDelay;
+ set => base.LightOffDelay = SlicerInfoSettings.LightOffDelay = (ushort)value;
+ }
+
public override float BottomExposureTime
{
get => SlicerInfoSettings.BottomExposureTime;
@@ -284,18 +292,6 @@ namespace UVtools.Core.FileFormats
set => base.ExposureTime = SlicerInfoSettings.ExposureTime = (ushort)value;
}
- public override float BottomLightOffDelay
- {
- get => LightOffDelay;
- set { }
- }
-
- public override float LightOffDelay
- {
- get => SlicerInfoSettings.LightOffDelay;
- set => base.LightOffDelay = SlicerInfoSettings.LightOffDelay = (ushort)value;
- }
-
public override object[] Configs => new[] { (object)HeaderSettings, SlicerInfoSettings };
#endregion