diff options
Diffstat (limited to 'UVtools.Core/FileFormats/ZCodeFile.cs')
-rw-r--r-- | UVtools.Core/FileFormats/ZCodeFile.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/UVtools.Core/FileFormats/ZCodeFile.cs b/UVtools.Core/FileFormats/ZCodeFile.cs index bdaaf1b..30ab1f4 100644 --- a/UVtools.Core/FileFormats/ZCodeFile.cs +++ b/UVtools.Core/FileFormats/ZCodeFile.cs @@ -27,11 +27,11 @@ using UVtools.Core.Operations; namespace UVtools.Core.FileFormats; -[Serializable] + [XmlRoot(ElementName = "Print")] public class ZCodePrint { - [Serializable] + [XmlRoot(ElementName = "Device")] public class ZcodePrintDevice { @@ -52,14 +52,14 @@ public class ZCodePrint } - [Serializable] + [XmlRoot(ElementName = "Profile")] public class ZcodePrintProfile { [XmlAttribute("name")] public string Name { get; set; } = "UVtools"; - [Serializable] + [XmlRoot(ElementName = "Slice")] public class ZcodePrintProfileSlice { @@ -106,7 +106,7 @@ public class ZCodePrint public ZcodePrintProfileSlice Slice { get; set; } = new(); } - [Serializable] + [XmlRoot(ElementName = "Job")] public class ZcodePrintJob { |