diff options
Diffstat (limited to 'UVtools.Core/FileFormats/LGSFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/LGSFile.cs | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/UVtools.Core/FileFormats/LGSFile.cs b/UVtools.Core/FileFormats/LGSFile.cs index ecffe6e..b5dc348 100644 --- a/UVtools.Core/FileFormats/LGSFile.cs +++ b/UVtools.Core/FileFormats/LGSFile.cs @@ -252,15 +252,18 @@ 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.BottomLightOffDelay, - PrintParameterModifier.LightOffDelay, + }; public override Size[] ThumbnailsOriginalSize { get; } = {new(120, 150)}; @@ -361,6 +364,26 @@ namespace UVtools.Core.FileFormats } } + public override float BottomLightOffDelay + { + get => TimeExtensions.MillisecondsToSeconds(HeaderSettings.BottomLightOffDelayMs); + set + { + HeaderSettings.BottomLightOffDelayMs = TimeExtensions.SecondsToMilliseconds(value); + base.BottomLightOffDelay = value; + } + } + + public override float LightOffDelay + { + get => TimeExtensions.MillisecondsToSeconds(HeaderSettings.LightOffDelayMs); + set + { + HeaderSettings.LightOffDelayMs = TimeExtensions.SecondsToMilliseconds(value); + base.LightOffDelay = value; + } + } + public override float BottomExposureTime { get => TimeExtensions.MillisecondsToSeconds(HeaderSettings.BottomExposureTimeMs); @@ -407,26 +430,6 @@ namespace UVtools.Core.FileFormats public override float RetractSpeed => LiftSpeed; - public override float BottomLightOffDelay - { - get => TimeExtensions.MillisecondsToSeconds(HeaderSettings.BottomLightOffDelayMs); - set - { - HeaderSettings.BottomLightOffDelayMs = TimeExtensions.SecondsToMilliseconds(value); - base.BottomLightOffDelay = value; - } - } - - public override float LightOffDelay - { - get => TimeExtensions.MillisecondsToSeconds(HeaderSettings.LightOffDelayMs); - set - { - HeaderSettings.LightOffDelayMs = TimeExtensions.SecondsToMilliseconds(value); - base.LightOffDelay = value; - } - } - /*public override float PrintTime => 0; public override float UsedMaterial => 0; |