1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: DiagnosticsMonitors.proto */
#ifndef PROTOBUF_C_DiagnosticsMonitors_2eproto__INCLUDED
#define PROTOBUF_C_DiagnosticsMonitors_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 _DiagnosticsMonitors DiagnosticsMonitors;
/* --- enums --- */
/* --- messages --- */
struct _DiagnosticsMonitors
{
ProtobufCMessage base;
/*
*Dancer 1 (Min = 0, Max = 255, PPF = 10)
*/
size_t n_dancer1angle;
double *dancer1angle;
/*
*Dancer 2 (Min = 0, Max = 1200, PPF = 1)
*/
size_t n_dancer2angle;
double *dancer2angle;
/*
*Dancer 3 (Min = 0, Max = 1200, PPF = 1)
*/
size_t n_dancer3angle;
double *dancer3angle;
/*
*Feeder Motor (Min = 0, Max = 100, PPF = 1)
*/
size_t n_feedermotorfrequency;
double *feedermotorfrequency;
/*
*Dryer Motor (Min = 0, Max = 100, PPF = 1)
*/
size_t n_dryermotor;
double *dryermotor;
/*
*Poller Motor (Min = 0, Max = 100, PPF = 1)
*/
size_t n_pollermotor;
double *pollermotor;
/*
*Winder Motor (Min = 0, Max = 100, PPF = 1)
*/
size_t n_windermotor;
double *windermotor;
/*
*Screw Motor (Min = 0, Max = 100, PPF = 1)
*/
size_t n_screwmotor;
double *screwmotor;
/*
*Thread Speed (Min = 0, Max = 100, PPF = 1)
*/
size_t n_threadspeed;
double *threadspeed;
/*
*Mixer (Min = 0, Max = 100, PPF = 1)
*/
size_t n_mixertemperature;
double *mixertemperature;
/*
*Head Zone 1 (Min = 0, Max = 100, PPF = 1)
*/
size_t n_headzone1temperature;
double *headzone1temperature;
/*
*Head Zone 2 (Min = 0, Max = 100, PPF = 1)
*/
size_t n_headzone2temperature;
double *headzone2temperature;
/*
*Head Zone 3 (Min = 0, Max = 100, PPF = 1)
*/
size_t n_headzone3temperature;
double *headzone3temperature;
/*
*Head Air Flow (Min = 0, Max = 100, PPF = 1)
*/
size_t n_headairflow;
double *headairflow;
/*
*Feeder Tension (Min = 0, Max = 100, PPF = 1)
*/
size_t n_feedertension;
double *feedertension;
/*
*Puller Tension (Min = 0, Max = 100, PPF = 1)
*/
size_t n_pullertension;
double *pullertension;
/*
*Dryer Zone 1 (Min = 0, Max = 100, PPF = 1)
*/
size_t n_dryerzone1temperature;
double *dryerzone1temperature;
/*
*Dryer Zone 2 (Min = 0, Max = 100, PPF = 1)
*/
size_t n_dryerzone2temperature;
double *dryerzone2temperature;
/*
*Dryer Zone 3 (Min = 0, Max = 100, PPF = 1)
*/
size_t n_dryerzone3temperature;
double *dryerzone3temperature;
/*
*Dryer Air Flow (Min = 0, Max = 100, PPF = 1)
*/
size_t n_dryerairflow;
double *dryerairflow;
/*
*Winder Tension (Min = 0, Max = 100, PPF = 1)
*/
size_t n_windertension;
double *windertension;
/*
*Dispensers Motors (Min = 0, Max = 1080, PPF = 10) Channel Count = 8
*/
size_t n_dispensersmotorsfrequency;
DoubleArray **dispensersmotorsfrequency;
/*
*Dispensers Angular Encoders (Min = 0, Max = 100, PPF = 1) Channel Count = 8
*/
size_t n_dispensersangularencoders;
DoubleArray **dispensersangularencoders;
/*
*Dispensers Linear Positions (Min = 0, Max = 100, PPF = 1) Channel Count = 8
*/
size_t n_dispenserslinearpositions;
DoubleArray **dispenserslinearpositions;
/*
*Dispensers Pressure (Min = 0, Max = 100, PPF = 1) Channel Count = 8
*/
size_t n_dispenserspressure;
DoubleArray **dispenserspressure;
/*
*Mid Tank Pressure (Min = 0, Max = 100, PPF = 1)
*/
size_t n_midtankpressure;
double *midtankpressure;
/*
*Filter Delta Pressure (Min = 0, Max = 100, PPF = 1)
*/
size_t n_filterdeltapressure;
double *filterdeltapressure;
/*
*Chiller Temperature (Min = 0, Max = 100, PPF = 1)
*/
size_t n_chillertemperature;
double *chillertemperature;
/*
*Dispenser 1 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser1motorfrequency;
double *dispenser1motorfrequency;
/*
*Dispenser 2 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser2motorfrequency;
double *dispenser2motorfrequency;
/*
*Dispenser 3 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser3motorfrequency;
double *dispenser3motorfrequency;
/*
*Dispenser 4 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser4motorfrequency;
double *dispenser4motorfrequency;
/*
*Dispenser 5 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser5motorfrequency;
double *dispenser5motorfrequency;
/*
*Dispenser 6 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser6motorfrequency;
double *dispenser6motorfrequency;
/*
*Dispenser 7 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser7motorfrequency;
double *dispenser7motorfrequency;
/*
*Dispenser 8 Motor Frequency (Min = 0, Max = 1080, PPF = 10)
*/
size_t n_dispenser8motorfrequency;
double *dispenser8motorfrequency;
};
#define DIAGNOSTICS_MONITORS__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&diagnostics_monitors__descriptor) \
, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
/* DiagnosticsMonitors methods */
void diagnostics_monitors__init
(DiagnosticsMonitors *message);
size_t diagnostics_monitors__get_packed_size
(const DiagnosticsMonitors *message);
size_t diagnostics_monitors__pack
(const DiagnosticsMonitors *message,
uint8_t *out);
size_t diagnostics_monitors__pack_to_buffer
(const DiagnosticsMonitors *message,
ProtobufCBuffer *buffer);
DiagnosticsMonitors *
diagnostics_monitors__unpack
(ProtobufCAllocator *allocator,
size_t len,
const uint8_t *data);
void diagnostics_monitors__free_unpacked
(DiagnosticsMonitors *message,
ProtobufCAllocator *allocator);
/* --- per-message closures --- */
typedef void (*DiagnosticsMonitors_Closure)
(const DiagnosticsMonitors *message,
void *closure_data);
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCMessageDescriptor diagnostics_monitors__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_DiagnosticsMonitors_2eproto__INCLUDED */
|