From ba6abe56c52a9ba0e73c30062ed2e73dee883fa6 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 4 Feb 2018 16:44:48 +0200 Subject: Added basic skeleton for job printing communication. Added Job Handling for Machine Operator & Machine Emulator. --- Software/Visual_Studio/Tango.UnitTesting/Protobuf_TST.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Software/Visual_Studio/Tango.UnitTesting') diff --git a/Software/Visual_Studio/Tango.UnitTesting/Protobuf_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/Protobuf_TST.cs index edf8b2833..2e3776677 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/Protobuf_TST.cs +++ b/Software/Visual_Studio/Tango.UnitTesting/Protobuf_TST.cs @@ -66,17 +66,17 @@ namespace Tango.UnitTesting { var console = Helper.InitializeLogging(true); - TangoMessage container = MessageFactory.CreateTangoMessage(); + TangoMessage container = MessageFactory.CreateTangoMessage(); container.Message.Name = "Test Job"; - container.Message.Segments.Add(new Segment() + container.Message.Segments.Add(new JobSegment() { Length = 10, Name = "Segment 1" }); - container.Message.Segments.Add(new Segment() + container.Message.Segments.Add(new JobSegment() { Length = 100, Name = "Segment 2" @@ -86,7 +86,7 @@ namespace Tango.UnitTesting var bytes = container.ToBytes(); - var parsed = MessageFactory.ParseTangoMessage(bytes); + var parsed = MessageFactory.ParseTangoMessage(bytes); LogManager.Log("Read Message:" + Environment.NewLine + JsonConvert.SerializeObject(parsed.Message, Formatting.Indented)); -- cgit v1.3.1