diff options
Diffstat (limited to 'UVtools.Core/FileFormats/PhotonSFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/PhotonSFile.cs | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/UVtools.Core/FileFormats/PhotonSFile.cs b/UVtools.Core/FileFormats/PhotonSFile.cs index 40e2602..2195e9d 100644 --- a/UVtools.Core/FileFormats/PhotonSFile.cs +++ b/UVtools.Core/FileFormats/PhotonSFile.cs @@ -231,11 +231,14 @@ namespace UVtools.Core.FileFormats public override PrintParameterModifier[] PrintParameterModifiers { get; } = { PrintParameterModifier.BottomLayerCount, - PrintParameterModifier.BottomExposureSeconds, - PrintParameterModifier.ExposureSeconds, - //PrintParameterModifier.BottomLightOffDelay, PrintParameterModifier.LightOffDelay, + + PrintParameterModifier.BottomExposureTime, + PrintParameterModifier.ExposureTime, + + //PrintParameterModifier.BottomLightOffDelay, + //PrintParameterModifier.BottomLiftHeight, //PrintParameterModifier.BottomLiftSpeed, PrintParameterModifier.LiftHeight, @@ -310,6 +313,14 @@ namespace UVtools.Core.FileFormats set => base.BottomLayerCount = (ushort) (HeaderSettings.BottomLayerCount = value); } + public override float BottomLightOffDelay => LightOffDelay; + + public override float LightOffDelay + { + get => (float)HeaderSettings.LightOffDelay; + set => base.LightOffDelay = (float)(HeaderSettings.LightOffDelay = Math.Round(value, 2)); + } + public override float BottomExposureTime { get => (float) HeaderSettings.BottomExposureSeconds; @@ -344,14 +355,6 @@ namespace UVtools.Core.FileFormats set => base.RetractSpeed = (float) (HeaderSettings.RetractSpeed = (float) Math.Round(value / 60.0, 2)); } - public override float BottomLightOffDelay => LightOffDelay; - - public override float LightOffDelay - { - get => (float)HeaderSettings.LightOffDelay; - set => base.LightOffDelay = (float)(HeaderSettings.LightOffDelay = Math.Round(value, 2)); - } - public override float MaterialMilliliters { |