From 0cb5361d30e762e6461bacd5305776473e3e761f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Sun, 1 Jan 2023 18:20:11 +0000 Subject: [PATCH] Rename Anet format --- UVtools.Core/FileFormats/{AnetN4File.cs => AnetFile.cs} | 6 +++--- UVtools.Core/FileFormats/FileFormat.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename UVtools.Core/FileFormats/{AnetN4File.cs => AnetFile.cs} (99%) diff --git a/UVtools.Core/FileFormats/AnetN4File.cs b/UVtools.Core/FileFormats/AnetFile.cs similarity index 99% rename from UVtools.Core/FileFormats/AnetN4File.cs rename to UVtools.Core/FileFormats/AnetFile.cs index 9d3e8cc..a80e161 100644 --- a/UVtools.Core/FileFormats/AnetN4File.cs +++ b/UVtools.Core/FileFormats/AnetFile.cs @@ -26,7 +26,7 @@ namespace UVtools.Core.FileFormats; /// and added several new fields (as example, preview image). /// Some of the format features are not recommended to use (BaseLayersCount and FilledBaseLayersCount). /// -public sealed class AnetN4File : FileFormat +public sealed class AnetFile : FileFormat { #region Constants @@ -265,7 +265,7 @@ public sealed class AnetN4File : FileFormat public override FileFormatType FileType => FileFormatType.Binary; public override FileExtension[] FileExtensions { get; } = { - new(typeof(AnetN4File), "n4", "Anet N4"), + new(typeof(AnetFile), "n4", "Anet N4"), }; public override SpeedUnit FormatSpeedUnit => SpeedUnit.MillimetersPerSecond; @@ -416,7 +416,7 @@ public sealed class AnetN4File : FileFormat #endregion #region Constructors - public AnetN4File() + public AnetFile() { MachineZ = MACHINE_Z; } diff --git a/UVtools.Core/FileFormats/FileFormat.cs b/UVtools.Core/FileFormats/FileFormat.cs index 597b8bd..462d3aa 100644 --- a/UVtools.Core/FileFormats/FileFormat.cs +++ b/UVtools.Core/FileFormats/FileFormat.cs @@ -385,7 +385,7 @@ public abstract class FileFormat : BindableBase, IDisposable, IEquatable