Rename Anet format

This commit is contained in:
Tiago Conceição
2023-01-01 18:20:11 +00:00
parent fd87a9a0f8
commit 0cb5361d30
2 changed files with 4 additions and 4 deletions
@@ -26,7 +26,7 @@ namespace UVtools.Core.FileFormats;
/// and added several new fields (as example, preview image). /// and added several new fields (as example, preview image).
/// Some of the format features are not recommended to use (BaseLayersCount and FilledBaseLayersCount). /// Some of the format features are not recommended to use (BaseLayersCount and FilledBaseLayersCount).
/// </summary> /// </summary>
public sealed class AnetN4File : FileFormat public sealed class AnetFile : FileFormat
{ {
#region Constants #region Constants
@@ -265,7 +265,7 @@ public sealed class AnetN4File : FileFormat
public override FileFormatType FileType => FileFormatType.Binary; public override FileFormatType FileType => FileFormatType.Binary;
public override FileExtension[] FileExtensions { get; } = { public override FileExtension[] FileExtensions { get; } = {
new(typeof(AnetN4File), "n4", "Anet N4"), new(typeof(AnetFile), "n4", "Anet N4"),
}; };
public override SpeedUnit FormatSpeedUnit => SpeedUnit.MillimetersPerSecond; public override SpeedUnit FormatSpeedUnit => SpeedUnit.MillimetersPerSecond;
@@ -416,7 +416,7 @@ public sealed class AnetN4File : FileFormat
#endregion #endregion
#region Constructors #region Constructors
public AnetN4File() public AnetFile()
{ {
MachineZ = MACHINE_Z; MachineZ = MACHINE_Z;
} }
+1 -1
View File
@@ -385,7 +385,7 @@ public abstract class FileFormat : BindableBase, IDisposable, IEquatable<FileFor
new ZCodexFile(), // zcodex new ZCodexFile(), // zcodex
new MDLPFile(), // MKS v1 new MDLPFile(), // MKS v1
new GR1File(), // GR1 Workshop new GR1File(), // GR1 Workshop
new AnetN4File(), // N4 new AnetFile(), // Anet N4, N7
new FlashForgeSVGXFile(), // SVGX new FlashForgeSVGXFile(), // SVGX
new OSLAFile(), // OSLA new OSLAFile(), // OSLA
new OSFFile(), // OSF new OSFFile(), // OSF