Contains serialization classes and models for the NextMessage format.
$ dotnet add package Diagraph.Message.SerializationThe NextSerialization API has been created to facilitate reading and writing messages in the NEXT message format without the need to use the UI on an HMI device. Documentation for the serialization is available here: https://itwdiagraph.github.io/NextSerialization/
The NextSerialization API is intended to be used by customers or third-party agents with development teams tasked with creating custom messages outside of the NEXTCreate platform.
Install-Package NextSerialization -Version 1.0.0
<PackageReference Include="NextSerialization" Version="1.0.0" />
dotnet add package NextSerialization --version 1.0.0
var inputFile = "DiagraphReferenceResMarkData.next";
var messageSerializer = new MessageSerializer();
var message = MessageSerializer.ReadMessageFile<NextMessage>(inputFile);
var outputFile = @"DiagraphReference_Serialized.next";
MessageSerializer.WriteMessageFile<NextMessage>(message, outputFile);
This project is licensed under the MIT License