diff options
Diffstat (limited to 'UVtools.Core/FileFormats/PHZFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/PHZFile.cs | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/UVtools.Core/FileFormats/PHZFile.cs b/UVtools.Core/FileFormats/PHZFile.cs index 59c9eb7..c9a34ab 100644 --- a/UVtools.Core/FileFormats/PHZFile.cs +++ b/UVtools.Core/FileFormats/PHZFile.cs @@ -695,16 +695,19 @@ namespace UVtools.Core.FileFormats public override PrintParameterModifier[] PrintParameterModifiers { get; } = { PrintParameterModifier.BottomLayerCount, - PrintParameterModifier.BottomExposureSeconds, - PrintParameterModifier.ExposureSeconds, + + PrintParameterModifier.BottomLightOffDelay, + PrintParameterModifier.LightOffDelay, + + PrintParameterModifier.BottomExposureTime, + PrintParameterModifier.ExposureTime, PrintParameterModifier.BottomLiftHeight, PrintParameterModifier.BottomLiftSpeed, PrintParameterModifier.LiftHeight, PrintParameterModifier.LiftSpeed, PrintParameterModifier.RetractSpeed, - PrintParameterModifier.BottomLightOffDelay, - PrintParameterModifier.LightOffDelay, + PrintParameterModifier.BottomLightPWM, PrintParameterModifier.LightPWM, @@ -820,6 +823,18 @@ namespace UVtools.Core.FileFormats set => base.BottomLayerCount = (ushort) (HeaderSettings.BottomLayersCount2 = HeaderSettings.BottomLayersCount = value); } + public override float BottomLightOffDelay + { + get => HeaderSettings.BottomLightOffDelay; + set => base.BottomLightOffDelay = HeaderSettings.BottomLightOffDelay = (float)Math.Round(value, 2); + } + + public override float LightOffDelay + { + get => HeaderSettings.LightOffDelay; + set => base.LightOffDelay = HeaderSettings.LightOffDelay = (float)Math.Round(value, 2); + } + public override float BottomExposureTime { get => HeaderSettings.BottomExposureSeconds; @@ -862,18 +877,6 @@ namespace UVtools.Core.FileFormats set => base.RetractSpeed = HeaderSettings.RetractSpeed = (float)Math.Round(value, 2); } - public override float BottomLightOffDelay - { - get => HeaderSettings.BottomLightOffDelay; - set => base.BottomLightOffDelay = HeaderSettings.BottomLightOffDelay = (float)Math.Round(value, 2); - } - - public override float LightOffDelay - { - get => HeaderSettings.LightOffDelay; - set => base.LightOffDelay = HeaderSettings.LightOffDelay = (float)Math.Round(value, 2); - } - public override byte BottomLightPWM { get => (byte) HeaderSettings.BottomLightPWM; |