aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Native
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-04 19:00:08 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-04 19:00:08 +0200
commit6561bc7a1beb1cd16a137b99208bbc76ee62e0a8 (patch)
treed5088f333da0803d7e3e9985bc75493d4fc0fab6 /Software/Visual_Studio/Native
parentba6abe56c52a9ba0e73c30062ed2e73dee883fa6 (diff)
downloadTango-6561bc7a1beb1cd16a137b99208bbc76ee62e0a8.tar.gz
Tango-6561bc7a1beb1cd16a137b99208bbc76ee62e0a8.zip
Started working on color conversion structures.
Diffstat (limited to 'Software/Visual_Studio/Native')
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp96
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h19
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp14
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.c105
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.h74
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c43
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h46
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c183
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h87
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c105
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h75
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c352
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h113
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c248
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h96
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.c72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.h70
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.c72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.h70
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h2
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c130
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h29
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.c92
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.h72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.c118
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.h76
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c131
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h79
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.c72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.h70
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.c92
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.h72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c6
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h2
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.c92
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.h72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.c92
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.h72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.c72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.h70
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.c72
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.h70
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.c105
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.h73
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.c105
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.h74
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.c105
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.h73
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.c118
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.h75
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.c170
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.h85
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.c37
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.h43
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.c287
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.h101
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c39
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h13
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c30
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h13
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.c92
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.h75
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.c170
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.h99
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.c144
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.h95
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.c105
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.h79
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c27
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c32
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c23
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c27
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h12
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj14
-rw-r--r--Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters45
92 files changed, 6265 insertions, 196 deletions
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp
new file mode 100644
index 000000000..03637e750
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.cpp
@@ -0,0 +1,96 @@
+#include "ColorConverter.h"
+#include "PMR\ColorLab\CalibrationPoint.pb-c.h"
+#include "PMR\ColorLab/ColorSpace.pb-c.h"
+#include "PMR\ColorLab/ConversionInput.pb-c.h"
+#include "PMR\ColorLab/ConversionOutput.pb-c.h"
+#include "PMR\ColorLab/InputColor.pb-c.h"
+#include "PMR\ColorLab/OutputColor.pb-c.h"
+
+Tango::ColorLib::ColorConverter::ColorConverter()
+{
+
+}
+
+
+Tango::ColorLib::ColorConverter::~ColorConverter()
+{
+
+}
+
+size_t Tango::ColorLib::ColorConverter::ForwardConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer)
+{
+ //Get Input...
+ ConversionInput* input = conversion_input__unpack(NULL, input_buffer_size, input_buffer);
+
+ //Initialize Output...
+
+ ConversionOutput output = CONVERSION_OUTPUT__INIT;
+
+ //How To Fill...
+
+ int suggestion_count = 3;
+
+ OutputColor** suggestions = (OutputColor**)malloc(sizeof(OutputColor*) * suggestion_count);
+
+ for (size_t i = 0; i < suggestion_count; i++)
+ {
+ OutputColor* color = (OutputColor*)malloc(sizeof(OutputColor));
+ output_color__init(color);
+
+ color->red = 1;
+ color->green = 2;
+ color->blue = 3;
+
+ suggestions[i] = color;
+ }
+
+ output.suggestions = suggestions;
+ output.n_suggestions = suggestion_count;
+
+ //Generate Output...
+
+ output_buffer = (uint8_t*)malloc(conversion_output__get_packed_size(&output));
+
+ return conversion_output__pack(&output, output_buffer);
+}
+
+
+
+
+
+size_t Tango::ColorLib::ColorConverter::InverseConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer)
+{
+ //Get Input...
+ ConversionInput* input = conversion_input__unpack(NULL, input_buffer_size, input_buffer);
+
+ //Initialize Output...
+
+ ConversionOutput output = CONVERSION_OUTPUT__INIT;
+
+ //How To Fill...
+
+ int suggestion_count = 3;
+
+ OutputColor** suggestions = (OutputColor**)malloc(sizeof(OutputColor*) * suggestion_count);
+
+ for (size_t i = 0; i < suggestion_count; i++)
+ {
+ OutputColor* color = (OutputColor*)malloc(sizeof(OutputColor));
+ output_color__init(color);
+
+ color->red = 1;
+ color->green = 2;
+ color->blue = 3;
+
+ suggestions[i] = color;
+ }
+
+ output.suggestions = suggestions;
+ output.n_suggestions = suggestion_count;
+
+ //Generate Output...
+
+ output_buffer = (uint8_t*)malloc(conversion_output__get_packed_size(&output));
+
+ return conversion_output__pack(&output, output_buffer);
+}
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h
new file mode 100644
index 000000000..97995340d
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/ColorConverter.h
@@ -0,0 +1,19 @@
+#include <cstdlib>
+#include <cstdint>
+
+#pragma once
+namespace Tango
+{
+ namespace ColorLib
+ {
+ class ColorConverter
+ {
+ public:
+ ColorConverter();
+ ~ColorConverter();
+ size_t ForwardConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer);
+ size_t InverseConvert(uint8_t * input_buffer, size_t input_buffer_size, uint8_t *& output_buffer);
+ };
+ }
+}
+
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp b/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp
index a19f31708..27790818b 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/Exports.cpp
@@ -1,5 +1,6 @@
#include <cstdlib>
#include "Tester.h"
+#include "ColorConverter.h"
#pragma once
@@ -7,6 +8,7 @@
using namespace std;
using namespace Tango::ColoLib;
+using namespace Tango::ColorLib;
extern "C" EXPORT_API size_t __cdecl Calculate(uint8_t* request_buffer, size_t request_buffer_size, uint8_t*& response_buffer)
{
@@ -14,3 +16,15 @@ extern "C" EXPORT_API size_t __cdecl Calculate(uint8_t* request_buffer, size_t r
return tester.Calculate(request_buffer, request_buffer_size, response_buffer);
}
+extern "C" EXPORT_API size_t __cdecl ForwardConvert(uint8_t* input_buffer, size_t input_buffer_size, uint8_t*& output_buffer)
+{
+ ColorConverter converter;
+ return converter.ForwardConvert(input_buffer, input_buffer_size, output_buffer);
+}
+
+extern "C" EXPORT_API size_t __cdecl InverseConvert(uint8_t* input_buffer, size_t input_buffer_size, uint8_t*& output_buffer)
+{
+ ColorConverter converter;
+ return converter.InverseConvert(input_buffer, input_buffer_size, output_buffer);
+}
+
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.c
new file mode 100644
index 000000000..691a97ea6
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.c
@@ -0,0 +1,105 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: CalibrationPoint.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "CalibrationPoint.pb-c.h"
+void calibration_point__init
+ (CalibrationPoint *message)
+{
+ static const CalibrationPoint init_value = CALIBRATION_POINT__INIT;
+ *message = init_value;
+}
+size_t calibration_point__get_packed_size
+ (const CalibrationPoint *message)
+{
+ assert(message->base.descriptor == &calibration_point__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t calibration_point__pack
+ (const CalibrationPoint *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &calibration_point__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t calibration_point__pack_to_buffer
+ (const CalibrationPoint *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &calibration_point__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CalibrationPoint *
+ calibration_point__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CalibrationPoint *)
+ protobuf_c_message_unpack (&calibration_point__descriptor,
+ allocator, len, data);
+}
+void calibration_point__free_unpacked
+ (CalibrationPoint *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &calibration_point__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor calibration_point__field_descriptors[2] =
+{
+ {
+ "X",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(CalibrationPoint, has_x),
+ offsetof(CalibrationPoint, x),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Y",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(CalibrationPoint, has_y),
+ offsetof(CalibrationPoint, y),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned calibration_point__field_indices_by_name[] = {
+ 0, /* field[0] = X */
+ 1, /* field[1] = Y */
+};
+static const ProtobufCIntRange calibration_point__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor calibration_point__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CalibrationPoint",
+ "CalibrationPoint",
+ "CalibrationPoint",
+ "",
+ sizeof(CalibrationPoint),
+ 2,
+ calibration_point__field_descriptors,
+ calibration_point__field_indices_by_name,
+ 1, calibration_point__number_ranges,
+ (ProtobufCMessageInit) calibration_point__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.h
new file mode 100644
index 000000000..a58bc1ec6
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/CalibrationPoint.pb-c.h
@@ -0,0 +1,74 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: CalibrationPoint.proto */
+
+#ifndef PROTOBUF_C_CalibrationPoint_2eproto__INCLUDED
+#define PROTOBUF_C_CalibrationPoint_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _CalibrationPoint CalibrationPoint;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _CalibrationPoint
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_x;
+ double x;
+ protobuf_c_boolean has_y;
+ double y;
+};
+#define CALIBRATION_POINT__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&calibration_point__descriptor) \
+ , 0, 0, 0, 0 }
+
+
+/* CalibrationPoint methods */
+void calibration_point__init
+ (CalibrationPoint *message);
+size_t calibration_point__get_packed_size
+ (const CalibrationPoint *message);
+size_t calibration_point__pack
+ (const CalibrationPoint *message,
+ uint8_t *out);
+size_t calibration_point__pack_to_buffer
+ (const CalibrationPoint *message,
+ ProtobufCBuffer *buffer);
+CalibrationPoint *
+ calibration_point__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void calibration_point__free_unpacked
+ (CalibrationPoint *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*CalibrationPoint_Closure)
+ (const CalibrationPoint *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor calibration_point__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_CalibrationPoint_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c
new file mode 100644
index 000000000..663c73262
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.c
@@ -0,0 +1,43 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ColorSpace.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "ColorSpace.pb-c.h"
+static const ProtobufCEnumValue color_space__enum_values_by_number[5] =
+{
+ { "Volume", "COLOR_SPACE__Volume", 0 },
+ { "RGB", "COLOR_SPACE__RGB", 1 },
+ { "CMYK", "COLOR_SPACE__CMYK", 2 },
+ { "LAB", "COLOR_SPACE__LAB", 3 },
+ { "Panton", "COLOR_SPACE__Panton", 4 },
+};
+static const ProtobufCIntRange color_space__value_ranges[] = {
+{0, 0},{0, 5}
+};
+static const ProtobufCEnumValueIndex color_space__enum_values_by_name[5] =
+{
+ { "CMYK", 2 },
+ { "LAB", 3 },
+ { "Panton", 4 },
+ { "RGB", 1 },
+ { "Volume", 0 },
+};
+const ProtobufCEnumDescriptor color_space__descriptor =
+{
+ PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+ "ColorSpace",
+ "ColorSpace",
+ "ColorSpace",
+ "",
+ 5,
+ color_space__enum_values_by_number,
+ 5,
+ color_space__enum_values_by_name,
+ 1,
+ color_space__value_ranges,
+ NULL,NULL,NULL,NULL /* reserved[1234] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h
new file mode 100644
index 000000000..70d386e0c
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ColorSpace.pb-c.h
@@ -0,0 +1,46 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ColorSpace.proto */
+
+#ifndef PROTOBUF_C_ColorSpace_2eproto__INCLUDED
+#define PROTOBUF_C_ColorSpace_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+
+
+/* --- enums --- */
+
+typedef enum _ColorSpace {
+ COLOR_SPACE__Volume = 0,
+ COLOR_SPACE__RGB = 1,
+ COLOR_SPACE__CMYK = 2,
+ COLOR_SPACE__LAB = 3,
+ COLOR_SPACE__Panton = 4
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(COLOR_SPACE)
+} ColorSpace;
+
+/* --- messages --- */
+
+/* --- per-message closures --- */
+
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCEnumDescriptor color_space__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_ColorSpace_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c
new file mode 100644
index 000000000..8df9d0bb7
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.c
@@ -0,0 +1,183 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ConversionInput.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "ConversionInput.pb-c.h"
+void conversion_input__init
+ (ConversionInput *message)
+{
+ static const ConversionInput init_value = CONVERSION_INPUT__INIT;
+ *message = init_value;
+}
+size_t conversion_input__get_packed_size
+ (const ConversionInput *message)
+{
+ assert(message->base.descriptor == &conversion_input__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t conversion_input__pack
+ (const ConversionInput *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &conversion_input__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t conversion_input__pack_to_buffer
+ (const ConversionInput *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &conversion_input__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+ConversionInput *
+ conversion_input__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (ConversionInput *)
+ protobuf_c_message_unpack (&conversion_input__descriptor,
+ allocator, len, data);
+}
+void conversion_input__free_unpacked
+ (ConversionInput *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &conversion_input__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor conversion_input__field_descriptors[8] =
+{
+ {
+ "ThreadL",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ConversionInput, has_threadl),
+ offsetof(ConversionInput, threadl),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ThreadA",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ConversionInput, has_threada),
+ offsetof(ConversionInput, threada),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ThreadB",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ConversionInput, has_threadb),
+ offsetof(ConversionInput, threadb),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Input",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ offsetof(ConversionInput, input),
+ &input_color__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ForwardData",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ offsetof(ConversionInput, has_forwarddata),
+ offsetof(ConversionInput, forwarddata),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "InverseData",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ offsetof(ConversionInput, has_inversedata),
+ offsetof(ConversionInput, inversedata),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "CalibrationData",
+ 7,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(ConversionInput, n_calibrationdata),
+ offsetof(ConversionInput, calibrationdata),
+ &calibration_point__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "SegmentLength",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ConversionInput, has_segmentlength),
+ offsetof(ConversionInput, segmentlength),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned conversion_input__field_indices_by_name[] = {
+ 6, /* field[6] = CalibrationData */
+ 4, /* field[4] = ForwardData */
+ 3, /* field[3] = Input */
+ 5, /* field[5] = InverseData */
+ 7, /* field[7] = SegmentLength */
+ 1, /* field[1] = ThreadA */
+ 2, /* field[2] = ThreadB */
+ 0, /* field[0] = ThreadL */
+};
+static const ProtobufCIntRange conversion_input__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 8 }
+};
+const ProtobufCMessageDescriptor conversion_input__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "ConversionInput",
+ "ConversionInput",
+ "ConversionInput",
+ "",
+ sizeof(ConversionInput),
+ 8,
+ conversion_input__field_descriptors,
+ conversion_input__field_indices_by_name,
+ 1, conversion_input__number_ranges,
+ (ProtobufCMessageInit) conversion_input__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h
new file mode 100644
index 000000000..15ef192de
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionInput.pb-c.h
@@ -0,0 +1,87 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ConversionInput.proto */
+
+#ifndef PROTOBUF_C_ConversionInput_2eproto__INCLUDED
+#define PROTOBUF_C_ConversionInput_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "InputColor.pb-c.h"
+#include "CalibrationPoint.pb-c.h"
+
+typedef struct _ConversionInput ConversionInput;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _ConversionInput
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_threadl;
+ double threadl;
+ protobuf_c_boolean has_threada;
+ double threada;
+ protobuf_c_boolean has_threadb;
+ double threadb;
+ InputColor *input;
+ protobuf_c_boolean has_forwarddata;
+ ProtobufCBinaryData forwarddata;
+ protobuf_c_boolean has_inversedata;
+ ProtobufCBinaryData inversedata;
+ size_t n_calibrationdata;
+ CalibrationPoint **calibrationdata;
+ protobuf_c_boolean has_segmentlength;
+ double segmentlength;
+};
+#define CONVERSION_INPUT__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&conversion_input__descriptor) \
+ , 0, 0, 0, 0, 0, 0, NULL, 0, {0,NULL}, 0, {0,NULL}, 0,NULL, 0, 0 }
+
+
+/* ConversionInput methods */
+void conversion_input__init
+ (ConversionInput *message);
+size_t conversion_input__get_packed_size
+ (const ConversionInput *message);
+size_t conversion_input__pack
+ (const ConversionInput *message,
+ uint8_t *out);
+size_t conversion_input__pack_to_buffer
+ (const ConversionInput *message,
+ ProtobufCBuffer *buffer);
+ConversionInput *
+ conversion_input__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void conversion_input__free_unpacked
+ (ConversionInput *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*ConversionInput_Closure)
+ (const ConversionInput *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor conversion_input__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_ConversionInput_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c
new file mode 100644
index 000000000..224f4c973
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.c
@@ -0,0 +1,105 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ConversionOutput.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "ConversionOutput.pb-c.h"
+void conversion_output__init
+ (ConversionOutput *message)
+{
+ static const ConversionOutput init_value = CONVERSION_OUTPUT__INIT;
+ *message = init_value;
+}
+size_t conversion_output__get_packed_size
+ (const ConversionOutput *message)
+{
+ assert(message->base.descriptor == &conversion_output__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t conversion_output__pack
+ (const ConversionOutput *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &conversion_output__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t conversion_output__pack_to_buffer
+ (const ConversionOutput *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &conversion_output__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+ConversionOutput *
+ conversion_output__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (ConversionOutput *)
+ protobuf_c_message_unpack (&conversion_output__descriptor,
+ allocator, len, data);
+}
+void conversion_output__free_unpacked
+ (ConversionOutput *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &conversion_output__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor conversion_output__field_descriptors[2] =
+{
+ {
+ "Suggestions",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(ConversionOutput, n_suggestions),
+ offsetof(ConversionOutput, suggestions),
+ &output_color__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "OutOfGamut",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(ConversionOutput, has_outofgamut),
+ offsetof(ConversionOutput, outofgamut),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned conversion_output__field_indices_by_name[] = {
+ 1, /* field[1] = OutOfGamut */
+ 0, /* field[0] = Suggestions */
+};
+static const ProtobufCIntRange conversion_output__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor conversion_output__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "ConversionOutput",
+ "ConversionOutput",
+ "ConversionOutput",
+ "",
+ sizeof(ConversionOutput),
+ 2,
+ conversion_output__field_descriptors,
+ conversion_output__field_indices_by_name,
+ 1, conversion_output__number_ranges,
+ (ProtobufCMessageInit) conversion_output__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h
new file mode 100644
index 000000000..7830ec580
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/ConversionOutput.pb-c.h
@@ -0,0 +1,75 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ConversionOutput.proto */
+
+#ifndef PROTOBUF_C_ConversionOutput_2eproto__INCLUDED
+#define PROTOBUF_C_ConversionOutput_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "OutputColor.pb-c.h"
+
+typedef struct _ConversionOutput ConversionOutput;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _ConversionOutput
+{
+ ProtobufCMessage base;
+ size_t n_suggestions;
+ OutputColor **suggestions;
+ protobuf_c_boolean has_outofgamut;
+ protobuf_c_boolean outofgamut;
+};
+#define CONVERSION_OUTPUT__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&conversion_output__descriptor) \
+ , 0,NULL, 0, 0 }
+
+
+/* ConversionOutput methods */
+void conversion_output__init
+ (ConversionOutput *message);
+size_t conversion_output__get_packed_size
+ (const ConversionOutput *message);
+size_t conversion_output__pack
+ (const ConversionOutput *message,
+ uint8_t *out);
+size_t conversion_output__pack_to_buffer
+ (const ConversionOutput *message,
+ ProtobufCBuffer *buffer);
+ConversionOutput *
+ conversion_output__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void conversion_output__free_unpacked
+ (ConversionOutput *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*ConversionOutput_Closure)
+ (const ConversionOutput *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor conversion_output__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_ConversionOutput_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c
new file mode 100644
index 000000000..46cbadad2
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.c
@@ -0,0 +1,352 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: InputColor.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "InputColor.pb-c.h"
+void input_color__init
+ (InputColor *message)
+{
+ static const InputColor init_value = INPUT_COLOR__INIT;
+ *message = init_value;
+}
+size_t input_color__get_packed_size
+ (const InputColor *message)
+{
+ assert(message->base.descriptor == &input_color__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t input_color__pack
+ (const InputColor *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &input_color__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t input_color__pack_to_buffer
+ (const InputColor *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &input_color__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+InputColor *
+ input_color__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (InputColor *)
+ protobuf_c_message_unpack (&input_color__descriptor,
+ allocator, len, data);
+}
+void input_color__free_unpacked
+ (InputColor *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &input_color__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor input_color__field_descriptors[21] =
+{
+ {
+ "ColorSpace",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_ENUM,
+ offsetof(InputColor, has_colorspace),
+ offsetof(InputColor, colorspace),
+ &color_space__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Length",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_length),
+ offsetof(InputColor, length),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Red",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(InputColor, has_red),
+ offsetof(InputColor, red),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Green",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(InputColor, has_green),
+ offsetof(InputColor, green),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Blue",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(InputColor, has_blue),
+ offsetof(InputColor, blue),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Cyan",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_cyan),
+ offsetof(InputColor, cyan),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Magenta",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_magenta),
+ offsetof(InputColor, magenta),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Yellow",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_yellow),
+ offsetof(InputColor, yellow),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Black",
+ 9,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_black),
+ offsetof(InputColor, black),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "L",
+ 10,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_l),
+ offsetof(InputColor, l),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "A",
+ 11,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_a),
+ offsetof(InputColor, a),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "B",
+ 12,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_b),
+ offsetof(InputColor, b),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V0",
+ 13,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v0),
+ offsetof(InputColor, v0),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V1",
+ 14,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v1),
+ offsetof(InputColor, v1),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V2",
+ 15,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v2),
+ offsetof(InputColor, v2),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V3",
+ 16,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v3),
+ offsetof(InputColor, v3),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V4",
+ 17,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v4),
+ offsetof(InputColor, v4),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V5",
+ 18,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v5),
+ offsetof(InputColor, v5),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V6",
+ 19,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v6),
+ offsetof(InputColor, v6),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V7",
+ 20,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(InputColor, has_v7),
+ offsetof(InputColor, v7),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "PantonCode",
+ 21,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(InputColor, has_pantoncode),
+ offsetof(InputColor, pantoncode),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned input_color__field_indices_by_name[] = {
+ 10, /* field[10] = A */
+ 11, /* field[11] = B */
+ 8, /* field[8] = Black */
+ 4, /* field[4] = Blue */
+ 0, /* field[0] = ColorSpace */
+ 5, /* field[5] = Cyan */
+ 3, /* field[3] = Green */
+ 9, /* field[9] = L */
+ 1, /* field[1] = Length */
+ 6, /* field[6] = Magenta */
+ 20, /* field[20] = PantonCode */
+ 2, /* field[2] = Red */
+ 12, /* field[12] = V0 */
+ 13, /* field[13] = V1 */
+ 14, /* field[14] = V2 */
+ 15, /* field[15] = V3 */
+ 16, /* field[16] = V4 */
+ 17, /* field[17] = V5 */
+ 18, /* field[18] = V6 */
+ 19, /* field[19] = V7 */
+ 7, /* field[7] = Yellow */
+};
+static const ProtobufCIntRange input_color__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 21 }
+};
+const ProtobufCMessageDescriptor input_color__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "InputColor",
+ "InputColor",
+ "InputColor",
+ "",
+ sizeof(InputColor),
+ 21,
+ input_color__field_descriptors,
+ input_color__field_indices_by_name,
+ 1, input_color__number_ranges,
+ (ProtobufCMessageInit) input_color__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h
new file mode 100644
index 000000000..8c27cc66b
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/InputColor.pb-c.h
@@ -0,0 +1,113 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: InputColor.proto */
+
+#ifndef PROTOBUF_C_InputColor_2eproto__INCLUDED
+#define PROTOBUF_C_InputColor_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "ColorSpace.pb-c.h"
+
+typedef struct _InputColor InputColor;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _InputColor
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_colorspace;
+ ColorSpace colorspace;
+ protobuf_c_boolean has_length;
+ double length;
+ protobuf_c_boolean has_red;
+ int32_t red;
+ protobuf_c_boolean has_green;
+ int32_t green;
+ protobuf_c_boolean has_blue;
+ int32_t blue;
+ protobuf_c_boolean has_cyan;
+ double cyan;
+ protobuf_c_boolean has_magenta;
+ double magenta;
+ protobuf_c_boolean has_yellow;
+ double yellow;
+ protobuf_c_boolean has_black;
+ double black;
+ protobuf_c_boolean has_l;
+ double l;
+ protobuf_c_boolean has_a;
+ double a;
+ protobuf_c_boolean has_b;
+ double b;
+ protobuf_c_boolean has_v0;
+ double v0;
+ protobuf_c_boolean has_v1;
+ double v1;
+ protobuf_c_boolean has_v2;
+ double v2;
+ protobuf_c_boolean has_v3;
+ double v3;
+ protobuf_c_boolean has_v4;
+ double v4;
+ protobuf_c_boolean has_v5;
+ double v5;
+ protobuf_c_boolean has_v6;
+ double v6;
+ protobuf_c_boolean has_v7;
+ double v7;
+ protobuf_c_boolean has_pantoncode;
+ int32_t pantoncode;
+};
+#define INPUT_COLOR__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&input_color__descriptor) \
+ , 0, COLOR_SPACE__Volume, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
+
+
+/* InputColor methods */
+void input_color__init
+ (InputColor *message);
+size_t input_color__get_packed_size
+ (const InputColor *message);
+size_t input_color__pack
+ (const InputColor *message,
+ uint8_t *out);
+size_t input_color__pack_to_buffer
+ (const InputColor *message,
+ ProtobufCBuffer *buffer);
+InputColor *
+ input_color__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void input_color__free_unpacked
+ (InputColor *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*InputColor_Closure)
+ (const InputColor *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor input_color__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_InputColor_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c
new file mode 100644
index 000000000..2625a45f8
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.c
@@ -0,0 +1,248 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: OutputColor.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "OutputColor.pb-c.h"
+void output_color__init
+ (OutputColor *message)
+{
+ static const OutputColor init_value = OUTPUT_COLOR__INIT;
+ *message = init_value;
+}
+size_t output_color__get_packed_size
+ (const OutputColor *message)
+{
+ assert(message->base.descriptor == &output_color__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t output_color__pack
+ (const OutputColor *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &output_color__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t output_color__pack_to_buffer
+ (const OutputColor *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &output_color__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+OutputColor *
+ output_color__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (OutputColor *)
+ protobuf_c_message_unpack (&output_color__descriptor,
+ allocator, len, data);
+}
+void output_color__free_unpacked
+ (OutputColor *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &output_color__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor output_color__field_descriptors[13] =
+{
+ {
+ "Red",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(OutputColor, has_red),
+ offsetof(OutputColor, red),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Green",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(OutputColor, has_green),
+ offsetof(OutputColor, green),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Blue",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(OutputColor, has_blue),
+ offsetof(OutputColor, blue),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V0",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v0),
+ offsetof(OutputColor, v0),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V1",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v1),
+ offsetof(OutputColor, v1),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V2",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v2),
+ offsetof(OutputColor, v2),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V3",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v3),
+ offsetof(OutputColor, v3),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V4",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v4),
+ offsetof(OutputColor, v4),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V5",
+ 9,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v5),
+ offsetof(OutputColor, v5),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V6",
+ 10,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v6),
+ offsetof(OutputColor, v6),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "V7",
+ 11,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_v7),
+ offsetof(OutputColor, v7),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Length",
+ 12,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(OutputColor, has_length),
+ offsetof(OutputColor, length),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ProcessParametersTableIndex",
+ 13,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(OutputColor, has_processparameterstableindex),
+ offsetof(OutputColor, processparameterstableindex),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned output_color__field_indices_by_name[] = {
+ 2, /* field[2] = Blue */
+ 1, /* field[1] = Green */
+ 11, /* field[11] = Length */
+ 12, /* field[12] = ProcessParametersTableIndex */
+ 0, /* field[0] = Red */
+ 3, /* field[3] = V0 */
+ 4, /* field[4] = V1 */
+ 5, /* field[5] = V2 */
+ 6, /* field[6] = V3 */
+ 7, /* field[7] = V4 */
+ 8, /* field[8] = V5 */
+ 9, /* field[9] = V6 */
+ 10, /* field[10] = V7 */
+};
+static const ProtobufCIntRange output_color__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 13 }
+};
+const ProtobufCMessageDescriptor output_color__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "OutputColor",
+ "OutputColor",
+ "OutputColor",
+ "",
+ sizeof(OutputColor),
+ 13,
+ output_color__field_descriptors,
+ output_color__field_indices_by_name,
+ 1, output_color__number_ranges,
+ (ProtobufCMessageInit) output_color__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h
new file mode 100644
index 000000000..c80c0e418
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/ColorLab/OutputColor.pb-c.h
@@ -0,0 +1,96 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: OutputColor.proto */
+
+#ifndef PROTOBUF_C_OutputColor_2eproto__INCLUDED
+#define PROTOBUF_C_OutputColor_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _OutputColor OutputColor;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _OutputColor
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_red;
+ int32_t red;
+ protobuf_c_boolean has_green;
+ int32_t green;
+ protobuf_c_boolean has_blue;
+ int32_t blue;
+ protobuf_c_boolean has_v0;
+ double v0;
+ protobuf_c_boolean has_v1;
+ double v1;
+ protobuf_c_boolean has_v2;
+ double v2;
+ protobuf_c_boolean has_v3;
+ double v3;
+ protobuf_c_boolean has_v4;
+ double v4;
+ protobuf_c_boolean has_v5;
+ double v5;
+ protobuf_c_boolean has_v6;
+ double v6;
+ protobuf_c_boolean has_v7;
+ double v7;
+ protobuf_c_boolean has_length;
+ double length;
+ protobuf_c_boolean has_processparameterstableindex;
+ int32_t processparameterstableindex;
+};
+#define OUTPUT_COLOR__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&output_color__descriptor) \
+ , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
+
+
+/* OutputColor methods */
+void output_color__init
+ (OutputColor *message);
+size_t output_color__get_packed_size
+ (const OutputColor *message);
+size_t output_color__pack
+ (const OutputColor *message,
+ uint8_t *out);
+size_t output_color__pack_to_buffer
+ (const OutputColor *message,
+ ProtobufCBuffer *buffer);
+OutputColor *
+ output_color__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void output_color__free_unpacked
+ (OutputColor *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*OutputColor_Closure)
+ (const OutputColor *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor output_color__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_OutputColor_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.c
new file mode 100644
index 000000000..70fca2425
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.c
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: KeepAliveRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "KeepAliveRequest.pb-c.h"
+void keep_alive_request__init
+ (KeepAliveRequest *message)
+{
+ static const KeepAliveRequest init_value = KEEP_ALIVE_REQUEST__INIT;
+ *message = init_value;
+}
+size_t keep_alive_request__get_packed_size
+ (const KeepAliveRequest *message)
+{
+ assert(message->base.descriptor == &keep_alive_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t keep_alive_request__pack
+ (const KeepAliveRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &keep_alive_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t keep_alive_request__pack_to_buffer
+ (const KeepAliveRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &keep_alive_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+KeepAliveRequest *
+ keep_alive_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (KeepAliveRequest *)
+ protobuf_c_message_unpack (&keep_alive_request__descriptor,
+ allocator, len, data);
+}
+void keep_alive_request__free_unpacked
+ (KeepAliveRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &keep_alive_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+#define keep_alive_request__field_descriptors NULL
+#define keep_alive_request__field_indices_by_name NULL
+#define keep_alive_request__number_ranges NULL
+const ProtobufCMessageDescriptor keep_alive_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "KeepAliveRequest",
+ "KeepAliveRequest",
+ "KeepAliveRequest",
+ "",
+ sizeof(KeepAliveRequest),
+ 0,
+ keep_alive_request__field_descriptors,
+ keep_alive_request__field_indices_by_name,
+ 0, keep_alive_request__number_ranges,
+ (ProtobufCMessageInit) keep_alive_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.h
new file mode 100644
index 000000000..379aa6caa
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveRequest.pb-c.h
@@ -0,0 +1,70 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: KeepAliveRequest.proto */
+
+#ifndef PROTOBUF_C_KeepAliveRequest_2eproto__INCLUDED
+#define PROTOBUF_C_KeepAliveRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _KeepAliveRequest KeepAliveRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _KeepAliveRequest
+{
+ ProtobufCMessage base;
+};
+#define KEEP_ALIVE_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&keep_alive_request__descriptor) \
+ }
+
+
+/* KeepAliveRequest methods */
+void keep_alive_request__init
+ (KeepAliveRequest *message);
+size_t keep_alive_request__get_packed_size
+ (const KeepAliveRequest *message);
+size_t keep_alive_request__pack
+ (const KeepAliveRequest *message,
+ uint8_t *out);
+size_t keep_alive_request__pack_to_buffer
+ (const KeepAliveRequest *message,
+ ProtobufCBuffer *buffer);
+KeepAliveRequest *
+ keep_alive_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void keep_alive_request__free_unpacked
+ (KeepAliveRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*KeepAliveRequest_Closure)
+ (const KeepAliveRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor keep_alive_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_KeepAliveRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.c
new file mode 100644
index 000000000..9bae1f119
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.c
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: KeepAliveResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "KeepAliveResponse.pb-c.h"
+void keep_alive_response__init
+ (KeepAliveResponse *message)
+{
+ static const KeepAliveResponse init_value = KEEP_ALIVE_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t keep_alive_response__get_packed_size
+ (const KeepAliveResponse *message)
+{
+ assert(message->base.descriptor == &keep_alive_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t keep_alive_response__pack
+ (const KeepAliveResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &keep_alive_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t keep_alive_response__pack_to_buffer
+ (const KeepAliveResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &keep_alive_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+KeepAliveResponse *
+ keep_alive_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (KeepAliveResponse *)
+ protobuf_c_message_unpack (&keep_alive_response__descriptor,
+ allocator, len, data);
+}
+void keep_alive_response__free_unpacked
+ (KeepAliveResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &keep_alive_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+#define keep_alive_response__field_descriptors NULL
+#define keep_alive_response__field_indices_by_name NULL
+#define keep_alive_response__number_ranges NULL
+const ProtobufCMessageDescriptor keep_alive_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "KeepAliveResponse",
+ "KeepAliveResponse",
+ "KeepAliveResponse",
+ "",
+ sizeof(KeepAliveResponse),
+ 0,
+ keep_alive_response__field_descriptors,
+ keep_alive_response__field_indices_by_name,
+ 0, keep_alive_response__number_ranges,
+ (ProtobufCMessageInit) keep_alive_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.h
new file mode 100644
index 000000000..a29f79c99
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/KeepAliveResponse.pb-c.h
@@ -0,0 +1,70 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: KeepAliveResponse.proto */
+
+#ifndef PROTOBUF_C_KeepAliveResponse_2eproto__INCLUDED
+#define PROTOBUF_C_KeepAliveResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _KeepAliveResponse KeepAliveResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _KeepAliveResponse
+{
+ ProtobufCMessage base;
+};
+#define KEEP_ALIVE_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&keep_alive_response__descriptor) \
+ }
+
+
+/* KeepAliveResponse methods */
+void keep_alive_response__init
+ (KeepAliveResponse *message);
+size_t keep_alive_response__get_packed_size
+ (const KeepAliveResponse *message);
+size_t keep_alive_response__pack
+ (const KeepAliveResponse *message,
+ uint8_t *out);
+size_t keep_alive_response__pack_to_buffer
+ (const KeepAliveResponse *message,
+ ProtobufCBuffer *buffer);
+KeepAliveResponse *
+ keep_alive_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void keep_alive_response__free_unpacked
+ (KeepAliveResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*KeepAliveResponse_Closure)
+ (const KeepAliveResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor keep_alive_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_KeepAliveResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h
index e0849d4ad..edb24d775 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageContainer.pb-c.h
@@ -44,7 +44,7 @@ struct _MessageContainer
};
#define MESSAGE_CONTAINER__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&message_container__descriptor) \
- , 0, MESSAGE_TYPE__RGB, NULL, 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, ERROR_CODE__NONE }
+ , 0, MESSAGE_TYPE__None, NULL, 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, ERROR_CODE__NONE }
/* MessageContainer methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c
index e922ccf91..405d43959 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.c
@@ -7,11 +7,9 @@
#endif
#include "MessageType.pb-c.h"
-static const ProtobufCEnumValue message_type__enum_values_by_number[36] =
+static const ProtobufCEnumValue message_type__enum_values_by_number[53] =
{
- { "RGB", "MESSAGE_TYPE__RGB", 0 },
- { "Job", "MESSAGE_TYPE__Job", 1 },
- { "Segment", "MESSAGE_TYPE__Segment", 2 },
+ { "None", "MESSAGE_TYPE__None", 0 },
{ "CalculateRequest", "MESSAGE_TYPE__CalculateRequest", 3 },
{ "CalculateResponse", "MESSAGE_TYPE__CalculateResponse", 4 },
{ "ProgressRequest", "MESSAGE_TYPE__ProgressRequest", 5 },
@@ -42,51 +40,87 @@ static const ProtobufCEnumValue message_type__enum_values_by_number[36] =
{ "StubSteperMotorResponse", "MESSAGE_TYPE__StubSteperMotorResponse", 30 },
{ "StubValveRequest", "MESSAGE_TYPE__StubValveRequest", 31 },
{ "StubValveResponse", "MESSAGE_TYPE__StubValveResponse", 32 },
- { "ExternalBridgeUdpDiscoveryPacket", "MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket", 33 },
- { "ExternalClientLoginRequest", "MESSAGE_TYPE__ExternalClientLoginRequest", 34 },
- { "ExternalClientLoginResponse", "MESSAGE_TYPE__ExternalClientLoginResponse", 35 },
+ { "StubExtFlashReadRequest", "MESSAGE_TYPE__StubExtFlashReadRequest", 33 },
+ { "StubExtFlashReadResponse", "MESSAGE_TYPE__StubExtFlashReadResponse", 34 },
+ { "StubExtFlashWriteRequest", "MESSAGE_TYPE__StubExtFlashWriteRequest", 35 },
+ { "StubExtFlashWriteResponse", "MESSAGE_TYPE__StubExtFlashWriteResponse", 36 },
+ { "ExternalBridgeUdpDiscoveryPacket", "MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket", 1000 },
+ { "ExternalClientLoginRequest", "MESSAGE_TYPE__ExternalClientLoginRequest", 1001 },
+ { "ExternalClientLoginResponse", "MESSAGE_TYPE__ExternalClientLoginResponse", 1002 },
+ { "DirectSynchronizationRequest", "MESSAGE_TYPE__DirectSynchronizationRequest", 1003 },
+ { "DirectSynchronizationResponse", "MESSAGE_TYPE__DirectSynchronizationResponse", 1004 },
+ { "OverrideDataBaseRequest", "MESSAGE_TYPE__OverrideDataBaseRequest", 1005 },
+ { "OverrideDataBaseResponse", "MESSAGE_TYPE__OverrideDataBaseResponse", 1006 },
+ { "KeepAliveRequest", "MESSAGE_TYPE__KeepAliveRequest", 1007 },
+ { "KeepAliveResponse", "MESSAGE_TYPE__KeepAliveResponse", 1008 },
+ { "PushDiagnosticsRequest", "MESSAGE_TYPE__PushDiagnosticsRequest", 2000 },
+ { "PushDiagnosticsResponse", "MESSAGE_TYPE__PushDiagnosticsResponse", 2001 },
+ { "ReportRequest", "MESSAGE_TYPE__ReportRequest", 2002 },
+ { "ReportResponse", "MESSAGE_TYPE__ReportResponse", 2003 },
+ { "StatusResponse", "MESSAGE_TYPE__StatusResponse", 2004 },
+ { "JobRequest", "MESSAGE_TYPE__JobRequest", 3000 },
+ { "JobResponse", "MESSAGE_TYPE__JobResponse", 3001 },
+ { "AbortJobRequest", "MESSAGE_TYPE__AbortJobRequest", 3002 },
+ { "AbortJobResponse", "MESSAGE_TYPE__AbortJobResponse", 3003 },
};
static const ProtobufCIntRange message_type__value_ranges[] = {
-{0, 0},{0, 36}
+{0, 0},{3, 1},{1000, 35},{2000, 44},{3000, 49},{0, 53}
};
-static const ProtobufCEnumValueIndex message_type__enum_values_by_name[36] =
+static const ProtobufCEnumValueIndex message_type__enum_values_by_name[53] =
{
- { "CalculateRequest", 3 },
- { "CalculateResponse", 4 },
- { "ExternalBridgeUdpDiscoveryPacket", 33 },
- { "ExternalClientLoginRequest", 34 },
- { "ExternalClientLoginResponse", 35 },
- { "Job", 1 },
- { "ProgressRequest", 5 },
- { "ProgressResponse", 6 },
- { "RGB", 0 },
- { "Segment", 2 },
- { "StubCartridgeReadRequest", 7 },
- { "StubCartridgeReadResponse", 8 },
- { "StubCartridgeWriteRequest", 9 },
- { "StubCartridgeWriteResponse", 10 },
- { "StubDispenserRequest", 11 },
- { "StubDispenserResponse", 12 },
- { "StubGPIOInputSetupRequest", 13 },
- { "StubGPIOInputSetupResponse", 14 },
- { "StubGPIOReadBitRequest", 15 },
- { "StubGPIOReadBitResponse", 16 },
- { "StubGPIOReadByteRequest", 17 },
- { "StubGPIOReadByteResponse", 18 },
- { "StubGPIOWriteBitRequest", 19 },
- { "StubGPIOWriteBitResponse", 20 },
- { "StubGPIOWriteByteRequest", 21 },
- { "StubGPIOWriteByteResponse", 22 },
- { "StubHeaterRequest", 23 },
- { "StubHeaterResponse", 24 },
- { "StubMotorEncoderRequest", 25 },
- { "StubMotorEncoderResponse", 26 },
- { "StubOptLimitSwitchRequest", 27 },
- { "StubOptLimitSwitchResponse", 28 },
- { "StubSteperMotorRequest", 29 },
- { "StubSteperMotorResponse", 30 },
- { "StubValveRequest", 31 },
- { "StubValveResponse", 32 },
+ { "AbortJobRequest", 51 },
+ { "AbortJobResponse", 52 },
+ { "CalculateRequest", 1 },
+ { "CalculateResponse", 2 },
+ { "DirectSynchronizationRequest", 38 },
+ { "DirectSynchronizationResponse", 39 },
+ { "ExternalBridgeUdpDiscoveryPacket", 35 },
+ { "ExternalClientLoginRequest", 36 },
+ { "ExternalClientLoginResponse", 37 },
+ { "JobRequest", 49 },
+ { "JobResponse", 50 },
+ { "KeepAliveRequest", 42 },
+ { "KeepAliveResponse", 43 },
+ { "None", 0 },
+ { "OverrideDataBaseRequest", 40 },
+ { "OverrideDataBaseResponse", 41 },
+ { "ProgressRequest", 3 },
+ { "ProgressResponse", 4 },
+ { "PushDiagnosticsRequest", 44 },
+ { "PushDiagnosticsResponse", 45 },
+ { "ReportRequest", 46 },
+ { "ReportResponse", 47 },
+ { "StatusResponse", 48 },
+ { "StubCartridgeReadRequest", 5 },
+ { "StubCartridgeReadResponse", 6 },
+ { "StubCartridgeWriteRequest", 7 },
+ { "StubCartridgeWriteResponse", 8 },
+ { "StubDispenserRequest", 9 },
+ { "StubDispenserResponse", 10 },
+ { "StubExtFlashReadRequest", 31 },
+ { "StubExtFlashReadResponse", 32 },
+ { "StubExtFlashWriteRequest", 33 },
+ { "StubExtFlashWriteResponse", 34 },
+ { "StubGPIOInputSetupRequest", 11 },
+ { "StubGPIOInputSetupResponse", 12 },
+ { "StubGPIOReadBitRequest", 13 },
+ { "StubGPIOReadBitResponse", 14 },
+ { "StubGPIOReadByteRequest", 15 },
+ { "StubGPIOReadByteResponse", 16 },
+ { "StubGPIOWriteBitRequest", 17 },
+ { "StubGPIOWriteBitResponse", 18 },
+ { "StubGPIOWriteByteRequest", 19 },
+ { "StubGPIOWriteByteResponse", 20 },
+ { "StubHeaterRequest", 21 },
+ { "StubHeaterResponse", 22 },
+ { "StubMotorEncoderRequest", 23 },
+ { "StubMotorEncoderResponse", 24 },
+ { "StubOptLimitSwitchRequest", 25 },
+ { "StubOptLimitSwitchResponse", 26 },
+ { "StubSteperMotorRequest", 27 },
+ { "StubSteperMotorResponse", 28 },
+ { "StubValveRequest", 29 },
+ { "StubValveResponse", 30 },
};
const ProtobufCEnumDescriptor message_type__descriptor =
{
@@ -95,11 +129,11 @@ const ProtobufCEnumDescriptor message_type__descriptor =
"MessageType",
"MessageType",
"",
- 36,
+ 53,
message_type__enum_values_by_number,
- 36,
+ 53,
message_type__enum_values_by_name,
- 1,
+ 5,
message_type__value_ranges,
NULL,NULL,NULL,NULL /* reserved[1234] */
};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h
index fae795b73..d5849f817 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Common/MessageType.pb-c.h
@@ -20,9 +20,7 @@ PROTOBUF_C__BEGIN_DECLS
/* --- enums --- */
typedef enum _MessageType {
- MESSAGE_TYPE__RGB = 0,
- MESSAGE_TYPE__Job = 1,
- MESSAGE_TYPE__Segment = 2,
+ MESSAGE_TYPE__None = 0,
MESSAGE_TYPE__CalculateRequest = 3,
MESSAGE_TYPE__CalculateResponse = 4,
MESSAGE_TYPE__ProgressRequest = 5,
@@ -53,9 +51,28 @@ typedef enum _MessageType {
MESSAGE_TYPE__StubSteperMotorResponse = 30,
MESSAGE_TYPE__StubValveRequest = 31,
MESSAGE_TYPE__StubValveResponse = 32,
- MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket = 33,
- MESSAGE_TYPE__ExternalClientLoginRequest = 34,
- MESSAGE_TYPE__ExternalClientLoginResponse = 35
+ MESSAGE_TYPE__StubExtFlashReadRequest = 33,
+ MESSAGE_TYPE__StubExtFlashReadResponse = 34,
+ MESSAGE_TYPE__StubExtFlashWriteRequest = 35,
+ MESSAGE_TYPE__StubExtFlashWriteResponse = 36,
+ MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket = 1000,
+ MESSAGE_TYPE__ExternalClientLoginRequest = 1001,
+ MESSAGE_TYPE__ExternalClientLoginResponse = 1002,
+ MESSAGE_TYPE__DirectSynchronizationRequest = 1003,
+ MESSAGE_TYPE__DirectSynchronizationResponse = 1004,
+ MESSAGE_TYPE__OverrideDataBaseRequest = 1005,
+ MESSAGE_TYPE__OverrideDataBaseResponse = 1006,
+ MESSAGE_TYPE__KeepAliveRequest = 1007,
+ MESSAGE_TYPE__KeepAliveResponse = 1008,
+ MESSAGE_TYPE__PushDiagnosticsRequest = 2000,
+ MESSAGE_TYPE__PushDiagnosticsResponse = 2001,
+ MESSAGE_TYPE__ReportRequest = 2002,
+ MESSAGE_TYPE__ReportResponse = 2003,
+ MESSAGE_TYPE__StatusResponse = 2004,
+ MESSAGE_TYPE__JobRequest = 3000,
+ MESSAGE_TYPE__JobResponse = 3001,
+ MESSAGE_TYPE__AbortJobRequest = 3002,
+ MESSAGE_TYPE__AbortJobResponse = 3003
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MESSAGE_TYPE)
} MessageType;
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.c
new file mode 100644
index 000000000..586e13984
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.c
@@ -0,0 +1,92 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: DoubleArray.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "DoubleArray.pb-c.h"
+void double_array__init
+ (DoubleArray *message)
+{
+ static const DoubleArray init_value = DOUBLE_ARRAY__INIT;
+ *message = init_value;
+}
+size_t double_array__get_packed_size
+ (const DoubleArray *message)
+{
+ assert(message->base.descriptor == &double_array__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t double_array__pack
+ (const DoubleArray *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &double_array__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t double_array__pack_to_buffer
+ (const DoubleArray *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &double_array__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+DoubleArray *
+ double_array__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (DoubleArray *)
+ protobuf_c_message_unpack (&double_array__descriptor,
+ allocator, len, data);
+}
+void double_array__free_unpacked
+ (DoubleArray *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &double_array__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor double_array__field_descriptors[1] =
+{
+ {
+ "Data",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(DoubleArray, n_data),
+ offsetof(DoubleArray, data),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned double_array__field_indices_by_name[] = {
+ 0, /* field[0] = Data */
+};
+static const ProtobufCIntRange double_array__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor double_array__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "DoubleArray",
+ "DoubleArray",
+ "DoubleArray",
+ "",
+ sizeof(DoubleArray),
+ 1,
+ double_array__field_descriptors,
+ double_array__field_indices_by_name,
+ 1, double_array__number_ranges,
+ (ProtobufCMessageInit) double_array__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.h
new file mode 100644
index 000000000..7f4232530
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/DoubleArray.pb-c.h
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: DoubleArray.proto */
+
+#ifndef PROTOBUF_C_DoubleArray_2eproto__INCLUDED
+#define PROTOBUF_C_DoubleArray_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _DoubleArray DoubleArray;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _DoubleArray
+{
+ ProtobufCMessage base;
+ size_t n_data;
+ double *data;
+};
+#define DOUBLE_ARRAY__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&double_array__descriptor) \
+ , 0,NULL }
+
+
+/* DoubleArray methods */
+void double_array__init
+ (DoubleArray *message);
+size_t double_array__get_packed_size
+ (const DoubleArray *message);
+size_t double_array__pack
+ (const DoubleArray *message,
+ uint8_t *out);
+size_t double_array__pack_to_buffer
+ (const DoubleArray *message,
+ ProtobufCBuffer *buffer);
+DoubleArray *
+ double_array__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void double_array__free_unpacked
+ (DoubleArray *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*DoubleArray_Closure)
+ (const DoubleArray *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor double_array__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_DoubleArray_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.c
new file mode 100644
index 000000000..1c7790f41
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.c
@@ -0,0 +1,118 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: PushDiagnosticsRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "PushDiagnosticsRequest.pb-c.h"
+void push_diagnostics_request__init
+ (PushDiagnosticsRequest *message)
+{
+ static const PushDiagnosticsRequest init_value = PUSH_DIAGNOSTICS_REQUEST__INIT;
+ *message = init_value;
+}
+size_t push_diagnostics_request__get_packed_size
+ (const PushDiagnosticsRequest *message)
+{
+ assert(message->base.descriptor == &push_diagnostics_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t push_diagnostics_request__pack
+ (const PushDiagnosticsRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &push_diagnostics_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t push_diagnostics_request__pack_to_buffer
+ (const PushDiagnosticsRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &push_diagnostics_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+PushDiagnosticsRequest *
+ push_diagnostics_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (PushDiagnosticsRequest *)
+ protobuf_c_message_unpack (&push_diagnostics_request__descriptor,
+ allocator, len, data);
+}
+void push_diagnostics_request__free_unpacked
+ (PushDiagnosticsRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &push_diagnostics_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor push_diagnostics_request__field_descriptors[3] =
+{
+ {
+ "PushSensors",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(PushDiagnosticsRequest, has_pushsensors),
+ offsetof(PushDiagnosticsRequest, pushsensors),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "PushMotors",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(PushDiagnosticsRequest, has_pushmotors),
+ offsetof(PushDiagnosticsRequest, pushmotors),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "PushLogs",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(PushDiagnosticsRequest, has_pushlogs),
+ offsetof(PushDiagnosticsRequest, pushlogs),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned push_diagnostics_request__field_indices_by_name[] = {
+ 2, /* field[2] = PushLogs */
+ 1, /* field[1] = PushMotors */
+ 0, /* field[0] = PushSensors */
+};
+static const ProtobufCIntRange push_diagnostics_request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor push_diagnostics_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "PushDiagnosticsRequest",
+ "PushDiagnosticsRequest",
+ "PushDiagnosticsRequest",
+ "",
+ sizeof(PushDiagnosticsRequest),
+ 3,
+ push_diagnostics_request__field_descriptors,
+ push_diagnostics_request__field_indices_by_name,
+ 1, push_diagnostics_request__number_ranges,
+ (ProtobufCMessageInit) push_diagnostics_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.h
new file mode 100644
index 000000000..b4e3053f0
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsRequest.pb-c.h
@@ -0,0 +1,76 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: PushDiagnosticsRequest.proto */
+
+#ifndef PROTOBUF_C_PushDiagnosticsRequest_2eproto__INCLUDED
+#define PROTOBUF_C_PushDiagnosticsRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _PushDiagnosticsRequest PushDiagnosticsRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _PushDiagnosticsRequest
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_pushsensors;
+ protobuf_c_boolean pushsensors;
+ protobuf_c_boolean has_pushmotors;
+ protobuf_c_boolean pushmotors;
+ protobuf_c_boolean has_pushlogs;
+ protobuf_c_boolean pushlogs;
+};
+#define PUSH_DIAGNOSTICS_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&push_diagnostics_request__descriptor) \
+ , 0, 0, 0, 0, 0, 0 }
+
+
+/* PushDiagnosticsRequest methods */
+void push_diagnostics_request__init
+ (PushDiagnosticsRequest *message);
+size_t push_diagnostics_request__get_packed_size
+ (const PushDiagnosticsRequest *message);
+size_t push_diagnostics_request__pack
+ (const PushDiagnosticsRequest *message,
+ uint8_t *out);
+size_t push_diagnostics_request__pack_to_buffer
+ (const PushDiagnosticsRequest *message,
+ ProtobufCBuffer *buffer);
+PushDiagnosticsRequest *
+ push_diagnostics_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void push_diagnostics_request__free_unpacked
+ (PushDiagnosticsRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*PushDiagnosticsRequest_Closure)
+ (const PushDiagnosticsRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor push_diagnostics_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_PushDiagnosticsRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c
new file mode 100644
index 000000000..51b490620
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.c
@@ -0,0 +1,131 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: PushDiagnosticsResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "PushDiagnosticsResponse.pb-c.h"
+void push_diagnostics_response__init
+ (PushDiagnosticsResponse *message)
+{
+ static const PushDiagnosticsResponse init_value = PUSH_DIAGNOSTICS_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t push_diagnostics_response__get_packed_size
+ (const PushDiagnosticsResponse *message)
+{
+ assert(message->base.descriptor == &push_diagnostics_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t push_diagnostics_response__pack
+ (const PushDiagnosticsResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &push_diagnostics_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t push_diagnostics_response__pack_to_buffer
+ (const PushDiagnosticsResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &push_diagnostics_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+PushDiagnosticsResponse *
+ push_diagnostics_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (PushDiagnosticsResponse *)
+ protobuf_c_message_unpack (&push_diagnostics_response__descriptor,
+ allocator, len, data);
+}
+void push_diagnostics_response__free_unpacked
+ (PushDiagnosticsResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &push_diagnostics_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor push_diagnostics_response__field_descriptors[4] =
+{
+ {
+ "Dancer1Angle",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(PushDiagnosticsResponse, n_dancer1angle),
+ offsetof(PushDiagnosticsResponse, dancer1angle),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Dancer2Angle",
+ 2,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(PushDiagnosticsResponse, n_dancer2angle),
+ offsetof(PushDiagnosticsResponse, dancer2angle),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Dancer3Angle",
+ 3,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(PushDiagnosticsResponse, n_dancer3angle),
+ offsetof(PushDiagnosticsResponse, dancer3angle),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "DispensersMotorsFrequency",
+ 4,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(PushDiagnosticsResponse, n_dispensersmotorsfrequency),
+ offsetof(PushDiagnosticsResponse, dispensersmotorsfrequency),
+ &double_array__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned push_diagnostics_response__field_indices_by_name[] = {
+ 0, /* field[0] = Dancer1Angle */
+ 1, /* field[1] = Dancer2Angle */
+ 2, /* field[2] = Dancer3Angle */
+ 3, /* field[3] = DispensersMotorsFrequency */
+};
+static const ProtobufCIntRange push_diagnostics_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 4 }
+};
+const ProtobufCMessageDescriptor push_diagnostics_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "PushDiagnosticsResponse",
+ "PushDiagnosticsResponse",
+ "PushDiagnosticsResponse",
+ "",
+ sizeof(PushDiagnosticsResponse),
+ 4,
+ push_diagnostics_response__field_descriptors,
+ push_diagnostics_response__field_indices_by_name,
+ 1, push_diagnostics_response__number_ranges,
+ (ProtobufCMessageInit) push_diagnostics_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h
new file mode 100644
index 000000000..d3082c489
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Diagnostics/PushDiagnosticsResponse.pb-c.h
@@ -0,0 +1,79 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: PushDiagnosticsResponse.proto */
+
+#ifndef PROTOBUF_C_PushDiagnosticsResponse_2eproto__INCLUDED
+#define PROTOBUF_C_PushDiagnosticsResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "DoubleArray.pb-c.h"
+
+typedef struct _PushDiagnosticsResponse PushDiagnosticsResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _PushDiagnosticsResponse
+{
+ ProtobufCMessage base;
+ size_t n_dancer1angle;
+ double *dancer1angle;
+ size_t n_dancer2angle;
+ double *dancer2angle;
+ size_t n_dancer3angle;
+ double *dancer3angle;
+ size_t n_dispensersmotorsfrequency;
+ DoubleArray **dispensersmotorsfrequency;
+};
+#define PUSH_DIAGNOSTICS_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&push_diagnostics_response__descriptor) \
+ , 0,NULL, 0,NULL, 0,NULL, 0,NULL }
+
+
+/* PushDiagnosticsResponse methods */
+void push_diagnostics_response__init
+ (PushDiagnosticsResponse *message);
+size_t push_diagnostics_response__get_packed_size
+ (const PushDiagnosticsResponse *message);
+size_t push_diagnostics_response__pack
+ (const PushDiagnosticsResponse *message,
+ uint8_t *out);
+size_t push_diagnostics_response__pack_to_buffer
+ (const PushDiagnosticsResponse *message,
+ ProtobufCBuffer *buffer);
+PushDiagnosticsResponse *
+ push_diagnostics_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void push_diagnostics_response__free_unpacked
+ (PushDiagnosticsResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*PushDiagnosticsResponse_Closure)
+ (const PushDiagnosticsResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor push_diagnostics_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_PushDiagnosticsResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.c
new file mode 100644
index 000000000..cb729fed6
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.c
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: DirectSynchronizationRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "DirectSynchronizationRequest.pb-c.h"
+void direct_synchronization_request__init
+ (DirectSynchronizationRequest *message)
+{
+ static const DirectSynchronizationRequest init_value = DIRECT_SYNCHRONIZATION_REQUEST__INIT;
+ *message = init_value;
+}
+size_t direct_synchronization_request__get_packed_size
+ (const DirectSynchronizationRequest *message)
+{
+ assert(message->base.descriptor == &direct_synchronization_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t direct_synchronization_request__pack
+ (const DirectSynchronizationRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &direct_synchronization_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t direct_synchronization_request__pack_to_buffer
+ (const DirectSynchronizationRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &direct_synchronization_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+DirectSynchronizationRequest *
+ direct_synchronization_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (DirectSynchronizationRequest *)
+ protobuf_c_message_unpack (&direct_synchronization_request__descriptor,
+ allocator, len, data);
+}
+void direct_synchronization_request__free_unpacked
+ (DirectSynchronizationRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &direct_synchronization_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+#define direct_synchronization_request__field_descriptors NULL
+#define direct_synchronization_request__field_indices_by_name NULL
+#define direct_synchronization_request__number_ranges NULL
+const ProtobufCMessageDescriptor direct_synchronization_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "DirectSynchronizationRequest",
+ "DirectSynchronizationRequest",
+ "DirectSynchronizationRequest",
+ "",
+ sizeof(DirectSynchronizationRequest),
+ 0,
+ direct_synchronization_request__field_descriptors,
+ direct_synchronization_request__field_indices_by_name,
+ 0, direct_synchronization_request__number_ranges,
+ (ProtobufCMessageInit) direct_synchronization_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.h
new file mode 100644
index 000000000..81cdae5b9
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationRequest.pb-c.h
@@ -0,0 +1,70 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: DirectSynchronizationRequest.proto */
+
+#ifndef PROTOBUF_C_DirectSynchronizationRequest_2eproto__INCLUDED
+#define PROTOBUF_C_DirectSynchronizationRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _DirectSynchronizationRequest DirectSynchronizationRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _DirectSynchronizationRequest
+{
+ ProtobufCMessage base;
+};
+#define DIRECT_SYNCHRONIZATION_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&direct_synchronization_request__descriptor) \
+ }
+
+
+/* DirectSynchronizationRequest methods */
+void direct_synchronization_request__init
+ (DirectSynchronizationRequest *message);
+size_t direct_synchronization_request__get_packed_size
+ (const DirectSynchronizationRequest *message);
+size_t direct_synchronization_request__pack
+ (const DirectSynchronizationRequest *message,
+ uint8_t *out);
+size_t direct_synchronization_request__pack_to_buffer
+ (const DirectSynchronizationRequest *message,
+ ProtobufCBuffer *buffer);
+DirectSynchronizationRequest *
+ direct_synchronization_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void direct_synchronization_request__free_unpacked
+ (DirectSynchronizationRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*DirectSynchronizationRequest_Closure)
+ (const DirectSynchronizationRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor direct_synchronization_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_DirectSynchronizationRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.c
new file mode 100644
index 000000000..d37e0a020
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.c
@@ -0,0 +1,92 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: DirectSynchronizationResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "DirectSynchronizationResponse.pb-c.h"
+void direct_synchronization_response__init
+ (DirectSynchronizationResponse *message)
+{
+ static const DirectSynchronizationResponse init_value = DIRECT_SYNCHRONIZATION_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t direct_synchronization_response__get_packed_size
+ (const DirectSynchronizationResponse *message)
+{
+ assert(message->base.descriptor == &direct_synchronization_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t direct_synchronization_response__pack
+ (const DirectSynchronizationResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &direct_synchronization_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t direct_synchronization_response__pack_to_buffer
+ (const DirectSynchronizationResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &direct_synchronization_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+DirectSynchronizationResponse *
+ direct_synchronization_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (DirectSynchronizationResponse *)
+ protobuf_c_message_unpack (&direct_synchronization_response__descriptor,
+ allocator, len, data);
+}
+void direct_synchronization_response__free_unpacked
+ (DirectSynchronizationResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &direct_synchronization_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor direct_synchronization_response__field_descriptors[1] =
+{
+ {
+ "LocalDB",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ offsetof(DirectSynchronizationResponse, has_localdb),
+ offsetof(DirectSynchronizationResponse, localdb),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned direct_synchronization_response__field_indices_by_name[] = {
+ 0, /* field[0] = LocalDB */
+};
+static const ProtobufCIntRange direct_synchronization_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor direct_synchronization_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "DirectSynchronizationResponse",
+ "DirectSynchronizationResponse",
+ "DirectSynchronizationResponse",
+ "",
+ sizeof(DirectSynchronizationResponse),
+ 1,
+ direct_synchronization_response__field_descriptors,
+ direct_synchronization_response__field_indices_by_name,
+ 1, direct_synchronization_response__number_ranges,
+ (ProtobufCMessageInit) direct_synchronization_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.h
new file mode 100644
index 000000000..c263b6831
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/DirectSynchronizationResponse.pb-c.h
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: DirectSynchronizationResponse.proto */
+
+#ifndef PROTOBUF_C_DirectSynchronizationResponse_2eproto__INCLUDED
+#define PROTOBUF_C_DirectSynchronizationResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _DirectSynchronizationResponse DirectSynchronizationResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _DirectSynchronizationResponse
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_localdb;
+ ProtobufCBinaryData localdb;
+};
+#define DIRECT_SYNCHRONIZATION_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&direct_synchronization_response__descriptor) \
+ , 0, {0,NULL} }
+
+
+/* DirectSynchronizationResponse methods */
+void direct_synchronization_response__init
+ (DirectSynchronizationResponse *message);
+size_t direct_synchronization_response__get_packed_size
+ (const DirectSynchronizationResponse *message);
+size_t direct_synchronization_response__pack
+ (const DirectSynchronizationResponse *message,
+ uint8_t *out);
+size_t direct_synchronization_response__pack_to_buffer
+ (const DirectSynchronizationResponse *message,
+ ProtobufCBuffer *buffer);
+DirectSynchronizationResponse *
+ direct_synchronization_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void direct_synchronization_response__free_unpacked
+ (DirectSynchronizationResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*DirectSynchronizationResponse_Closure)
+ (const DirectSynchronizationResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor direct_synchronization_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_DirectSynchronizationResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c
index a19339ec5..d4be46d19 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.c
@@ -55,12 +55,12 @@ void external_client_login_request__free_unpacked
static const ProtobufCFieldDescriptor external_client_login_request__field_descriptors[1] =
{
{
- "key",
+ "Password",
1,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_STRING,
0, /* quantifier_offset */
- offsetof(ExternalClientLoginRequest, key),
+ offsetof(ExternalClientLoginRequest, password),
NULL,
NULL,
0, /* flags */
@@ -68,7 +68,7 @@ static const ProtobufCFieldDescriptor external_client_login_request__field_descr
},
};
static const unsigned external_client_login_request__field_indices_by_name[] = {
- 0, /* field[0] = key */
+ 0, /* field[0] = Password */
};
static const ProtobufCIntRange external_client_login_request__number_ranges[1 + 1] =
{
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h
index b2ff576b0..86ea53825 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/ExternalClientLoginRequest.pb-c.h
@@ -26,7 +26,7 @@ typedef struct _ExternalClientLoginRequest ExternalClientLoginRequest;
struct _ExternalClientLoginRequest
{
ProtobufCMessage base;
- char *key;
+ char *password;
};
#define EXTERNAL_CLIENT_LOGIN_REQUEST__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&external_client_login_request__descriptor) \
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.c
new file mode 100644
index 000000000..5c80a3949
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.c
@@ -0,0 +1,92 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: OverrideDataBaseRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "OverrideDataBaseRequest.pb-c.h"
+void override_data_base_request__init
+ (OverrideDataBaseRequest *message)
+{
+ static const OverrideDataBaseRequest init_value = OVERRIDE_DATA_BASE_REQUEST__INIT;
+ *message = init_value;
+}
+size_t override_data_base_request__get_packed_size
+ (const OverrideDataBaseRequest *message)
+{
+ assert(message->base.descriptor == &override_data_base_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t override_data_base_request__pack
+ (const OverrideDataBaseRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &override_data_base_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t override_data_base_request__pack_to_buffer
+ (const OverrideDataBaseRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &override_data_base_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+OverrideDataBaseRequest *
+ override_data_base_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (OverrideDataBaseRequest *)
+ protobuf_c_message_unpack (&override_data_base_request__descriptor,
+ allocator, len, data);
+}
+void override_data_base_request__free_unpacked
+ (OverrideDataBaseRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &override_data_base_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor override_data_base_request__field_descriptors[1] =
+{
+ {
+ "RemoteDB",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ offsetof(OverrideDataBaseRequest, has_remotedb),
+ offsetof(OverrideDataBaseRequest, remotedb),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned override_data_base_request__field_indices_by_name[] = {
+ 0, /* field[0] = RemoteDB */
+};
+static const ProtobufCIntRange override_data_base_request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor override_data_base_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "OverrideDataBaseRequest",
+ "OverrideDataBaseRequest",
+ "OverrideDataBaseRequest",
+ "",
+ sizeof(OverrideDataBaseRequest),
+ 1,
+ override_data_base_request__field_descriptors,
+ override_data_base_request__field_indices_by_name,
+ 1, override_data_base_request__number_ranges,
+ (ProtobufCMessageInit) override_data_base_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.h
new file mode 100644
index 000000000..e73ab63cc
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseRequest.pb-c.h
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: OverrideDataBaseRequest.proto */
+
+#ifndef PROTOBUF_C_OverrideDataBaseRequest_2eproto__INCLUDED
+#define PROTOBUF_C_OverrideDataBaseRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _OverrideDataBaseRequest OverrideDataBaseRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _OverrideDataBaseRequest
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_remotedb;
+ ProtobufCBinaryData remotedb;
+};
+#define OVERRIDE_DATA_BASE_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&override_data_base_request__descriptor) \
+ , 0, {0,NULL} }
+
+
+/* OverrideDataBaseRequest methods */
+void override_data_base_request__init
+ (OverrideDataBaseRequest *message);
+size_t override_data_base_request__get_packed_size
+ (const OverrideDataBaseRequest *message);
+size_t override_data_base_request__pack
+ (const OverrideDataBaseRequest *message,
+ uint8_t *out);
+size_t override_data_base_request__pack_to_buffer
+ (const OverrideDataBaseRequest *message,
+ ProtobufCBuffer *buffer);
+OverrideDataBaseRequest *
+ override_data_base_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void override_data_base_request__free_unpacked
+ (OverrideDataBaseRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*OverrideDataBaseRequest_Closure)
+ (const OverrideDataBaseRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor override_data_base_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_OverrideDataBaseRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.c
new file mode 100644
index 000000000..fe11e66f0
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.c
@@ -0,0 +1,92 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: OverrideDataBaseResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "OverrideDataBaseResponse.pb-c.h"
+void override_data_base_response__init
+ (OverrideDataBaseResponse *message)
+{
+ static const OverrideDataBaseResponse init_value = OVERRIDE_DATA_BASE_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t override_data_base_response__get_packed_size
+ (const OverrideDataBaseResponse *message)
+{
+ assert(message->base.descriptor == &override_data_base_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t override_data_base_response__pack
+ (const OverrideDataBaseResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &override_data_base_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t override_data_base_response__pack_to_buffer
+ (const OverrideDataBaseResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &override_data_base_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+OverrideDataBaseResponse *
+ override_data_base_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (OverrideDataBaseResponse *)
+ protobuf_c_message_unpack (&override_data_base_response__descriptor,
+ allocator, len, data);
+}
+void override_data_base_response__free_unpacked
+ (OverrideDataBaseResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &override_data_base_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor override_data_base_response__field_descriptors[1] =
+{
+ {
+ "Successful",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(OverrideDataBaseResponse, has_successful),
+ offsetof(OverrideDataBaseResponse, successful),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned override_data_base_response__field_indices_by_name[] = {
+ 0, /* field[0] = Successful */
+};
+static const ProtobufCIntRange override_data_base_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor override_data_base_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "OverrideDataBaseResponse",
+ "OverrideDataBaseResponse",
+ "OverrideDataBaseResponse",
+ "",
+ sizeof(OverrideDataBaseResponse),
+ 1,
+ override_data_base_response__field_descriptors,
+ override_data_base_response__field_indices_by_name,
+ 1, override_data_base_response__number_ranges,
+ (ProtobufCMessageInit) override_data_base_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.h
new file mode 100644
index 000000000..339349441
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Integration/OverrideDataBaseResponse.pb-c.h
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: OverrideDataBaseResponse.proto */
+
+#ifndef PROTOBUF_C_OverrideDataBaseResponse_2eproto__INCLUDED
+#define PROTOBUF_C_OverrideDataBaseResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _OverrideDataBaseResponse OverrideDataBaseResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _OverrideDataBaseResponse
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_successful;
+ protobuf_c_boolean successful;
+};
+#define OVERRIDE_DATA_BASE_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&override_data_base_response__descriptor) \
+ , 0, 0 }
+
+
+/* OverrideDataBaseResponse methods */
+void override_data_base_response__init
+ (OverrideDataBaseResponse *message);
+size_t override_data_base_response__get_packed_size
+ (const OverrideDataBaseResponse *message);
+size_t override_data_base_response__pack
+ (const OverrideDataBaseResponse *message,
+ uint8_t *out);
+size_t override_data_base_response__pack_to_buffer
+ (const OverrideDataBaseResponse *message,
+ ProtobufCBuffer *buffer);
+OverrideDataBaseResponse *
+ override_data_base_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void override_data_base_response__free_unpacked
+ (OverrideDataBaseResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*OverrideDataBaseResponse_Closure)
+ (const OverrideDataBaseResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor override_data_base_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_OverrideDataBaseResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.c
new file mode 100644
index 000000000..a2b2826c0
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.c
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: AbortJobRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "AbortJobRequest.pb-c.h"
+void abort_job_request__init
+ (AbortJobRequest *message)
+{
+ static const AbortJobRequest init_value = ABORT_JOB_REQUEST__INIT;
+ *message = init_value;
+}
+size_t abort_job_request__get_packed_size
+ (const AbortJobRequest *message)
+{
+ assert(message->base.descriptor == &abort_job_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t abort_job_request__pack
+ (const AbortJobRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &abort_job_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t abort_job_request__pack_to_buffer
+ (const AbortJobRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &abort_job_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+AbortJobRequest *
+ abort_job_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (AbortJobRequest *)
+ protobuf_c_message_unpack (&abort_job_request__descriptor,
+ allocator, len, data);
+}
+void abort_job_request__free_unpacked
+ (AbortJobRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &abort_job_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+#define abort_job_request__field_descriptors NULL
+#define abort_job_request__field_indices_by_name NULL
+#define abort_job_request__number_ranges NULL
+const ProtobufCMessageDescriptor abort_job_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "AbortJobRequest",
+ "AbortJobRequest",
+ "AbortJobRequest",
+ "",
+ sizeof(AbortJobRequest),
+ 0,
+ abort_job_request__field_descriptors,
+ abort_job_request__field_indices_by_name,
+ 0, abort_job_request__number_ranges,
+ (ProtobufCMessageInit) abort_job_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.h
new file mode 100644
index 000000000..1635e0458
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobRequest.pb-c.h
@@ -0,0 +1,70 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: AbortJobRequest.proto */
+
+#ifndef PROTOBUF_C_AbortJobRequest_2eproto__INCLUDED
+#define PROTOBUF_C_AbortJobRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _AbortJobRequest AbortJobRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _AbortJobRequest
+{
+ ProtobufCMessage base;
+};
+#define ABORT_JOB_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&abort_job_request__descriptor) \
+ }
+
+
+/* AbortJobRequest methods */
+void abort_job_request__init
+ (AbortJobRequest *message);
+size_t abort_job_request__get_packed_size
+ (const AbortJobRequest *message);
+size_t abort_job_request__pack
+ (const AbortJobRequest *message,
+ uint8_t *out);
+size_t abort_job_request__pack_to_buffer
+ (const AbortJobRequest *message,
+ ProtobufCBuffer *buffer);
+AbortJobRequest *
+ abort_job_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void abort_job_request__free_unpacked
+ (AbortJobRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*AbortJobRequest_Closure)
+ (const AbortJobRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor abort_job_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_AbortJobRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.c
new file mode 100644
index 000000000..7a6f4e341
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.c
@@ -0,0 +1,72 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: AbortJobResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "AbortJobResponse.pb-c.h"
+void abort_job_response__init
+ (AbortJobResponse *message)
+{
+ static const AbortJobResponse init_value = ABORT_JOB_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t abort_job_response__get_packed_size
+ (const AbortJobResponse *message)
+{
+ assert(message->base.descriptor == &abort_job_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t abort_job_response__pack
+ (const AbortJobResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &abort_job_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t abort_job_response__pack_to_buffer
+ (const AbortJobResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &abort_job_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+AbortJobResponse *
+ abort_job_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (AbortJobResponse *)
+ protobuf_c_message_unpack (&abort_job_response__descriptor,
+ allocator, len, data);
+}
+void abort_job_response__free_unpacked
+ (AbortJobResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &abort_job_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+#define abort_job_response__field_descriptors NULL
+#define abort_job_response__field_indices_by_name NULL
+#define abort_job_response__number_ranges NULL
+const ProtobufCMessageDescriptor abort_job_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "AbortJobResponse",
+ "AbortJobResponse",
+ "AbortJobResponse",
+ "",
+ sizeof(AbortJobResponse),
+ 0,
+ abort_job_response__field_descriptors,
+ abort_job_response__field_indices_by_name,
+ 0, abort_job_response__number_ranges,
+ (ProtobufCMessageInit) abort_job_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.h
new file mode 100644
index 000000000..66c887250
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/AbortJobResponse.pb-c.h
@@ -0,0 +1,70 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: AbortJobResponse.proto */
+
+#ifndef PROTOBUF_C_AbortJobResponse_2eproto__INCLUDED
+#define PROTOBUF_C_AbortJobResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _AbortJobResponse AbortJobResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _AbortJobResponse
+{
+ ProtobufCMessage base;
+};
+#define ABORT_JOB_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&abort_job_response__descriptor) \
+ }
+
+
+/* AbortJobResponse methods */
+void abort_job_response__init
+ (AbortJobResponse *message);
+size_t abort_job_response__get_packed_size
+ (const AbortJobResponse *message);
+size_t abort_job_response__pack
+ (const AbortJobResponse *message,
+ uint8_t *out);
+size_t abort_job_response__pack_to_buffer
+ (const AbortJobResponse *message,
+ ProtobufCBuffer *buffer);
+AbortJobResponse *
+ abort_job_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void abort_job_response__free_unpacked
+ (AbortJobResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*AbortJobResponse_Closure)
+ (const AbortJobResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor abort_job_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_AbortJobResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.c
new file mode 100644
index 000000000..d282c0e56
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.c
@@ -0,0 +1,105 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "JobRequest.pb-c.h"
+void job_request__init
+ (JobRequest *message)
+{
+ static const JobRequest init_value = JOB_REQUEST__INIT;
+ *message = init_value;
+}
+size_t job_request__get_packed_size
+ (const JobRequest *message)
+{
+ assert(message->base.descriptor == &job_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t job_request__pack
+ (const JobRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &job_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t job_request__pack_to_buffer
+ (const JobRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &job_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+JobRequest *
+ job_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (JobRequest *)
+ protobuf_c_message_unpack (&job_request__descriptor,
+ allocator, len, data);
+}
+void job_request__free_unpacked
+ (JobRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &job_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor job_request__field_descriptors[2] =
+{
+ {
+ "Name",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(JobRequest, name),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "JobTicket",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ offsetof(JobRequest, jobticket),
+ &job_ticket__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned job_request__field_indices_by_name[] = {
+ 1, /* field[1] = JobTicket */
+ 0, /* field[0] = Name */
+};
+static const ProtobufCIntRange job_request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor job_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "JobRequest",
+ "JobRequest",
+ "JobRequest",
+ "",
+ sizeof(JobRequest),
+ 2,
+ job_request__field_descriptors,
+ job_request__field_indices_by_name,
+ 1, job_request__number_ranges,
+ (ProtobufCMessageInit) job_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.h
new file mode 100644
index 000000000..2019c859b
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobRequest.pb-c.h
@@ -0,0 +1,73 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobRequest.proto */
+
+#ifndef PROTOBUF_C_JobRequest_2eproto__INCLUDED
+#define PROTOBUF_C_JobRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "JobTicket.pb-c.h"
+
+typedef struct _JobRequest JobRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _JobRequest
+{
+ ProtobufCMessage base;
+ JobTicket *jobticket;
+ char *name;
+};
+#define JOB_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&job_request__descriptor) \
+ , NULL, NULL }
+
+
+/* JobRequest methods */
+void job_request__init
+ (JobRequest *message);
+size_t job_request__get_packed_size
+ (const JobRequest *message);
+size_t job_request__pack
+ (const JobRequest *message,
+ uint8_t *out);
+size_t job_request__pack_to_buffer
+ (const JobRequest *message,
+ ProtobufCBuffer *buffer);
+JobRequest *
+ job_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void job_request__free_unpacked
+ (JobRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*JobRequest_Closure)
+ (const JobRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor job_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_JobRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.c
new file mode 100644
index 000000000..692f2df66
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.c
@@ -0,0 +1,105 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "JobResponse.pb-c.h"
+void job_response__init
+ (JobResponse *message)
+{
+ static const JobResponse init_value = JOB_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t job_response__get_packed_size
+ (const JobResponse *message)
+{
+ assert(message->base.descriptor == &job_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t job_response__pack
+ (const JobResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &job_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t job_response__pack_to_buffer
+ (const JobResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &job_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+JobResponse *
+ job_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (JobResponse *)
+ protobuf_c_message_unpack (&job_response__descriptor,
+ allocator, len, data);
+}
+void job_response__free_unpacked
+ (JobResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &job_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor job_response__field_descriptors[2] =
+{
+ {
+ "Status",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ offsetof(JobResponse, status),
+ &job_status__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Canceled",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(JobResponse, has_canceled),
+ offsetof(JobResponse, canceled),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned job_response__field_indices_by_name[] = {
+ 1, /* field[1] = Canceled */
+ 0, /* field[0] = Status */
+};
+static const ProtobufCIntRange job_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor job_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "JobResponse",
+ "JobResponse",
+ "JobResponse",
+ "",
+ sizeof(JobResponse),
+ 2,
+ job_response__field_descriptors,
+ job_response__field_indices_by_name,
+ 1, job_response__number_ranges,
+ (ProtobufCMessageInit) job_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.h
new file mode 100644
index 000000000..56efcd106
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobResponse.pb-c.h
@@ -0,0 +1,74 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobResponse.proto */
+
+#ifndef PROTOBUF_C_JobResponse_2eproto__INCLUDED
+#define PROTOBUF_C_JobResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "JobStatus.pb-c.h"
+
+typedef struct _JobResponse JobResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _JobResponse
+{
+ ProtobufCMessage base;
+ JobStatus *status;
+ protobuf_c_boolean has_canceled;
+ protobuf_c_boolean canceled;
+};
+#define JOB_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&job_response__descriptor) \
+ , NULL, 0, 0 }
+
+
+/* JobResponse methods */
+void job_response__init
+ (JobResponse *message);
+size_t job_response__get_packed_size
+ (const JobResponse *message);
+size_t job_response__pack
+ (const JobResponse *message,
+ uint8_t *out);
+size_t job_response__pack_to_buffer
+ (const JobResponse *message,
+ ProtobufCBuffer *buffer);
+JobResponse *
+ job_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void job_response__free_unpacked
+ (JobResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*JobResponse_Closure)
+ (const JobResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor job_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_JobResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.c
new file mode 100644
index 000000000..94042855d
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.c
@@ -0,0 +1,105 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobSegment.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "JobSegment.pb-c.h"
+void job_segment__init
+ (JobSegment *message)
+{
+ static const JobSegment init_value = JOB_SEGMENT__INIT;
+ *message = init_value;
+}
+size_t job_segment__get_packed_size
+ (const JobSegment *message)
+{
+ assert(message->base.descriptor == &job_segment__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t job_segment__pack
+ (const JobSegment *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &job_segment__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t job_segment__pack_to_buffer
+ (const JobSegment *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &job_segment__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+JobSegment *
+ job_segment__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (JobSegment *)
+ protobuf_c_message_unpack (&job_segment__descriptor,
+ allocator, len, data);
+}
+void job_segment__free_unpacked
+ (JobSegment *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &job_segment__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor job_segment__field_descriptors[2] =
+{
+ {
+ "Name",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(JobSegment, name),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Length",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(JobSegment, has_length),
+ offsetof(JobSegment, length),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned job_segment__field_indices_by_name[] = {
+ 1, /* field[1] = Length */
+ 0, /* field[0] = Name */
+};
+static const ProtobufCIntRange job_segment__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor job_segment__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "JobSegment",
+ "JobSegment",
+ "JobSegment",
+ "",
+ sizeof(JobSegment),
+ 2,
+ job_segment__field_descriptors,
+ job_segment__field_indices_by_name,
+ 1, job_segment__number_ranges,
+ (ProtobufCMessageInit) job_segment__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.h
new file mode 100644
index 000000000..df8fb21e5
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobSegment.pb-c.h
@@ -0,0 +1,73 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobSegment.proto */
+
+#ifndef PROTOBUF_C_JobSegment_2eproto__INCLUDED
+#define PROTOBUF_C_JobSegment_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _JobSegment JobSegment;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _JobSegment
+{
+ ProtobufCMessage base;
+ char *name;
+ protobuf_c_boolean has_length;
+ double length;
+};
+#define JOB_SEGMENT__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&job_segment__descriptor) \
+ , NULL, 0, 0 }
+
+
+/* JobSegment methods */
+void job_segment__init
+ (JobSegment *message);
+size_t job_segment__get_packed_size
+ (const JobSegment *message);
+size_t job_segment__pack
+ (const JobSegment *message,
+ uint8_t *out);
+size_t job_segment__pack_to_buffer
+ (const JobSegment *message,
+ ProtobufCBuffer *buffer);
+JobSegment *
+ job_segment__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void job_segment__free_unpacked
+ (JobSegment *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*JobSegment_Closure)
+ (const JobSegment *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor job_segment__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_JobSegment_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.c
new file mode 100644
index 000000000..c7682cdb2
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.c
@@ -0,0 +1,118 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobStatus.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "JobStatus.pb-c.h"
+void job_status__init
+ (JobStatus *message)
+{
+ static const JobStatus init_value = JOB_STATUS__INIT;
+ *message = init_value;
+}
+size_t job_status__get_packed_size
+ (const JobStatus *message)
+{
+ assert(message->base.descriptor == &job_status__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t job_status__pack
+ (const JobStatus *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &job_status__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t job_status__pack_to_buffer
+ (const JobStatus *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &job_status__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+JobStatus *
+ job_status__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (JobStatus *)
+ protobuf_c_message_unpack (&job_status__descriptor,
+ allocator, len, data);
+}
+void job_status__free_unpacked
+ (JobStatus *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &job_status__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor job_status__field_descriptors[3] =
+{
+ {
+ "Message",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(JobStatus, message),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Progress",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(JobStatus, has_progress),
+ offsetof(JobStatus, progress),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "CurrentSegmentIndex",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(JobStatus, has_currentsegmentindex),
+ offsetof(JobStatus, currentsegmentindex),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned job_status__field_indices_by_name[] = {
+ 2, /* field[2] = CurrentSegmentIndex */
+ 0, /* field[0] = Message */
+ 1, /* field[1] = Progress */
+};
+static const ProtobufCIntRange job_status__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor job_status__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "JobStatus",
+ "JobStatus",
+ "JobStatus",
+ "",
+ sizeof(JobStatus),
+ 3,
+ job_status__field_descriptors,
+ job_status__field_indices_by_name,
+ 1, job_status__number_ranges,
+ (ProtobufCMessageInit) job_status__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.h
new file mode 100644
index 000000000..abfb9d71f
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobStatus.pb-c.h
@@ -0,0 +1,75 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobStatus.proto */
+
+#ifndef PROTOBUF_C_JobStatus_2eproto__INCLUDED
+#define PROTOBUF_C_JobStatus_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _JobStatus JobStatus;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _JobStatus
+{
+ ProtobufCMessage base;
+ char *message;
+ protobuf_c_boolean has_progress;
+ double progress;
+ protobuf_c_boolean has_currentsegmentindex;
+ int32_t currentsegmentindex;
+};
+#define JOB_STATUS__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&job_status__descriptor) \
+ , NULL, 0, 0, 0, 0 }
+
+
+/* JobStatus methods */
+void job_status__init
+ (JobStatus *message);
+size_t job_status__get_packed_size
+ (const JobStatus *message);
+size_t job_status__pack
+ (const JobStatus *message,
+ uint8_t *out);
+size_t job_status__pack_to_buffer
+ (const JobStatus *message,
+ ProtobufCBuffer *buffer);
+JobStatus *
+ job_status__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void job_status__free_unpacked
+ (JobStatus *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*JobStatus_Closure)
+ (const JobStatus *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor job_status__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_JobStatus_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.c
new file mode 100644
index 000000000..765494fce
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.c
@@ -0,0 +1,170 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobTicket.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "JobTicket.pb-c.h"
+void job_ticket__init
+ (JobTicket *message)
+{
+ static const JobTicket init_value = JOB_TICKET__INIT;
+ *message = init_value;
+}
+size_t job_ticket__get_packed_size
+ (const JobTicket *message)
+{
+ assert(message->base.descriptor == &job_ticket__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t job_ticket__pack
+ (const JobTicket *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &job_ticket__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t job_ticket__pack_to_buffer
+ (const JobTicket *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &job_ticket__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+JobTicket *
+ job_ticket__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (JobTicket *)
+ protobuf_c_message_unpack (&job_ticket__descriptor,
+ allocator, len, data);
+}
+void job_ticket__free_unpacked
+ (JobTicket *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &job_ticket__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor job_ticket__field_descriptors[7] =
+{
+ {
+ "Name",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(JobTicket, name),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "EnableInterSegment",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(JobTicket, has_enableintersegment),
+ offsetof(JobTicket, enableintersegment),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "InterSegmentLength",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(JobTicket, has_intersegmentlength),
+ offsetof(JobTicket, intersegmentlength),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Length",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(JobTicket, has_length),
+ offsetof(JobTicket, length),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ProcessParameters",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ offsetof(JobTicket, processparameters),
+ &process_parameters__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "WindingMethod",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_ENUM,
+ offsetof(JobTicket, has_windingmethod),
+ offsetof(JobTicket, windingmethod),
+ &job_winding_method__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Segments",
+ 7,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(JobTicket, n_segments),
+ offsetof(JobTicket, segments),
+ &job_segment__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned job_ticket__field_indices_by_name[] = {
+ 1, /* field[1] = EnableInterSegment */
+ 2, /* field[2] = InterSegmentLength */
+ 3, /* field[3] = Length */
+ 0, /* field[0] = Name */
+ 4, /* field[4] = ProcessParameters */
+ 6, /* field[6] = Segments */
+ 5, /* field[5] = WindingMethod */
+};
+static const ProtobufCIntRange job_ticket__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 7 }
+};
+const ProtobufCMessageDescriptor job_ticket__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "JobTicket",
+ "JobTicket",
+ "JobTicket",
+ "",
+ sizeof(JobTicket),
+ 7,
+ job_ticket__field_descriptors,
+ job_ticket__field_indices_by_name,
+ 1, job_ticket__number_ranges,
+ (ProtobufCMessageInit) job_ticket__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.h
new file mode 100644
index 000000000..b64ee6292
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobTicket.pb-c.h
@@ -0,0 +1,85 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobTicket.proto */
+
+#ifndef PROTOBUF_C_JobTicket_2eproto__INCLUDED
+#define PROTOBUF_C_JobTicket_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "JobSegment.pb-c.h"
+#include "ProcessParameters.pb-c.h"
+#include "JobWindingMethod.pb-c.h"
+
+typedef struct _JobTicket JobTicket;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _JobTicket
+{
+ ProtobufCMessage base;
+ char *name;
+ protobuf_c_boolean has_enableintersegment;
+ protobuf_c_boolean enableintersegment;
+ protobuf_c_boolean has_intersegmentlength;
+ double intersegmentlength;
+ protobuf_c_boolean has_length;
+ double length;
+ ProcessParameters *processparameters;
+ protobuf_c_boolean has_windingmethod;
+ JobWindingMethod windingmethod;
+ size_t n_segments;
+ JobSegment **segments;
+};
+#define JOB_TICKET__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&job_ticket__descriptor) \
+ , NULL, 0, 0, 0, 0, 0, 0, NULL, 0, JOB_WINDING_METHOD__Embroidery, 0,NULL }
+
+
+/* JobTicket methods */
+void job_ticket__init
+ (JobTicket *message);
+size_t job_ticket__get_packed_size
+ (const JobTicket *message);
+size_t job_ticket__pack
+ (const JobTicket *message,
+ uint8_t *out);
+size_t job_ticket__pack_to_buffer
+ (const JobTicket *message,
+ ProtobufCBuffer *buffer);
+JobTicket *
+ job_ticket__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void job_ticket__free_unpacked
+ (JobTicket *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*JobTicket_Closure)
+ (const JobTicket *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor job_ticket__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_JobTicket_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.c
new file mode 100644
index 000000000..89ca011a3
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.c
@@ -0,0 +1,37 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobWindingMethod.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "JobWindingMethod.pb-c.h"
+static const ProtobufCEnumValue job_winding_method__enum_values_by_number[2] =
+{
+ { "Embroidery", "JOB_WINDING_METHOD__Embroidery", 0 },
+ { "Calibration", "JOB_WINDING_METHOD__Calibration", 1 },
+};
+static const ProtobufCIntRange job_winding_method__value_ranges[] = {
+{0, 0},{0, 2}
+};
+static const ProtobufCEnumValueIndex job_winding_method__enum_values_by_name[2] =
+{
+ { "Calibration", 1 },
+ { "Embroidery", 0 },
+};
+const ProtobufCEnumDescriptor job_winding_method__descriptor =
+{
+ PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+ "JobWindingMethod",
+ "JobWindingMethod",
+ "JobWindingMethod",
+ "",
+ 2,
+ job_winding_method__enum_values_by_number,
+ 2,
+ job_winding_method__enum_values_by_name,
+ 1,
+ job_winding_method__value_ranges,
+ NULL,NULL,NULL,NULL /* reserved[1234] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.h
new file mode 100644
index 000000000..a762ae2c5
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/JobWindingMethod.pb-c.h
@@ -0,0 +1,43 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: JobWindingMethod.proto */
+
+#ifndef PROTOBUF_C_JobWindingMethod_2eproto__INCLUDED
+#define PROTOBUF_C_JobWindingMethod_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+
+
+/* --- enums --- */
+
+typedef enum _JobWindingMethod {
+ JOB_WINDING_METHOD__Embroidery = 0,
+ JOB_WINDING_METHOD__Calibration = 1
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(JOB_WINDING_METHOD)
+} JobWindingMethod;
+
+/* --- messages --- */
+
+/* --- per-message closures --- */
+
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCEnumDescriptor job_winding_method__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_JobWindingMethod_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.c
new file mode 100644
index 000000000..f1d45c351
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.c
@@ -0,0 +1,287 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ProcessParameters.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "ProcessParameters.pb-c.h"
+void process_parameters__init
+ (ProcessParameters *message)
+{
+ static const ProcessParameters init_value = PROCESS_PARAMETERS__INIT;
+ *message = init_value;
+}
+size_t process_parameters__get_packed_size
+ (const ProcessParameters *message)
+{
+ assert(message->base.descriptor == &process_parameters__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t process_parameters__pack
+ (const ProcessParameters *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &process_parameters__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t process_parameters__pack_to_buffer
+ (const ProcessParameters *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &process_parameters__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+ProcessParameters *
+ process_parameters__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (ProcessParameters *)
+ protobuf_c_message_unpack (&process_parameters__descriptor,
+ allocator, len, data);
+}
+void process_parameters__free_unpacked
+ (ProcessParameters *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &process_parameters__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor process_parameters__field_descriptors[16] =
+{
+ {
+ "Name",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(ProcessParameters, name),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "DyeingSpeed",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_dyeingspeed),
+ offsetof(ProcessParameters, dyeingspeed),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "MinInkUptake",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_mininkuptake),
+ offsetof(ProcessParameters, mininkuptake),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "MixerTemp",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_mixertemp),
+ offsetof(ProcessParameters, mixertemp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "HeadZone1Temp",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_headzone1temp),
+ offsetof(ProcessParameters, headzone1temp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "HeadZone2Temp",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_headzone2temp),
+ offsetof(ProcessParameters, headzone2temp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "HeadZone3Temp",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_headzone3temp),
+ offsetof(ProcessParameters, headzone3temp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "HeadAirFlow",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_headairflow),
+ offsetof(ProcessParameters, headairflow),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "FeederTension",
+ 9,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_feedertension),
+ offsetof(ProcessParameters, feedertension),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "PullerTension",
+ 10,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_pullertension),
+ offsetof(ProcessParameters, pullertension),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "DryerBufferLength",
+ 11,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_dryerbufferlength),
+ offsetof(ProcessParameters, dryerbufferlength),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "DryerZone1Temp",
+ 12,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_dryerzone1temp),
+ offsetof(ProcessParameters, dryerzone1temp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "DryerZone2Temp",
+ 13,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_dryerzone2temp),
+ offsetof(ProcessParameters, dryerzone2temp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "DryerZone3Temp",
+ 14,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_dryerzone3temp),
+ offsetof(ProcessParameters, dryerzone3temp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "DryerAirFlow",
+ 15,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_dryerairflow),
+ offsetof(ProcessParameters, dryerairflow),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "WinderTension",
+ 16,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(ProcessParameters, has_windertension),
+ offsetof(ProcessParameters, windertension),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned process_parameters__field_indices_by_name[] = {
+ 14, /* field[14] = DryerAirFlow */
+ 10, /* field[10] = DryerBufferLength */
+ 11, /* field[11] = DryerZone1Temp */
+ 12, /* field[12] = DryerZone2Temp */
+ 13, /* field[13] = DryerZone3Temp */
+ 1, /* field[1] = DyeingSpeed */
+ 8, /* field[8] = FeederTension */
+ 7, /* field[7] = HeadAirFlow */
+ 4, /* field[4] = HeadZone1Temp */
+ 5, /* field[5] = HeadZone2Temp */
+ 6, /* field[6] = HeadZone3Temp */
+ 2, /* field[2] = MinInkUptake */
+ 3, /* field[3] = MixerTemp */
+ 0, /* field[0] = Name */
+ 9, /* field[9] = PullerTension */
+ 15, /* field[15] = WinderTension */
+};
+static const ProtobufCIntRange process_parameters__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 16 }
+};
+const ProtobufCMessageDescriptor process_parameters__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "ProcessParameters",
+ "ProcessParameters",
+ "ProcessParameters",
+ "",
+ sizeof(ProcessParameters),
+ 16,
+ process_parameters__field_descriptors,
+ process_parameters__field_indices_by_name,
+ 1, process_parameters__number_ranges,
+ (ProtobufCMessageInit) process_parameters__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.h
new file mode 100644
index 000000000..a658f6b5b
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Printing/ProcessParameters.pb-c.h
@@ -0,0 +1,101 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: ProcessParameters.proto */
+
+#ifndef PROTOBUF_C_ProcessParameters_2eproto__INCLUDED
+#define PROTOBUF_C_ProcessParameters_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _ProcessParameters ProcessParameters;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _ProcessParameters
+{
+ ProtobufCMessage base;
+ char *name;
+ protobuf_c_boolean has_dyeingspeed;
+ double dyeingspeed;
+ protobuf_c_boolean has_mininkuptake;
+ double mininkuptake;
+ protobuf_c_boolean has_mixertemp;
+ double mixertemp;
+ protobuf_c_boolean has_headzone1temp;
+ double headzone1temp;
+ protobuf_c_boolean has_headzone2temp;
+ double headzone2temp;
+ protobuf_c_boolean has_headzone3temp;
+ double headzone3temp;
+ protobuf_c_boolean has_headairflow;
+ double headairflow;
+ protobuf_c_boolean has_feedertension;
+ double feedertension;
+ protobuf_c_boolean has_pullertension;
+ double pullertension;
+ protobuf_c_boolean has_dryerbufferlength;
+ double dryerbufferlength;
+ protobuf_c_boolean has_dryerzone1temp;
+ double dryerzone1temp;
+ protobuf_c_boolean has_dryerzone2temp;
+ double dryerzone2temp;
+ protobuf_c_boolean has_dryerzone3temp;
+ double dryerzone3temp;
+ protobuf_c_boolean has_dryerairflow;
+ double dryerairflow;
+ protobuf_c_boolean has_windertension;
+ double windertension;
+};
+#define PROCESS_PARAMETERS__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&process_parameters__descriptor) \
+ , NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
+
+
+/* ProcessParameters methods */
+void process_parameters__init
+ (ProcessParameters *message);
+size_t process_parameters__get_packed_size
+ (const ProcessParameters *message);
+size_t process_parameters__pack
+ (const ProcessParameters *message,
+ uint8_t *out);
+size_t process_parameters__pack_to_buffer
+ (const ProcessParameters *message,
+ ProtobufCBuffer *buffer);
+ProcessParameters *
+ process_parameters__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void process_parameters__free_unpacked
+ (ProcessParameters *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*ProcessParameters_Closure)
+ (const ProcessParameters *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor process_parameters__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_ProcessParameters_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c
index 7c23c1ffa..125ec15e2 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_cartridge_read_response__free_unpacked
assert(message->base.descriptor == &stub_cartridge_read_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descriptors[6] =
+static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descriptors[7] =
{
{
"CartridgeId",
@@ -68,7 +68,7 @@ static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descri
},
{
"CartridgeColor",
- 3,
+ 2,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_UINT32,
offsetof(StubCartridgeReadResponse, has_cartridgecolor),
@@ -80,7 +80,7 @@ static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descri
},
{
"CartridgeVersion",
- 4,
+ 3,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_UINT32,
offsetof(StubCartridgeReadResponse, has_cartridgeversion),
@@ -92,7 +92,7 @@ static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descri
},
{
"CartridgeData",
- 5,
+ 4,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_INT32,
offsetof(StubCartridgeReadResponse, has_cartridgedata),
@@ -104,7 +104,7 @@ static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descri
},
{
"CartridgeUsed",
- 6,
+ 5,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_BOOL,
offsetof(StubCartridgeReadResponse, has_cartridgeused),
@@ -116,16 +116,28 @@ static const ProtobufCFieldDescriptor stub_cartridge_read_response__field_descri
},
{
"Status",
- 8,
+ 6,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_UINT32,
- offsetof(StubCartridgeReadResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubCartridgeReadResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubCartridgeReadResponse, has_statusword),
+ offsetof(StubCartridgeReadResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_cartridge_read_response__field_indices_by_name[] = {
1, /* field[1] = CartridgeColor */
@@ -134,13 +146,12 @@ static const unsigned stub_cartridge_read_response__field_indices_by_name[] = {
4, /* field[4] = CartridgeUsed */
2, /* field[2] = CartridgeVersion */
5, /* field[5] = Status */
+ 6, /* field[6] = StatusWord */
};
-static const ProtobufCIntRange stub_cartridge_read_response__number_ranges[3 + 1] =
+static const ProtobufCIntRange stub_cartridge_read_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 3, 1 },
- { 8, 5 },
- { 0, 6 }
+ { 0, 7 }
};
const ProtobufCMessageDescriptor stub_cartridge_read_response__descriptor =
{
@@ -150,10 +161,10 @@ const ProtobufCMessageDescriptor stub_cartridge_read_response__descriptor =
"StubCartridgeReadResponse",
"",
sizeof(StubCartridgeReadResponse),
- 6,
+ 7,
stub_cartridge_read_response__field_descriptors,
stub_cartridge_read_response__field_indices_by_name,
- 3, stub_cartridge_read_response__number_ranges,
+ 1, stub_cartridge_read_response__number_ranges,
(ProtobufCMessageInit) stub_cartridge_read_response__init,
NULL,NULL,NULL /* reserved[123] */
};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h
index 3b82ef645..06a173e8b 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeReadResponse.pb-c.h
@@ -36,12 +36,19 @@ struct _StubCartridgeReadResponse
int32_t cartridgedata;
protobuf_c_boolean has_cartridgeused;
protobuf_c_boolean cartridgeused;
- protobuf_c_boolean has_status;
- uint32_t status;
+ /*
+ * Passed/Failed
+ */
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_CARTRIDGE_READ_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_cartridge_read_response__descriptor) \
- , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
+ , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 }
/* StubCartridgeReadResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c
index 66454c20a..aa271df59 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_cartridge_write_response__free_unpacked
assert(message->base.descriptor == &stub_cartridge_write_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_cartridge_write_response__field_descriptors[2] =
+static const ProtobufCFieldDescriptor stub_cartridge_write_response__field_descriptors[3] =
{
{
"CartridgeId",
@@ -68,26 +68,38 @@ static const ProtobufCFieldDescriptor stub_cartridge_write_response__field_descr
},
{
"Status",
- 8,
+ 2,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_UINT32,
- offsetof(StubCartridgeWriteResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubCartridgeWriteResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubCartridgeWriteResponse, has_statusword),
+ offsetof(StubCartridgeWriteResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_cartridge_write_response__field_indices_by_name[] = {
0, /* field[0] = CartridgeId */
1, /* field[1] = Status */
+ 2, /* field[2] = StatusWord */
};
-static const ProtobufCIntRange stub_cartridge_write_response__number_ranges[2 + 1] =
+static const ProtobufCIntRange stub_cartridge_write_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 8, 1 },
- { 0, 2 }
+ { 0, 3 }
};
const ProtobufCMessageDescriptor stub_cartridge_write_response__descriptor =
{
@@ -97,10 +109,10 @@ const ProtobufCMessageDescriptor stub_cartridge_write_response__descriptor =
"StubCartridgeWriteResponse",
"",
sizeof(StubCartridgeWriteResponse),
- 2,
+ 3,
stub_cartridge_write_response__field_descriptors,
stub_cartridge_write_response__field_indices_by_name,
- 2, stub_cartridge_write_response__number_ranges,
+ 1, stub_cartridge_write_response__number_ranges,
(ProtobufCMessageInit) stub_cartridge_write_response__init,
NULL,NULL,NULL /* reserved[123] */
};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h
index 5ba0eb28c..dab3d46fb 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubCartridgeWriteResponse.pb-c.h
@@ -28,12 +28,19 @@ struct _StubCartridgeWriteResponse
ProtobufCMessage base;
protobuf_c_boolean has_cartridgeid;
uint32_t cartridgeid;
- protobuf_c_boolean has_status;
- uint32_t status;
+ /*
+ * Passed/Failed
+ */
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_CARTRIDGE_WRITE_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_cartridge_write_response__descriptor) \
- , 0, 0, 0, 0 }
+ , 0, 0, NULL, 0, 0 }
/* StubCartridgeWriteResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c
index de699971a..cbfd886ec 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_dispenser_response__free_unpacked
assert(message->base.descriptor == &stub_dispenser_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_dispenser_response__field_descriptors[4] =
+static const ProtobufCFieldDescriptor stub_dispenser_response__field_descriptors[5] =
{
{
"DispenserId",
@@ -94,25 +94,38 @@ static const ProtobufCFieldDescriptor stub_dispenser_response__field_descriptors
"Status",
4,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_BOOL,
- offsetof(StubDispenserResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubDispenserResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubDispenserResponse, has_statusword),
+ offsetof(StubDispenserResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_dispenser_response__field_indices_by_name[] = {
0, /* field[0] = DispenserId */
1, /* field[1] = DispenserPosition */
2, /* field[2] = InkWorningLevel */
3, /* field[3] = Status */
+ 4, /* field[4] = StatusWord */
};
static const ProtobufCIntRange stub_dispenser_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 4 }
+ { 0, 5 }
};
const ProtobufCMessageDescriptor stub_dispenser_response__descriptor =
{
@@ -122,7 +135,7 @@ const ProtobufCMessageDescriptor stub_dispenser_response__descriptor =
"StubDispenserResponse",
"",
sizeof(StubDispenserResponse),
- 4,
+ 5,
stub_dispenser_response__field_descriptors,
stub_dispenser_response__field_indices_by_name,
1, stub_dispenser_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h
index 7598720df..14d55b18e 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubDispenserResponse.pb-c.h
@@ -41,14 +41,18 @@ struct _StubDispenserResponse
protobuf_c_boolean has_inkworninglevel;
uint32_t inkworninglevel;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- protobuf_c_boolean status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_DISPENSER_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_dispenser_response__descriptor) \
- , 0, 0, 0, 0, 0, 0, 0, 0 }
+ , 0, 0, 0, 0, 0, 0, NULL, 0, 0 }
/* StubDispenserResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.c
new file mode 100644
index 000000000..e5f22797a
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.c
@@ -0,0 +1,92 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashReadRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "StubExtFlashReadRequest.pb-c.h"
+void stub_ext_flash_read_request__init
+ (StubExtFlashReadRequest *message)
+{
+ static const StubExtFlashReadRequest init_value = STUB_EXT_FLASH_READ_REQUEST__INIT;
+ *message = init_value;
+}
+size_t stub_ext_flash_read_request__get_packed_size
+ (const StubExtFlashReadRequest *message)
+{
+ assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t stub_ext_flash_read_request__pack
+ (const StubExtFlashReadRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t stub_ext_flash_read_request__pack_to_buffer
+ (const StubExtFlashReadRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StubExtFlashReadRequest *
+ stub_ext_flash_read_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (StubExtFlashReadRequest *)
+ protobuf_c_message_unpack (&stub_ext_flash_read_request__descriptor,
+ allocator, len, data);
+}
+void stub_ext_flash_read_request__free_unpacked
+ (StubExtFlashReadRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &stub_ext_flash_read_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor stub_ext_flash_read_request__field_descriptors[1] =
+{
+ {
+ "Number_Of_Words",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubExtFlashReadRequest, has_number_of_words),
+ offsetof(StubExtFlashReadRequest, number_of_words),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned stub_ext_flash_read_request__field_indices_by_name[] = {
+ 0, /* field[0] = Number_Of_Words */
+};
+static const ProtobufCIntRange stub_ext_flash_read_request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor stub_ext_flash_read_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "StubExtFlashReadRequest",
+ "StubExtFlashReadRequest",
+ "StubExtFlashReadRequest",
+ "",
+ sizeof(StubExtFlashReadRequest),
+ 1,
+ stub_ext_flash_read_request__field_descriptors,
+ stub_ext_flash_read_request__field_indices_by_name,
+ 1, stub_ext_flash_read_request__number_ranges,
+ (ProtobufCMessageInit) stub_ext_flash_read_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.h
new file mode 100644
index 000000000..0345c7c86
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadRequest.pb-c.h
@@ -0,0 +1,75 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashReadRequest.proto */
+
+#ifndef PROTOBUF_C_StubExtFlashReadRequest_2eproto__INCLUDED
+#define PROTOBUF_C_StubExtFlashReadRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _StubExtFlashReadRequest StubExtFlashReadRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _StubExtFlashReadRequest
+{
+ ProtobufCMessage base;
+ /*
+ *Max 5 at this test
+ */
+ protobuf_c_boolean has_number_of_words;
+ uint32_t number_of_words;
+};
+#define STUB_EXT_FLASH_READ_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_read_request__descriptor) \
+ , 0, 0 }
+
+
+/* StubExtFlashReadRequest methods */
+void stub_ext_flash_read_request__init
+ (StubExtFlashReadRequest *message);
+size_t stub_ext_flash_read_request__get_packed_size
+ (const StubExtFlashReadRequest *message);
+size_t stub_ext_flash_read_request__pack
+ (const StubExtFlashReadRequest *message,
+ uint8_t *out);
+size_t stub_ext_flash_read_request__pack_to_buffer
+ (const StubExtFlashReadRequest *message,
+ ProtobufCBuffer *buffer);
+StubExtFlashReadRequest *
+ stub_ext_flash_read_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void stub_ext_flash_read_request__free_unpacked
+ (StubExtFlashReadRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*StubExtFlashReadRequest_Closure)
+ (const StubExtFlashReadRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor stub_ext_flash_read_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_StubExtFlashReadRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.c
new file mode 100644
index 000000000..57045730d
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.c
@@ -0,0 +1,170 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashReadResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "StubExtFlashReadResponse.pb-c.h"
+void stub_ext_flash_read_response__init
+ (StubExtFlashReadResponse *message)
+{
+ static const StubExtFlashReadResponse init_value = STUB_EXT_FLASH_READ_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t stub_ext_flash_read_response__get_packed_size
+ (const StubExtFlashReadResponse *message)
+{
+ assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t stub_ext_flash_read_response__pack
+ (const StubExtFlashReadResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t stub_ext_flash_read_response__pack_to_buffer
+ (const StubExtFlashReadResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StubExtFlashReadResponse *
+ stub_ext_flash_read_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (StubExtFlashReadResponse *)
+ protobuf_c_message_unpack (&stub_ext_flash_read_response__descriptor,
+ allocator, len, data);
+}
+void stub_ext_flash_read_response__free_unpacked
+ (StubExtFlashReadResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &stub_ext_flash_read_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor stub_ext_flash_read_response__field_descriptors[7] =
+{
+ {
+ "ReadWord_1",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashReadResponse, has_readword_1),
+ offsetof(StubExtFlashReadResponse, readword_1),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ReadWord_2",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashReadResponse, has_readword_2),
+ offsetof(StubExtFlashReadResponse, readword_2),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ReadWord_3",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashReadResponse, has_readword_3),
+ offsetof(StubExtFlashReadResponse, readword_3),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ReadWord_4",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashReadResponse, has_readword_4),
+ offsetof(StubExtFlashReadResponse, readword_4),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ReadWord_5",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashReadResponse, has_readword_5),
+ offsetof(StubExtFlashReadResponse, readword_5),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Status",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(StubExtFlashReadResponse, status),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "StatusWord",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubExtFlashReadResponse, has_statusword),
+ offsetof(StubExtFlashReadResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned stub_ext_flash_read_response__field_indices_by_name[] = {
+ 0, /* field[0] = ReadWord_1 */
+ 1, /* field[1] = ReadWord_2 */
+ 2, /* field[2] = ReadWord_3 */
+ 3, /* field[3] = ReadWord_4 */
+ 4, /* field[4] = ReadWord_5 */
+ 5, /* field[5] = Status */
+ 6, /* field[6] = StatusWord */
+};
+static const ProtobufCIntRange stub_ext_flash_read_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 7 }
+};
+const ProtobufCMessageDescriptor stub_ext_flash_read_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "StubExtFlashReadResponse",
+ "StubExtFlashReadResponse",
+ "StubExtFlashReadResponse",
+ "",
+ sizeof(StubExtFlashReadResponse),
+ 7,
+ stub_ext_flash_read_response__field_descriptors,
+ stub_ext_flash_read_response__field_indices_by_name,
+ 1, stub_ext_flash_read_response__number_ranges,
+ (ProtobufCMessageInit) stub_ext_flash_read_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.h
new file mode 100644
index 000000000..c0bfdd88c
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashReadResponse.pb-c.h
@@ -0,0 +1,99 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashReadResponse.proto */
+
+#ifndef PROTOBUF_C_StubExtFlashReadResponse_2eproto__INCLUDED
+#define PROTOBUF_C_StubExtFlashReadResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _StubExtFlashReadResponse StubExtFlashReadResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _StubExtFlashReadResponse
+{
+ ProtobufCMessage base;
+ /*
+ */
+ protobuf_c_boolean has_readword_1;
+ int32_t readword_1;
+ /*
+ */
+ protobuf_c_boolean has_readword_2;
+ int32_t readword_2;
+ /*
+ */
+ protobuf_c_boolean has_readword_3;
+ int32_t readword_3;
+ /*
+ */
+ protobuf_c_boolean has_readword_4;
+ int32_t readword_4;
+ /*
+ */
+ protobuf_c_boolean has_readword_5;
+ int32_t readword_5;
+ /*
+ * Passed/Failed
+ */
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
+};
+#define STUB_EXT_FLASH_READ_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_read_response__descriptor) \
+ , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 }
+
+
+/* StubExtFlashReadResponse methods */
+void stub_ext_flash_read_response__init
+ (StubExtFlashReadResponse *message);
+size_t stub_ext_flash_read_response__get_packed_size
+ (const StubExtFlashReadResponse *message);
+size_t stub_ext_flash_read_response__pack
+ (const StubExtFlashReadResponse *message,
+ uint8_t *out);
+size_t stub_ext_flash_read_response__pack_to_buffer
+ (const StubExtFlashReadResponse *message,
+ ProtobufCBuffer *buffer);
+StubExtFlashReadResponse *
+ stub_ext_flash_read_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void stub_ext_flash_read_response__free_unpacked
+ (StubExtFlashReadResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*StubExtFlashReadResponse_Closure)
+ (const StubExtFlashReadResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor stub_ext_flash_read_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_StubExtFlashReadResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.c
new file mode 100644
index 000000000..e74bb57de
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.c
@@ -0,0 +1,144 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashWriteRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "StubExtFlashWriteRequest.pb-c.h"
+void stub_ext_flash_write_request__init
+ (StubExtFlashWriteRequest *message)
+{
+ static const StubExtFlashWriteRequest init_value = STUB_EXT_FLASH_WRITE_REQUEST__INIT;
+ *message = init_value;
+}
+size_t stub_ext_flash_write_request__get_packed_size
+ (const StubExtFlashWriteRequest *message)
+{
+ assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t stub_ext_flash_write_request__pack
+ (const StubExtFlashWriteRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t stub_ext_flash_write_request__pack_to_buffer
+ (const StubExtFlashWriteRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StubExtFlashWriteRequest *
+ stub_ext_flash_write_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (StubExtFlashWriteRequest *)
+ protobuf_c_message_unpack (&stub_ext_flash_write_request__descriptor,
+ allocator, len, data);
+}
+void stub_ext_flash_write_request__free_unpacked
+ (StubExtFlashWriteRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &stub_ext_flash_write_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor stub_ext_flash_write_request__field_descriptors[5] =
+{
+ {
+ "WordToWrite1",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashWriteRequest, has_wordtowrite1),
+ offsetof(StubExtFlashWriteRequest, wordtowrite1),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "WordToWrite2",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashWriteRequest, has_wordtowrite2),
+ offsetof(StubExtFlashWriteRequest, wordtowrite2),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "WordToWrite3",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashWriteRequest, has_wordtowrite3),
+ offsetof(StubExtFlashWriteRequest, wordtowrite3),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "WordToWrite4",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashWriteRequest, has_wordtowrite4),
+ offsetof(StubExtFlashWriteRequest, wordtowrite4),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "WordToWrite5",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubExtFlashWriteRequest, has_wordtowrite5),
+ offsetof(StubExtFlashWriteRequest, wordtowrite5),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned stub_ext_flash_write_request__field_indices_by_name[] = {
+ 0, /* field[0] = WordToWrite1 */
+ 1, /* field[1] = WordToWrite2 */
+ 2, /* field[2] = WordToWrite3 */
+ 3, /* field[3] = WordToWrite4 */
+ 4, /* field[4] = WordToWrite5 */
+};
+static const ProtobufCIntRange stub_ext_flash_write_request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 5 }
+};
+const ProtobufCMessageDescriptor stub_ext_flash_write_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "StubExtFlashWriteRequest",
+ "StubExtFlashWriteRequest",
+ "StubExtFlashWriteRequest",
+ "",
+ sizeof(StubExtFlashWriteRequest),
+ 5,
+ stub_ext_flash_write_request__field_descriptors,
+ stub_ext_flash_write_request__field_indices_by_name,
+ 1, stub_ext_flash_write_request__number_ranges,
+ (ProtobufCMessageInit) stub_ext_flash_write_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.h
new file mode 100644
index 000000000..91453d218
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteRequest.pb-c.h
@@ -0,0 +1,95 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashWriteRequest.proto */
+
+#ifndef PROTOBUF_C_StubExtFlashWriteRequest_2eproto__INCLUDED
+#define PROTOBUF_C_StubExtFlashWriteRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _StubExtFlashWriteRequest StubExtFlashWriteRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _StubExtFlashWriteRequest
+{
+ ProtobufCMessage base;
+ /*
+ *0..255
+ */
+ protobuf_c_boolean has_wordtowrite1;
+ int32_t wordtowrite1;
+ /*
+ *0..255
+ */
+ protobuf_c_boolean has_wordtowrite2;
+ int32_t wordtowrite2;
+ /*
+ *0..255
+ */
+ protobuf_c_boolean has_wordtowrite3;
+ int32_t wordtowrite3;
+ /*
+ *0..255
+ */
+ protobuf_c_boolean has_wordtowrite4;
+ int32_t wordtowrite4;
+ /*
+ *0..255
+ */
+ protobuf_c_boolean has_wordtowrite5;
+ int32_t wordtowrite5;
+};
+#define STUB_EXT_FLASH_WRITE_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_write_request__descriptor) \
+ , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
+
+
+/* StubExtFlashWriteRequest methods */
+void stub_ext_flash_write_request__init
+ (StubExtFlashWriteRequest *message);
+size_t stub_ext_flash_write_request__get_packed_size
+ (const StubExtFlashWriteRequest *message);
+size_t stub_ext_flash_write_request__pack
+ (const StubExtFlashWriteRequest *message,
+ uint8_t *out);
+size_t stub_ext_flash_write_request__pack_to_buffer
+ (const StubExtFlashWriteRequest *message,
+ ProtobufCBuffer *buffer);
+StubExtFlashWriteRequest *
+ stub_ext_flash_write_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void stub_ext_flash_write_request__free_unpacked
+ (StubExtFlashWriteRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*StubExtFlashWriteRequest_Closure)
+ (const StubExtFlashWriteRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor stub_ext_flash_write_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_StubExtFlashWriteRequest_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.c
new file mode 100644
index 000000000..33a3b7e98
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.c
@@ -0,0 +1,105 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashWriteResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "StubExtFlashWriteResponse.pb-c.h"
+void stub_ext_flash_write_response__init
+ (StubExtFlashWriteResponse *message)
+{
+ static const StubExtFlashWriteResponse init_value = STUB_EXT_FLASH_WRITE_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t stub_ext_flash_write_response__get_packed_size
+ (const StubExtFlashWriteResponse *message)
+{
+ assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t stub_ext_flash_write_response__pack
+ (const StubExtFlashWriteResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t stub_ext_flash_write_response__pack_to_buffer
+ (const StubExtFlashWriteResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StubExtFlashWriteResponse *
+ stub_ext_flash_write_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (StubExtFlashWriteResponse *)
+ protobuf_c_message_unpack (&stub_ext_flash_write_response__descriptor,
+ allocator, len, data);
+}
+void stub_ext_flash_write_response__free_unpacked
+ (StubExtFlashWriteResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &stub_ext_flash_write_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor stub_ext_flash_write_response__field_descriptors[2] =
+{
+ {
+ "Status",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(StubExtFlashWriteResponse, status),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "StatusWord",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubExtFlashWriteResponse, has_statusword),
+ offsetof(StubExtFlashWriteResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned stub_ext_flash_write_response__field_indices_by_name[] = {
+ 0, /* field[0] = Status */
+ 1, /* field[1] = StatusWord */
+};
+static const ProtobufCIntRange stub_ext_flash_write_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor stub_ext_flash_write_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "StubExtFlashWriteResponse",
+ "StubExtFlashWriteResponse",
+ "StubExtFlashWriteResponse",
+ "",
+ sizeof(StubExtFlashWriteResponse),
+ 2,
+ stub_ext_flash_write_response__field_descriptors,
+ stub_ext_flash_write_response__field_indices_by_name,
+ 1, stub_ext_flash_write_response__number_ranges,
+ (ProtobufCMessageInit) stub_ext_flash_write_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.h
new file mode 100644
index 000000000..50d2f94d4
--- /dev/null
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubExtFlashWriteResponse.pb-c.h
@@ -0,0 +1,79 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubExtFlashWriteResponse.proto */
+
+#ifndef PROTOBUF_C_StubExtFlashWriteResponse_2eproto__INCLUDED
+#define PROTOBUF_C_StubExtFlashWriteResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _StubExtFlashWriteResponse StubExtFlashWriteResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _StubExtFlashWriteResponse
+{
+ ProtobufCMessage base;
+ /*
+ * Passed/Failed
+ */
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
+};
+#define STUB_EXT_FLASH_WRITE_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&stub_ext_flash_write_response__descriptor) \
+ , NULL, 0, 0 }
+
+
+/* StubExtFlashWriteResponse methods */
+void stub_ext_flash_write_response__init
+ (StubExtFlashWriteResponse *message);
+size_t stub_ext_flash_write_response__get_packed_size
+ (const StubExtFlashWriteResponse *message);
+size_t stub_ext_flash_write_response__pack
+ (const StubExtFlashWriteResponse *message,
+ uint8_t *out);
+size_t stub_ext_flash_write_response__pack_to_buffer
+ (const StubExtFlashWriteResponse *message,
+ ProtobufCBuffer *buffer);
+StubExtFlashWriteResponse *
+ stub_ext_flash_write_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void stub_ext_flash_write_response__free_unpacked
+ (StubExtFlashWriteResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*StubExtFlashWriteResponse_Closure)
+ (const StubExtFlashWriteResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor stub_ext_flash_write_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_StubExtFlashWriteResponse_2eproto__INCLUDED */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c
index d9d10ab20..a7ad8a8e5 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_gpioinput_setup_response__free_unpacked
assert(message->base.descriptor == &stub_gpioinput_setup_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_gpioinput_setup_response__field_descriptors[3] =
+static const ProtobufCFieldDescriptor stub_gpioinput_setup_response__field_descriptors[4] =
{
{
"PortId",
@@ -82,24 +82,37 @@ static const ProtobufCFieldDescriptor stub_gpioinput_setup_response__field_descr
"Status",
3,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_UINT32,
- offsetof(StubGPIOInputSetupResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubGPIOInputSetupResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubGPIOInputSetupResponse, has_statusword),
+ offsetof(StubGPIOInputSetupResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_gpioinput_setup_response__field_indices_by_name[] = {
1, /* field[1] = PinId */
0, /* field[0] = PortId */
2, /* field[2] = Status */
+ 3, /* field[3] = StatusWord */
};
static const ProtobufCIntRange stub_gpioinput_setup_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 3 }
+ { 0, 4 }
};
const ProtobufCMessageDescriptor stub_gpioinput_setup_response__descriptor =
{
@@ -109,7 +122,7 @@ const ProtobufCMessageDescriptor stub_gpioinput_setup_response__descriptor =
"StubGPIOInputSetupResponse",
"",
sizeof(StubGPIOInputSetupResponse),
- 3,
+ 4,
stub_gpioinput_setup_response__field_descriptors,
stub_gpioinput_setup_response__field_indices_by_name,
1, stub_gpioinput_setup_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h
index c0c18fa8c..7a93c3048 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOInputSetupResponse.pb-c.h
@@ -36,14 +36,18 @@ struct _StubGPIOInputSetupResponse
protobuf_c_boolean has_pinid;
uint32_t pinid;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- uint32_t status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_GPIOINPUT_SETUP_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_gpioinput_setup_response__descriptor) \
- , NULL, 0, 0, 0, 0 }
+ , NULL, 0, 0, NULL, 0, 0 }
/* StubGPIOInputSetupResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c
index 95720a650..bc5bc2e84 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_gpioread_bit_response__free_unpacked
assert(message->base.descriptor == &stub_gpioread_bit_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_gpioread_bit_response__field_descriptors[4] =
+static const ProtobufCFieldDescriptor stub_gpioread_bit_response__field_descriptors[5] =
{
{
"PortId",
@@ -94,25 +94,38 @@ static const ProtobufCFieldDescriptor stub_gpioread_bit_response__field_descript
"Status",
4,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_UINT32,
- offsetof(StubGPIOReadBitResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubGPIOReadBitResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubGPIOReadBitResponse, has_statusword),
+ offsetof(StubGPIOReadBitResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_gpioread_bit_response__field_indices_by_name[] = {
2, /* field[2] = BitValue */
1, /* field[1] = PinId */
0, /* field[0] = PortId */
3, /* field[3] = Status */
+ 4, /* field[4] = StatusWord */
};
static const ProtobufCIntRange stub_gpioread_bit_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 4 }
+ { 0, 5 }
};
const ProtobufCMessageDescriptor stub_gpioread_bit_response__descriptor =
{
@@ -122,7 +135,7 @@ const ProtobufCMessageDescriptor stub_gpioread_bit_response__descriptor =
"StubGPIOReadBitResponse",
"",
sizeof(StubGPIOReadBitResponse),
- 4,
+ 5,
stub_gpioread_bit_response__field_descriptors,
stub_gpioread_bit_response__field_indices_by_name,
1, stub_gpioread_bit_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h
index 09a7ea261..ebbdc199d 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadBitResponse.pb-c.h
@@ -38,14 +38,18 @@ struct _StubGPIOReadBitResponse
protobuf_c_boolean has_bitvalue;
protobuf_c_boolean bitvalue;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- uint32_t status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_GPIOREAD_BIT_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_gpioread_bit_response__descriptor) \
- , NULL, 0, 0, 0, 0, 0, 0 }
+ , NULL, 0, 0, 0, 0, NULL, 0, 0 }
/* StubGPIOReadBitResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c
index a6ca419de..b43726c3e 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_gpioread_byte_response__free_unpacked
assert(message->base.descriptor == &stub_gpioread_byte_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_gpioread_byte_response__field_descriptors[3] =
+static const ProtobufCFieldDescriptor stub_gpioread_byte_response__field_descriptors[4] =
{
{
"PortId",
@@ -79,27 +79,40 @@ static const ProtobufCFieldDescriptor stub_gpioread_byte_response__field_descrip
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
- "status",
+ "Status",
3,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_UINT32,
- offsetof(StubGPIOReadByteResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubGPIOReadByteResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubGPIOReadByteResponse, has_statusword),
+ offsetof(StubGPIOReadByteResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_gpioread_byte_response__field_indices_by_name[] = {
1, /* field[1] = ByteValue */
0, /* field[0] = PortId */
- 2, /* field[2] = status */
+ 2, /* field[2] = Status */
+ 3, /* field[3] = StatusWord */
};
static const ProtobufCIntRange stub_gpioread_byte_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 3 }
+ { 0, 4 }
};
const ProtobufCMessageDescriptor stub_gpioread_byte_response__descriptor =
{
@@ -109,7 +122,7 @@ const ProtobufCMessageDescriptor stub_gpioread_byte_response__descriptor =
"StubGPIOReadByteResponse",
"",
sizeof(StubGPIOReadByteResponse),
- 3,
+ 4,
stub_gpioread_byte_response__field_descriptors,
stub_gpioread_byte_response__field_indices_by_name,
1, stub_gpioread_byte_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h
index a1a8fe399..dad405984 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOReadByteResponse.pb-c.h
@@ -33,14 +33,18 @@ struct _StubGPIOReadByteResponse
protobuf_c_boolean has_bytevalue;
uint32_t bytevalue;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- uint32_t status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_GPIOREAD_BYTE_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_gpioread_byte_response__descriptor) \
- , NULL, 0, 0, 0, 0 }
+ , NULL, 0, 0, NULL, 0, 0 }
/* StubGPIOReadByteResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c
index f650dff67..ef26dbf57 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_gpiowrite_bit_response__free_unpacked
assert(message->base.descriptor == &stub_gpiowrite_bit_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_gpiowrite_bit_response__field_descriptors[3] =
+static const ProtobufCFieldDescriptor stub_gpiowrite_bit_response__field_descriptors[4] =
{
{
"PortId",
@@ -82,24 +82,37 @@ static const ProtobufCFieldDescriptor stub_gpiowrite_bit_response__field_descrip
"Status",
3,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_UINT32,
- offsetof(StubGPIOWriteBitResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubGPIOWriteBitResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubGPIOWriteBitResponse, has_statusword),
+ offsetof(StubGPIOWriteBitResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_gpiowrite_bit_response__field_indices_by_name[] = {
1, /* field[1] = PinId */
0, /* field[0] = PortId */
2, /* field[2] = Status */
+ 3, /* field[3] = StatusWord */
};
static const ProtobufCIntRange stub_gpiowrite_bit_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 3 }
+ { 0, 4 }
};
const ProtobufCMessageDescriptor stub_gpiowrite_bit_response__descriptor =
{
@@ -109,7 +122,7 @@ const ProtobufCMessageDescriptor stub_gpiowrite_bit_response__descriptor =
"StubGPIOWriteBitResponse",
"",
sizeof(StubGPIOWriteBitResponse),
- 3,
+ 4,
stub_gpiowrite_bit_response__field_descriptors,
stub_gpiowrite_bit_response__field_indices_by_name,
1, stub_gpiowrite_bit_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h
index 0516ad60e..831732f4a 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteBitResponse.pb-c.h
@@ -36,14 +36,18 @@ struct _StubGPIOWriteBitResponse
protobuf_c_boolean has_pinid;
uint32_t pinid;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- uint32_t status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_GPIOWRITE_BIT_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_gpiowrite_bit_response__descriptor) \
- , NULL, 0, 0, 0, 0 }
+ , NULL, 0, 0, NULL, 0, 0 }
/* StubGPIOWriteBitResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c
index 4a72207c7..ab6b357d9 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_gpiowrite_byte_response__free_unpacked
assert(message->base.descriptor == &stub_gpiowrite_byte_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_gpiowrite_byte_response__field_descriptors[2] =
+static const ProtobufCFieldDescriptor stub_gpiowrite_byte_response__field_descriptors[3] =
{
{
"PortId",
@@ -67,12 +67,24 @@ static const ProtobufCFieldDescriptor stub_gpiowrite_byte_response__field_descri
0,NULL,NULL /* reserved1,reserved2, etc */
},
{
- "status",
+ "Status",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(StubGPIOWriteByteResponse, status),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "StatusWord",
3,
PROTOBUF_C_LABEL_OPTIONAL,
PROTOBUF_C_TYPE_UINT32,
- offsetof(StubGPIOWriteByteResponse, has_status),
- offsetof(StubGPIOWriteByteResponse, status),
+ offsetof(StubGPIOWriteByteResponse, has_statusword),
+ offsetof(StubGPIOWriteByteResponse, statusword),
NULL,
NULL,
0, /* flags */
@@ -81,13 +93,13 @@ static const ProtobufCFieldDescriptor stub_gpiowrite_byte_response__field_descri
};
static const unsigned stub_gpiowrite_byte_response__field_indices_by_name[] = {
0, /* field[0] = PortId */
- 1, /* field[1] = status */
+ 1, /* field[1] = Status */
+ 2, /* field[2] = StatusWord */
};
-static const ProtobufCIntRange stub_gpiowrite_byte_response__number_ranges[2 + 1] =
+static const ProtobufCIntRange stub_gpiowrite_byte_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 3, 1 },
- { 0, 2 }
+ { 0, 3 }
};
const ProtobufCMessageDescriptor stub_gpiowrite_byte_response__descriptor =
{
@@ -97,10 +109,10 @@ const ProtobufCMessageDescriptor stub_gpiowrite_byte_response__descriptor =
"StubGPIOWriteByteResponse",
"",
sizeof(StubGPIOWriteByteResponse),
- 2,
+ 3,
stub_gpiowrite_byte_response__field_descriptors,
stub_gpiowrite_byte_response__field_indices_by_name,
- 2, stub_gpiowrite_byte_response__number_ranges,
+ 1, stub_gpiowrite_byte_response__number_ranges,
(ProtobufCMessageInit) stub_gpiowrite_byte_response__init,
NULL,NULL,NULL /* reserved[123] */
};
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h
index f02ec9254..6995dbc15 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubGPIOWriteByteResponse.pb-c.h
@@ -31,14 +31,18 @@ struct _StubGPIOWriteByteResponse
*/
char *portid;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- uint32_t status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_GPIOWRITE_BYTE_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_gpiowrite_byte_response__descriptor) \
- , NULL, 0, 0 }
+ , NULL, NULL, 0, 0 }
/* StubGPIOWriteByteResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c
index 83586b8da..f45ed51b6 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_heater_response__free_unpacked
assert(message->base.descriptor == &stub_heater_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_heater_response__field_descriptors[3] =
+static const ProtobufCFieldDescriptor stub_heater_response__field_descriptors[4] =
{
{
"HeaterGroupId",
@@ -82,24 +82,37 @@ static const ProtobufCFieldDescriptor stub_heater_response__field_descriptors[3]
"Status",
3,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_BOOL,
- offsetof(StubHeaterResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubHeaterResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubHeaterResponse, has_statusword),
+ offsetof(StubHeaterResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_heater_response__field_indices_by_name[] = {
0, /* field[0] = HeaterGroupId */
1, /* field[1] = HeaterTemperatureSensor */
2, /* field[2] = Status */
+ 3, /* field[3] = StatusWord */
};
static const ProtobufCIntRange stub_heater_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 3 }
+ { 0, 4 }
};
const ProtobufCMessageDescriptor stub_heater_response__descriptor =
{
@@ -109,7 +122,7 @@ const ProtobufCMessageDescriptor stub_heater_response__descriptor =
"StubHeaterResponse",
"",
sizeof(StubHeaterResponse),
- 3,
+ 4,
stub_heater_response__field_descriptors,
stub_heater_response__field_indices_by_name,
1, stub_heater_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h
index c7b2d08d2..fd37a5ae7 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubHeaterResponse.pb-c.h
@@ -34,14 +34,18 @@ struct _StubHeaterResponse
protobuf_c_boolean has_heatertemperaturesensor;
uint32_t heatertemperaturesensor;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- protobuf_c_boolean status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_HEATER_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_heater_response__descriptor) \
- , 0, 0, 0, 0, 0, 0 }
+ , 0, 0, 0, 0, NULL, 0, 0 }
/* StubHeaterResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c
index c5eac4915..5204790a0 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_motor_encoder_response__free_unpacked
assert(message->base.descriptor == &stub_motor_encoder_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_motor_encoder_response__field_descriptors[5] =
+static const ProtobufCFieldDescriptor stub_motor_encoder_response__field_descriptors[6] =
{
{
"EncoderId",
@@ -106,14 +106,26 @@ static const ProtobufCFieldDescriptor stub_motor_encoder_response__field_descrip
"Status",
5,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_BOOL,
- offsetof(StubMotorEncoderResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubMotorEncoderResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubMotorEncoderResponse, has_statusword),
+ offsetof(StubMotorEncoderResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_motor_encoder_response__field_indices_by_name[] = {
0, /* field[0] = EncoderId */
@@ -121,11 +133,12 @@ static const unsigned stub_motor_encoder_response__field_indices_by_name[] = {
3, /* field[3] = MotorDirection */
2, /* field[2] = MotorSpeed */
4, /* field[4] = Status */
+ 5, /* field[5] = StatusWord */
};
static const ProtobufCIntRange stub_motor_encoder_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 5 }
+ { 0, 6 }
};
const ProtobufCMessageDescriptor stub_motor_encoder_response__descriptor =
{
@@ -135,7 +148,7 @@ const ProtobufCMessageDescriptor stub_motor_encoder_response__descriptor =
"StubMotorEncoderResponse",
"",
sizeof(StubMotorEncoderResponse),
- 5,
+ 6,
stub_motor_encoder_response__field_descriptors,
stub_motor_encoder_response__field_indices_by_name,
1, stub_motor_encoder_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h
index cff4adfa4..d1e150306 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubMotorEncoderResponse.pb-c.h
@@ -41,14 +41,18 @@ struct _StubMotorEncoderResponse
protobuf_c_boolean has_motordirection;
protobuf_c_boolean motordirection;
/*
- * 0-OK 1-Failed ( motion control error > ?)
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- protobuf_c_boolean status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_MOTOR_ENCODER_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_motor_encoder_response__descriptor) \
- , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
+ , 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0 }
/* StubMotorEncoderResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c
index a14fd9720..1f8445842 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_opt_limit_switch_response__free_unpacked
assert(message->base.descriptor == &stub_opt_limit_switch_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_opt_limit_switch_response__field_descriptors[3] =
+static const ProtobufCFieldDescriptor stub_opt_limit_switch_response__field_descriptors[4] =
{
{
"LimitSwitchrId",
@@ -82,24 +82,37 @@ static const ProtobufCFieldDescriptor stub_opt_limit_switch_response__field_desc
"Status",
3,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_BOOL,
- offsetof(StubOptLimitSwitchResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubOptLimitSwitchResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubOptLimitSwitchResponse, has_statusword),
+ offsetof(StubOptLimitSwitchResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_opt_limit_switch_response__field_indices_by_name[] = {
1, /* field[1] = LimitSwitchDitection */
0, /* field[0] = LimitSwitchrId */
2, /* field[2] = Status */
+ 3, /* field[3] = StatusWord */
};
static const ProtobufCIntRange stub_opt_limit_switch_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 3 }
+ { 0, 4 }
};
const ProtobufCMessageDescriptor stub_opt_limit_switch_response__descriptor =
{
@@ -109,7 +122,7 @@ const ProtobufCMessageDescriptor stub_opt_limit_switch_response__descriptor =
"StubOptLimitSwitchResponse",
"",
sizeof(StubOptLimitSwitchResponse),
- 3,
+ 4,
stub_opt_limit_switch_response__field_descriptors,
stub_opt_limit_switch_response__field_indices_by_name,
1, stub_opt_limit_switch_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h
index 61656ccde..74ebe93d8 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubOptLimitSwitchResponse.pb-c.h
@@ -36,14 +36,18 @@ struct _StubOptLimitSwitchResponse
protobuf_c_boolean has_limitswitchditection;
protobuf_c_boolean limitswitchditection;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- protobuf_c_boolean status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_OPT_LIMIT_SWITCH_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_opt_limit_switch_response__descriptor) \
- , 0, 0, 0, 0, 0, 0 }
+ , 0, 0, 0, 0, NULL, 0, 0 }
/* StubOptLimitSwitchResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c
index 994bcda15..1d13edf23 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.c
@@ -52,7 +52,7 @@ void stub_steper_motor_response__free_unpacked
assert(message->base.descriptor == &stub_steper_motor_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_steper_motor_response__field_descriptors[3] =
+static const ProtobufCFieldDescriptor stub_steper_motor_response__field_descriptors[4] =
{
{
"MotorId",
@@ -82,24 +82,37 @@ static const ProtobufCFieldDescriptor stub_steper_motor_response__field_descript
"Status",
3,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_BOOL,
- offsetof(StubSteperMotorResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubSteperMotorResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubSteperMotorResponse, has_statusword),
+ offsetof(StubSteperMotorResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_steper_motor_response__field_indices_by_name[] = {
0, /* field[0] = MotorId */
1, /* field[1] = MotorVersion */
2, /* field[2] = Status */
+ 3, /* field[3] = StatusWord */
};
static const ProtobufCIntRange stub_steper_motor_response__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 3 }
+ { 0, 4 }
};
const ProtobufCMessageDescriptor stub_steper_motor_response__descriptor =
{
@@ -109,7 +122,7 @@ const ProtobufCMessageDescriptor stub_steper_motor_response__descriptor =
"StubSteperMotorResponse",
"",
sizeof(StubSteperMotorResponse),
- 3,
+ 4,
stub_steper_motor_response__field_descriptors,
stub_steper_motor_response__field_indices_by_name,
1, stub_steper_motor_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h
index 978fb8b2c..fbe1f63ef 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubSteperMotorResponse.pb-c.h
@@ -36,14 +36,18 @@ struct _StubSteperMotorResponse
protobuf_c_boolean has_motorversion;
uint32_t motorversion;
/*
- * 0-OK 1-Failed
+ * Passed / Failed
*/
- protobuf_c_boolean has_status;
- protobuf_c_boolean status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_STEPER_MOTOR_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_steper_motor_response__descriptor) \
- , 0, 0, 0, 0, 0, 0 }
+ , 0, 0, 0, 0, NULL, 0, 0 }
/* StubSteperMotorResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c
index 4fbed304f..4556cc4d2 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.c
@@ -52,28 +52,41 @@ void stub_valve_response__free_unpacked
assert(message->base.descriptor == &stub_valve_response__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
-static const ProtobufCFieldDescriptor stub_valve_response__field_descriptors[1] =
+static const ProtobufCFieldDescriptor stub_valve_response__field_descriptors[2] =
{
{
"Status",
- 3,
+ 1,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_BOOL,
- offsetof(StubValveResponse, has_status),
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
offsetof(StubValveResponse, status),
NULL,
NULL,
0, /* flags */
0,NULL,NULL /* reserved1,reserved2, etc */
},
+ {
+ "StatusWord",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubValveResponse, has_statusword),
+ offsetof(StubValveResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
};
static const unsigned stub_valve_response__field_indices_by_name[] = {
0, /* field[0] = Status */
+ 1, /* field[1] = StatusWord */
};
static const ProtobufCIntRange stub_valve_response__number_ranges[1 + 1] =
{
- { 3, 0 },
- { 0, 1 }
+ { 1, 0 },
+ { 0, 2 }
};
const ProtobufCMessageDescriptor stub_valve_response__descriptor =
{
@@ -83,7 +96,7 @@ const ProtobufCMessageDescriptor stub_valve_response__descriptor =
"StubValveResponse",
"",
sizeof(StubValveResponse),
- 1,
+ 2,
stub_valve_response__field_descriptors,
stub_valve_response__field_indices_by_name,
1, stub_valve_response__number_ranges,
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h
index 1949b4602..3b1512450 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/PMR/Stubs/StubValveResponse.pb-c.h
@@ -27,14 +27,18 @@ struct _StubValveResponse
{
ProtobufCMessage base;
/*
- * 0-OK 1-Failed
+ * Passed/Failed
*/
- protobuf_c_boolean has_status;
- protobuf_c_boolean status;
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
};
#define STUB_VALVE_RESPONSE__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&stub_valve_response__descriptor) \
- , 0, 0 }
+ , NULL, 0, 0 }
/* StubValveResponse methods */
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj
index 8026e3054..58c610ef3 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj
@@ -148,6 +148,13 @@
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
+ <ClInclude Include="ColorConverter.h" />
+ <ClInclude Include="PMR\ColorLab\CalibrationPoint.pb-c.h" />
+ <ClInclude Include="PMR\ColorLab\ColorSpace.pb-c.h" />
+ <ClInclude Include="PMR\ColorLab\ConversionInput.pb-c.h" />
+ <ClInclude Include="PMR\ColorLab\ConversionOutput.pb-c.h" />
+ <ClInclude Include="PMR\ColorLab\InputColor.pb-c.h" />
+ <ClInclude Include="PMR\ColorLab\OutputColor.pb-c.h" />
<ClInclude Include="Tester.h" />
<ClInclude Include="PMR\Common\ErrorCode.pb-c.h" />
<ClInclude Include="PMR\Common\MessageContainer.pb-c.h" />
@@ -158,7 +165,14 @@
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
+ <ClCompile Include="ColorConverter.cpp" />
<ClCompile Include="Exports.cpp" />
+ <ClCompile Include="PMR\ColorLab\CalibrationPoint.pb-c.c" />
+ <ClCompile Include="PMR\ColorLab\ColorSpace.pb-c.c" />
+ <ClCompile Include="PMR\ColorLab\ConversionInput.pb-c.c" />
+ <ClCompile Include="PMR\ColorLab\ConversionOutput.pb-c.c" />
+ <ClCompile Include="PMR\ColorLab\InputColor.pb-c.c" />
+ <ClCompile Include="PMR\ColorLab\OutputColor.pb-c.c" />
<ClCompile Include="Tester.cpp" />
<ClCompile Include="PMR\Common\ErrorCode.pb-c.c" />
<ClCompile Include="PMR\Common\MessageContainer.pb-c.c" />
diff --git a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters
index 792d60478..871011841 100644
--- a/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters
+++ b/Software/Visual_Studio/Native/Tango.ColorLib/Tango.ColorLib.vcxproj.filters
@@ -13,6 +13,9 @@
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
+ <Filter Include="PMR">
+ <UniqueIdentifier>{0f952433-0681-4d49-9d48-c95684b56970}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
@@ -42,6 +45,27 @@
<ClInclude Include="Tester.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="ColorConverter.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="PMR\ColorLab\ColorSpace.pb-c.h">
+ <Filter>PMR</Filter>
+ </ClInclude>
+ <ClInclude Include="PMR\ColorLab\ConversionInput.pb-c.h">
+ <Filter>PMR</Filter>
+ </ClInclude>
+ <ClInclude Include="PMR\ColorLab\ConversionOutput.pb-c.h">
+ <Filter>PMR</Filter>
+ </ClInclude>
+ <ClInclude Include="PMR\ColorLab\InputColor.pb-c.h">
+ <Filter>PMR</Filter>
+ </ClInclude>
+ <ClInclude Include="PMR\ColorLab\OutputColor.pb-c.h">
+ <Filter>PMR</Filter>
+ </ClInclude>
+ <ClInclude Include="PMR\ColorLab\CalibrationPoint.pb-c.h">
+ <Filter>PMR</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="PMR\Common\ErrorCode.pb-c.c">
@@ -68,5 +92,26 @@
<ClCompile Include="Exports.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="ColorConverter.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="PMR\ColorLab\ConversionInput.pb-c.c">
+ <Filter>PMR</Filter>
+ </ClCompile>
+ <ClCompile Include="PMR\ColorLab\ConversionOutput.pb-c.c">
+ <Filter>PMR</Filter>
+ </ClCompile>
+ <ClCompile Include="PMR\ColorLab\InputColor.pb-c.c">
+ <Filter>PMR</Filter>
+ </ClCompile>
+ <ClCompile Include="PMR\ColorLab\OutputColor.pb-c.c">
+ <Filter>PMR</Filter>
+ </ClCompile>
+ <ClCompile Include="PMR\ColorLab\CalibrationPoint.pb-c.c">
+ <Filter>PMR</Filter>
+ </ClCompile>
+ <ClCompile Include="PMR\ColorLab\ColorSpace.pb-c.c">
+ <Filter>PMR</Filter>
+ </ClCompile>
</ItemGroup>
</Project> \ No newline at end of file