Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
ParametersDownloadManager.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_COMMS_PARAMETERSDOWNLOADMANAGER_HPP_
2#define IV_SRC_COMMS_PARAMETERSDOWNLOADMANAGER_HPP_
3
10
11namespace iv::comms
12{
13
14enum class receptionMode
15{
16 SDO = 0,
17 LSS = 1,
18};
19
20enum class eDownloadMode
21{
24};
25
32
34{
35public:
37 explicit ParametersDownloadManager(const std::weak_ptr<iv::comms::can::LomCommunicationController> &controller);
38
39 iv::comms::eResponse changeUnitId(const std::shared_ptr<iv::units::Unit> &sourceUnit,
40 const std::shared_ptr<iv::units::Unit> &destUnit,
41 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
42 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
43
44 iv::comms::eResponse downloadSingleChannel(const std::shared_ptr<iv::channels::AbstractChannel> &channel,
45 const AbstractProgress *progress) const;
46 std::set<iv::types::unitId> downloadUnits(const std::set<iv::types::unitId> &unitIds,
47 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
48 const std::optional<std::shared_ptr<iv::logs::DownloadLogger>> &logger,
49 eDownloadMode downloadMode,
51 std::set<iv::types::unitId>
52 downloadAllUnits(const std::optional<std::shared_ptr<AbstractProgress>> &progress,
53 const std::optional<std::shared_ptr<iv::logs::DownloadLogger>> &logger) const;
54 bool downloadUnit(const std::shared_ptr<iv::units::Unit> &unit,
55 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
56 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
57 bool eraseUnit(const std::shared_ptr<iv::units::Unit> &unit,
58 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
59 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
60 bool inquireUnitData(const std::shared_ptr<iv::units::Unit> &unit, iv::units::UnitData &unitData,
61 bool fromProject) const;
62
64 iv::comms::eResponse eraseUnitEEPROM(const std::shared_ptr<iv::units::Unit> &unit,
65 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
66 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
67
69 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
70 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger,
71 bool isDownloadIdOnly = false) const;
72
73 bool downloadUnitOnlyId(const std::shared_ptr<iv::units::Unit> &unit,
74 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
75 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
76
77 static bool checkChannelsFitInUnit(const std::shared_ptr<iv::units::Unit> &unit);
78 static bool checkLogicsFitInUnit(const std::shared_ptr<iv::units::Unit> &unit);
79
81 iv::types::unitId, uint16_t index, uint8_t subIndex, uint8_t value, bool withConfirmation,
82 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
83 std::string_view = "") const;
95 iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint16_t value, bool withConfirmation,
96 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
97 std::string_view title = "") const;
98
100 downloadLongParameter(types::unitId unitId, uint16_t index, uint8_t subIndex, int32_t value, bool withConfirmation,
101 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
102 std::string_view title = "") const;
103
105 types::unitId unitId, uint16_t index, uint8_t subIndex, uint32_t value, bool withConfirmation,
106 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
107 std::string_view title = "") const;
108
110 downloadFloatParameter(types::unitId unitId, uint16_t index, uint8_t subIndex, float value, bool withConfirmation,
111 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
112 std::string_view title = "") const;
113
115 downloadString(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, const std::string &value,
116 bool withConfirmation,
117 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
118 std::string_view title = "") const;
119
121 downloadStringASCII(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, const std::string &value,
122 bool withConfirmation,
123 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
124 std::string_view title = "") const;
125
127 downloadStringASCIIWithLimit(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::string value,
128 uint32_t maxLength, bool withConfirmation,
129 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
130 std::string_view title = "") const;
131
133 iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint8_t value, bool withConfirmation,
134 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
135 std::string_view title = "") const;
136
137 iv::comms::eResponse eraseLogic(const std::shared_ptr<iv::units::Unit> &unit,
138 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
139 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
141 iv::types::unitId unitId, const std::optional<std::shared_ptr<AbstractProgress>> &progress,
142 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger, std::string_view title) const;
144 downloadParamsOnline(iv::types::unitId unitId, const std::optional<std::shared_ptr<AbstractProgress>> &progress,
145 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
147 downloadLogicBlocks(iv::types::unitId unitId, const std::optional<std::shared_ptr<AbstractProgress>> &progress,
148 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
150 downloadLogicInfo(iv::types::unitId unitId, const std::optional<std::shared_ptr<AbstractProgress>> &progress,
151 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
152
154 const std::shared_ptr<iv::channels::AbstractChannel> &channel,
155 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger,
156 bool withConfirmation) const;
157
159 iv::types::unitId unitId, uint16_t index, uint8_t subIndex, const std::string &value, uint32_t size,
160 bool withConfirmation,
161 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger = std::nullopt,
162 std::string_view title = "") const;
163
165 downloadCommonChannelParameters(const std::shared_ptr<iv::channels::AbstractChannel> &channel,
166 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger,
167 const bool withConfirmation) const;
168
170 downloadSerialChannelParameters(const std::shared_ptr<iv::channels::AbstractChannel> &channel,
171 bool withConfirmation);
172
174 downloadVerifyConfig(iv::types::unitId unitId, iv::types::timestamp lastProjectUpdate, bool withConfirmation,
175 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
176
177 iv::comms::eResponse downloadDateInfo(iv::types::unitId unitId, uint16_t index, uint8_t dateSubIndex,
178 uint8_t timeSubIndex, iv::types::timestamp lastProjectUpdate,
179 bool withConfirmation,
180 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger,
181 std::string_view title = "") const;
182
184 downloadVersionForeverZero(iv::types::unitId unitId, bool withConfirmation,
185 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
186
188 downloadCommonAlarmParameters(const std::shared_ptr<iv::channels::AbstractChannel> &channel, bool withConfirmation,
189 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
190
192 downloadInhibitChannelParameter(iv::types::unitId, uint16_t index, uint8_t subIndex, uint16_t globalId,
193 unsigned char valueCondition, bool withConfirmation,
194 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger,
195 std::string_view title) const;
196
198 downloadDigitalChannelParameters(const std::shared_ptr<iv::channels::AbstractChannel> &channel,
199 bool withConfirmation,
200 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
201
203 downloadAnalogChannelParameters(const std::shared_ptr<iv::channels::AbstractChannel> &channel,
204 bool withConfirmation,
205 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
206
207 iv::comms::eResponse uploadParameter(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
208 std::vector<std::byte> &data) const;
209
210 iv::comms::eResponse uploadString(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
211 std::string &value) const;
212
213 iv::comms::eResponse uploadUnsignedChar(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
214 uint8_t &value) const;
215 iv::comms::eResponse uploadUnsignedShort(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
216 uint16_t &value) const;
217
226 iv::comms::eResponse uploadUnsignedLong(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
227 uint32_t &value) const;
228
229 iv::comms::eResponse uploadDateInfo(iv::types::unitId unitId, uint16_t index, uint8_t dateSubIndex,
230 uint8_t timeSubIndex, iv::types::timestamp &logicDate) const;
231
232private:
233 bool downloadUnitLogics(const std::shared_ptr<iv::units::Unit> &unit,
234 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
235 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
236
237 std::set<iv::types::unitId>
238 downloadUnitsConsecutive(const std::set<iv::types::unitId> &unitIds,
239 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
240 const std::optional<std::shared_ptr<iv::logs::DownloadLogger>> &logger,
241 eDownloadScope downloadScope) const;
242 std::set<iv::types::unitId>
243 downloadUnitsSimultaneous(const std::set<iv::types::unitId> &unitIds,
244 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
245 const std::optional<std::shared_ptr<iv::logs::DownloadLogger>> &logger,
246 eDownloadScope downloadScope) const;
247 bool programUnit(const std::shared_ptr<iv::units::Unit> &unit,
248 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
249 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
250
251 [[nodiscard]] iv::comms::eResponse sendMessage(const std::shared_ptr<CMessageCan> &message) const;
252
253 iv::comms::eResponse receiveMessage(std::shared_ptr<CMessageCan> &returnMessage,
255 std::optional<uint16_t> canMessageId = std::nullopt) const;
256
257 static iv::comms::eResponse checkServerResponse(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
258 uint8_t *command, const std::shared_ptr<CMessageCan> &message);
259
260 iv::comms::eResponse downloadParameter(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
261 std::vector<std::byte> &data, bool withConfirmation, bool saveEEPROM,
262 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger,
263 std::string_view title = "") const;
264
266 sendStartDomainDownload(iv::types::unitId unitId, bool expediteTransfer, uint16_t index, uint8_t subIndex,
267 std::vector<std::byte> &data,
268 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
269 [[nodiscard]] iv::comms::eResponse
270 rcvStartDomainDownload(uint32_t idUnit, uint16_t index, uint8_t subIndex, bool expediteTransfer,
271 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
272
274 sendDownloadSegments(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::vector<std::byte> &data,
275 bool withConfirmation,
276 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
277
279 sendSegmentDomainDownload(iv::types::unitId unitId, bool lastSegment, bool toggle, std::vector<std::byte> &data,
280 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
281 [[nodiscard]] iv::comms::eResponse
282 rcvSegmentDomainDownloadResponse(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
283 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
284 static void readHeaderMsg(const std::shared_ptr<iv::streams::IInputStream> &input, uint8_t *command,
285 uint16_t &index, uint8_t &subIndex);
286
287 iv::comms::eResponse saveEEPROM(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint32_t value,
288 bool withConfirmation,
289 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger,
290 std::string_view title = "") const;
291
292 iv::comms::eResponse sendStartDomainUpload(iv::types::unitId unitId, uint16_t index, uint8_t subIndex) const;
293
294 iv::comms::eResponse rcvStartDomainUpload(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
295 std::vector<std::byte> &data, bool &expediteTransfer) const;
296
297 iv::comms::eResponse getUploadSegments(iv::types::unitId unitId, uint16_t index, uint8_t subIndex,
298 std::vector<std::byte> &data) const;
299
300 [[nodiscard]] iv::comms::eResponse sendUploadSegment(iv::types::unitId unitId, bool toggle, uint16_t index,
301 uint8_t subIndex) const;
302
303 iv::comms::eResponse rcvUploadSegment(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, bool &lastSegment,
304 std::vector<std::byte> &data) const;
305
306 static bool isDomainExpediteTransfer(uint8_t command);
307
308 static bool hasUnitInfo(iv::units::eUnitType unitType);
309
310 iv::comms::eResponse getLssAddress(uint8_t lssCommand, uint32_t &value) const;
311
312 iv::comms::eResponse switchParamConfigurationLss(uint8_t lssCommand, uint32_t value) const;
313
314 iv::comms::eResponse switchConfigurationOperationModes(const uint32_t &vendor, const uint32_t &product,
315 const uint32_t &revision,
316 const uint32_t &serialNumber) const;
317
318 iv::comms::eResponse setIdNode(iv::types::unitId unitId, uint8_t nodeId, bool withConfirmation) const;
319
320 iv::comms::eResponse setStoreConfigDataLss(iv::types::unitId unitId, bool withConfirmation) const;
321
322 static bool getInhibitionTagCondition(const std::shared_ptr<iv::channels::AbstractChannel> &channel,
323 uint16_t &globalId, bool &valueCondition);
324
325 bool downloadUnitOnlyLogics(const std::shared_ptr<iv::units::Unit> &unit,
326 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
327 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
328
329 bool downloadUnitChannels(const std::shared_ptr<iv::units::Unit> &unit,
330 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
331 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
332
333 bool downloadUnitOnlyChannels(const std::shared_ptr<iv::units::Unit> &unit,
334 const std::optional<std::shared_ptr<AbstractProgress>> &progress,
335 const std::optional<std::shared_ptr<iv::logs::IDownloadLogger>> &logger) const;
336
337 std::weak_ptr<iv::comms::can::LomCommunicationController> m_controller;
338
340 {
341 static constexpr std::string_view downloadingUnits = "Downloading Units";
342 static constexpr std::string_view unit = "Unit {}";
343 static constexpr std::string_view unitChannels = "Channels of Unit {}";
344 static constexpr std::string_view unitLogics = "Logics of Unit {}";
345 static constexpr std::string_view unitLogicInfo = "Logic Info of Unit {}";
346 static constexpr std::string prepUnit = "Prep. Unit {}";
347 static constexpr std::string_view eraseUnit = "Ers. Unit {}";
348 static constexpr std::string_view eraseUnitLogics = "Erasing Logics of Unit {}";
349 static constexpr std::string_view verifyConfig = "Verifying Config. of Unit {}";
350 static constexpr std::string_view verifyConfigDate = "Verifying Config. Date of Unit {}";
351 static constexpr std::string_view parameterVersionDate = "Parameter Version Date of Unit {}";
352 static constexpr std::string_view channel = "Channel {}";
353 static constexpr std::string_view date = "Date";
354 static constexpr std::string_view time = "Time";
355 static constexpr std::string_view versionForEverZero = "Version Forever Zero";
356 static constexpr std::string_view commonChannel = "Common params. channel {}";
357 static constexpr std::string_view alarmChannel = "Alarm params. channel {}";
358 static constexpr std::string_view funcChannel = "Channel func.";
359 static constexpr std::string_view tagChannel = "Channel tag";
360 static constexpr std::string_view descChannel = "Channel desc.";
361 static constexpr std::string_view areaChannel = "Channel area";
362 static constexpr std::string_view mimicIdChannel = "Channel mimic id";
363 static constexpr std::string_view alarmDelayOn = "Alarm delay on";
364 static constexpr std::string_view alarmDelayOff = "Alarm delay off";
365 static constexpr std::string_view alarmOffscan = "Alarm offscan";
366 static constexpr std::string_view groupIdForLoms = "Group ID for loms";
367 static constexpr std::string_view inhibitChannel = "Inhibit channel";
368 static constexpr std::string_view digitalParams = "Digital params. channel {}";
369 static constexpr std::string_view analogParams = "Analog params channel {}";
370 static constexpr std::string_view channelInverted = "Channel Inverted";
371 static constexpr std::string_view channelDelayOn = "Channel delay on";
372 static constexpr std::string_view channelDelayOff = "Channel delay off";
373 static constexpr std::string_view alarmEnabled = "Alarm enabled";
374 static constexpr std::string_view digitalAlarmLimit = "Digital alarm limit";
375 static constexpr std::string_view analogType = "Analog type";
376 static constexpr std::string_view engUnits = "Engineering units";
377 static constexpr std::string_view sensorLow = "Sensor low";
378 static constexpr std::string_view sensorHigh = "Sensor high";
379 static constexpr std::string_view engLimitLow = "Low engineering limit";
380 static constexpr std::string_view engLimitHigh = "High engineering limit";
381 static constexpr std::string_view deadBand = "Dead band";
382 static constexpr std::string_view filterTime = "Filter time";
383 static constexpr std::string_view lowAlarmLimit = "Low alarm limit";
384 static constexpr std::string_view lowLowAlarmLimit = "Low low alarm limit";
385 static constexpr std::string_view highAlarmLimit = "High alarm limit";
386 static constexpr std::string_view highHighAlarmLimit = "High high alarm limit";
387 static constexpr std::string_view inhibitSensorFailureLow = "Inhibit sensor failure low";
388 static constexpr std::string_view inhibitSensorFailureHigh = "Inhibit sensor failure high";
389 static constexpr std::string_view fileNameLogic = "Logic file name";
390 static constexpr std::string_view nameLogic = "Logic name";
391 static constexpr std::string_view versionLogic = "Logic version";
392 static constexpr std::string_view authorLogic = "Logic author";
393 static constexpr std::string_view dateLogic = "Logic date";
394 static constexpr std::string_view timeLogic = "Logic time";
395 static constexpr std::string_view saveEEPROM = "Save EEPROM";
396 static constexpr std::string_view descriptionLogic = "Logic description";
397 static constexpr std::string_view longDownload = "Long Download";
398 static constexpr std::string_view numberOfDecimals = "Number of decimals";
399 static constexpr std::string_view unsignedCharDownload = "UChar download";
400 static constexpr std::string_view unsignedCharAsUnsignedShortDownload = "UChar as UShort download";
401 static constexpr std::string_view unsignedShortDownload = "UShort download";
402 static constexpr std::string_view stringDownload = "String download";
403 static constexpr std::string_view stringASCIIDownload = "String ASCII download";
404 static constexpr std::string_view stringAsciiWithPaddingDownload = "String ASCII with padding download";
405 static constexpr std::string_view floatDownload = "Float download";
406 static constexpr std::string_view unsignedLongDownload = "ULong download";
407 static constexpr std::string_view downloadIndexSubindex = "Downloading index:{:X} sub:{:X}";
408 static constexpr std::string_view sdoSegments = "SDO Segments";
409 static constexpr std::string_view restoringWriteAccessSignature = "Write access signature";
410 static constexpr std::string_view restoringDefaultParameters = "Restoring default parameters";
411 static constexpr std::string_view storingDefaultParameters = "Storing default parameters";
412 static constexpr std::string_view numBlocksInUnit = "Number of blocks in unit";
413 static constexpr std::string_view sizeOfLogicBlock = "Size of logic block";
414 static constexpr std::string_view logicBlocksOfUnit = "Logic blocks of unit {}";
415 static constexpr std::string_view logicBlock = "Logic block {}";
416 static constexpr std::string_view logicBlockParameters = "Logic Block Parameters";
417 static constexpr std::string_view logicBlockParameter = "Logic Block Parameter";
418 static constexpr std::string_view crc = "CRC";
419 static constexpr std::string_view savingLogicEEPROM = "Saving logic EEPROM";
420 static constexpr std::string_view parameterOnline = "Parameter online";
421 static constexpr std::string_view parameterOnlineData = "Parameter online data";
422 static constexpr std::string_view parameterOnlineTag = "Parameter Online Tag";
423 static constexpr std::string_view parameterOnlineValue = "Parameter Online Value";
424 static constexpr std::string_view automataMode = "Automata mode";
425 static constexpr std::string_view lomId = "Lom ID";
426 };
427
429 {
430 static constexpr std::string_view settingUnitPreoperational = "Setting unit preoperational";
431 static constexpr std::string_view unitInIncorrectMode = "Error unit {} is in an incorrect mode";
432 static constexpr std::string_view settingUnitInProgramMode = "Setting unit in program mode";
433 static constexpr std::string_view downloadingChannels = "Downloading channels";
434 static constexpr std::string_view errorDownloadingChannel = "Error downloading channel {}";
435 static constexpr std::string_view verifyingConfiguration = "Verifying configuration";
436 static constexpr std::string_view errorVerifyingConfiguration = "Error verifying configuration";
437 static constexpr std::string_view downloadingLogics = "Downloading logics";
438 static constexpr std::string_view restoringDefaultParametersForLogics =
439 "Restoring default parameters for logics";
440 static constexpr std::string_view downloadingParametersOnline = "Downloading parameters online";
441 static constexpr std::string_view errorDownloadingParametersOnline = "Error downloading parameters online";
442 static constexpr std::string_view downloadingLogicBlocks = "Downloading logic blocks";
443 static constexpr std::string_view errorDownloadingLogicBlocks = "Error downloading logic blocks";
444 static constexpr std::string_view savingLogicEEPROM = "Saving logic in EEPROM";
445 static constexpr std::string_view errorSavingLogicEEPROM = "Error saving logic in EEPROM";
446 static constexpr std::string_view downloadingLogicInfo = "Downloading logic info";
447 static constexpr std::string_view errorDownloadingLogicInfo = "Error downloading logic info";
448 static constexpr std::string_view resettingUnit = "Resetting unit";
449 static constexpr std::string_view errorResettingUnit = "Error resetting unit";
450 static constexpr std::string_view erasingUnit = "Erasing Unit: {}";
451 static constexpr std::string_view errorSettingUnitPreoperational = "Error setting unit preoperational";
452 static constexpr std::string_view restoringDefaultParameters = "Restoring default parameters";
453 static constexpr std::string_view errorRestoringDefaultParameters = "Error restoring default parameters";
454 static constexpr std::string_view storingDefaultParameters = "Storing default parameters";
455 static constexpr std::string_view errorStoringDefaultParameters = "Error storing default parameters";
456 static constexpr std::string_view erasingLogic = "Starting erasing logic in Unit : {}";
457 static constexpr std::string_view errorRestoringAccess = "Error restoring access";
458 static constexpr std::string_view checkingParametersOnline = "Checking parameters online";
459 static constexpr std::string_view sendingNumberOfLogicBlocksInUnit =
460 "Sending number of logic blocks in unit {}";
461 static constexpr std::string_view sendingSizeOfLogicBlock = "Sending size of logic block in unit {}";
462 static constexpr std::string_view checkingLogicInfo = "Checking logic info";
463 static constexpr std::string_view erasingEEPROM = "Erasing EEPROM in Unit {}";
464 static constexpr std::string_view unitsLogicsProgrammedSuccessfully = "Units logics programmed successfully";
465 static constexpr std::string_view unitProgrammedSuccessfully = "Unit {} programmed successfully";
466 static constexpr std::string_view changeUnitId = "Changing unit id from {} to {}";
467 static constexpr std::string_view preparingUnit = "Preparing unit {} for download";
468 static constexpr std::string_view restoringAccessForLogics = "Restoring access for logics";
469 static constexpr std::string_view unitProgramming = "Programming unit {}";
470 static constexpr std::string_view unitChannelsDownloading = "Downloading channels for unit {}";
471 static constexpr std::string_view unitLogicsDownloading = "Downloading logics for unit {}";
472 static constexpr std::string_view downloadingChannel = "Downloading channel {}";
473 static constexpr std::string_view downloadingChannelFunc = "Downloading channel function";
474 static constexpr std::string_view downloadingCommonChannelParameters =
475 "Downloading channel {} common parameters";
476 static constexpr std::string_view downloadingUnsignedLongParameter = "Downloading unsigned long parameter: {}";
477 static constexpr std::string_view downloadingUnsignedCharParameter = "Downloading unsigned char parameter: {}";
478 static constexpr std::string_view downloadingLongParameter = "Downloading long parameter: {}";
479 static constexpr std::string_view downloadingStringParameter = "Downloading string parameter: \"{}\"";
480 static constexpr std::string_view downloadingAsciiStringParameter =
481 "Downloading ASCII string parameter: \"{}\"";
482 static constexpr std::string_view downloadingAsciiStringWithLimitParameter =
483 "Downloading ASCII string parameter: \"{}\" with limit {}";
484 static constexpr std::string_view downloadingUnsignedCharAsUnsignedShortParameter =
485 "Downloading unsigned char as unsigned short parameter: {}";
486 static constexpr std::string_view downloadingUnsignedShortParameter =
487 "Downloading unsigned short parameter: {}";
488 static constexpr std::string_view savingEEPROM = "Saving EEPROM :{}";
489 static constexpr std::string_view downloadingFloatParameter = "Downloading float parameter: {}";
490 static constexpr std::string_view sdoParameterDownload = "Downloading SDO parameter index: {:X} subIndex: {:X}";
491 static constexpr std::string_view sendBeginDomainDownload = "Sending domain start, command: {:X} data: {}";
492 static constexpr std::string_view receiveBeginDomainDownload = "Received domain start, command: {:X}";
493 static constexpr std::string_view errorReceivingBeginDomainDownload = "Error receiving begin domain download";
494 static constexpr std::string_view downloadingSegments = "Downloading segments";
495 static constexpr std::string_view sendDomainSegment = "Sending segment, command: {:X} data: {}";
496 static constexpr std::string_view receiveDomainSegment = "Received segment, command: {:X}";
497 static constexpr std::string_view errorReceivingDomainSegment = "Error receiving domain segment";
498 static constexpr std::string_view downloadingChannelTag = "Downloading channel tag";
499 static constexpr std::string_view downloadingChannelDescription = "Downloading channel description";
500 static constexpr std::string_view downloadingChannelArea = "Downloading channel area";
501 static constexpr std::string_view downloadingChannelMimicId = "Downloading channel mimic id";
502 static constexpr std::string_view downloadingChannelAlarmParams = "Downloading channel alarm parameters";
503 static constexpr std::string_view downloadingAlarmDelayOn = "Downloading alarm delay on";
504 static constexpr std::string_view downloadingAlarmDelayOff = "Downloading alarm delay off";
505 static constexpr std::string_view downloadingOffscan = "Downloading offscan";
506 static constexpr std::string_view downloadingGroupIdForLoms = "Downloading group id for LOMs";
507 static constexpr std::string_view downloadingInhibitChannel = "Downloading inhibit channel";
508 static constexpr std::string_view downloadingDigitalParams = "Downloading digital parameters";
509 static constexpr std::string_view downloadingChannelInverted = "Downloading channel inverted";
510 static constexpr std::string_view downloadingChannelDelayOn = "Downloading channel delay on";
511 static constexpr std::string_view downloadingChannelDelayOff = "Downloading channel delay off";
512 static constexpr std::string_view downloadingAlarmEnabled = "Downloading alarm enabled";
513 static constexpr std::string_view downloadingDigitalAlarmLimit = "Downloading digital alarm limit";
514 static constexpr std::string_view downloadingAnalogParams = "Downloading analog parameters";
515 static constexpr std::string_view downloadingAnalogType = "Downloading analog type";
516 static constexpr std::string_view downloadingEngUnits = "Downloading engineering units";
517 static constexpr std::string_view downloadingSensorLow = "Downloading sensor low";
518 static constexpr std::string_view downloadingSensorHigh = "Downloading sensor high";
519 static constexpr std::string_view downloadingLowEngLimit = "Downloading low engineering limit";
520 static constexpr std::string_view downloadingHighEngLimit = "Downloading high engineering limit";
521 static constexpr std::string_view downloadingDeadBand = "Downloading dead band";
522 static constexpr std::string_view downloadingFilterTime = "Downloading filter time";
523 static constexpr std::string_view downloadingNumberOfDecimals = "Downloading number of decimals";
524 static constexpr std::string_view downloadingLowAlarmLimit = "Downloading low alarm limit";
525 static constexpr std::string_view downloadingLowLowAlarmLimit = "Downloading low low alarm limit";
526 static constexpr std::string_view downloadingHighAlarmLimit = "Downloading high alarm limit";
527 static constexpr std::string_view downloadingHighHighAlarmLimit = "Downloading high high alarm limit";
528 static constexpr std::string_view downloadingInhibitSensorFailureLow =
529 "Downloading inhibit instrument failure low";
530 static constexpr std::string_view downloadingInhibitSensorFailureHigh =
531 "Downloading inhibit instrument failure high";
532 static constexpr std::string_view downloadingLogicFileName = "Downloading logic file name";
533 static constexpr std::string_view downloadingLogicName = "Downloading logic name";
534 static constexpr std::string_view downloadingLogicVersion = "Downloading logic version";
535 static constexpr std::string_view downloadingLogicAuthor = "Downloading logic author";
536 static constexpr std::string_view downloadingLogicDate = "Downloading logic date";
537 static constexpr std::string_view downloadingLogicTime = "Downloading logic time";
538 static constexpr std::string_view downloadingLogicDescription = "Downloading logic description";
539 static constexpr std::string_view downloadingVerifyConfigDate = "Downloading verify config date";
540 static constexpr std::string_view downloadingParamVersionDate = "Downloading parameter version date";
541 static constexpr std::string_view downloadingVersionForeverZero = "Downloading version for ever zero";
542 static constexpr std::string_view downloadingDate = "Downloading date";
543 static constexpr std::string_view downloadingTime = "Downloading time";
544 static constexpr std::string_view writingLogicBlocksInUnit = "Writing logic blocks in unit {}";
545 static constexpr std::string_view writingLogicBlock = "Writing logic block {}";
546 static constexpr std::string_view writingLogicBlockParams =
547 "Writing logic block params: Type {}, subType {}, numParams {}, size {}";
548 static constexpr std::string_view downloadingLogicBlockParameters = "Downloading logic block parameters";
549 static constexpr std::string_view downloadingLogicBlockParameter = "Downloading logic block parameter: {}";
550 static constexpr std::string_view downloadingLogicCrc = "Downloading logic CRC";
551 static constexpr std::string_view downloadingLogicOnlineParameterData =
552 "Downloading online parameter data: block order {}, order in block {}, external tag \"{}\"";
553 static constexpr std::string_view downloadingLogicOnlineParameter = "Downloading online parameter";
554 static constexpr std::string_view downloadingTag1 = "Downloading tag1";
555 static constexpr std::string_view downloadingTag2 = "Downloading tag2";
556 static constexpr std::string_view downloadingOnlineParameterValue = "Downloading online parameter value";
557 static constexpr std::string_view downloadingAutomataMode = "Downloading automata mode";
558 static constexpr std::string_view restoringWriteAccessSignature = "Restoring write access signature";
559 static constexpr std::string_view downloadingLomId = "Downloading LOM ID";
560 static constexpr std::string_view errorDownloadingParameter = "ERROR: couldn't download parameter";
561 static constexpr std::string_view errorChannelsDontFit = "ERROR: Channels don't fit in unit";
562 static constexpr std::string_view errorLogicsDontFit = "ERROR: Logics don't fit in unit";
563 };
564};
565
566}// namespace iv::comms
567
568#endif//IV_SRC_COMMS_PARAMETERSDOWNLOADMANAGER_HPP_
Definition AbstractProgress.hpp:8
Definition ParametersDownloadManager.hpp:34
bool downloadUnitOnlyId(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:3424
iv::comms::eResponse receiveMessage(std::shared_ptr< CMessageCan > &returnMessage, receptionMode mode=receptionMode::SDO, std::optional< uint16_t > canMessageId=std::nullopt) const
Definition ParametersDownloadManager.cpp:677
iv::comms::eResponse downloadDigitalChannelParameters(const std::shared_ptr< iv::channels::AbstractChannel > &channel, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1809
iv::comms::eResponse downloadAnalogChannelParameters(const std::shared_ptr< iv::channels::AbstractChannel > &channel, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1900
iv::comms::eResponse downloadFloatParameter(types::unitId unitId, uint16_t index, uint8_t subIndex, float value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:2146
iv::comms::eResponse downloadUnsignedCharParameter(iv::types::unitId, uint16_t index, uint8_t subIndex, uint8_t value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view="") const
Definition ParametersDownloadManager.cpp:489
iv::comms::eResponse downloadStringASCII(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, const std::string &value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:1045
bool downloadUnitChannels(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:143
iv::comms::eResponse downloadCommonChannelParameters(const std::shared_ptr< iv::channels::AbstractChannel > &channel, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, const bool withConfirmation) const
Definition ParametersDownloadManager.cpp:968
iv::comms::eResponse setStoreConfigDataLss(iv::types::unitId unitId, bool withConfirmation) const
Definition ParametersDownloadManager.cpp:2777
bool downloadUnit(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:309
std::set< iv::types::unitId > downloadUnitsSimultaneous(const std::set< iv::types::unitId > &unitIds, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::DownloadLogger > > &logger, eDownloadScope downloadScope) const
Definition ParametersDownloadManager.cpp:3212
iv::comms::eResponse uploadUnsignedShort(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint16_t &value) const
Definition ParametersDownloadManager.cpp:2983
iv::comms::eResponse sendStartDomainDownload(iv::types::unitId unitId, bool expediteTransfer, uint16_t index, uint8_t subIndex, std::vector< std::byte > &data, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:609
iv::comms::eResponse downloadLogicBlocks(iv::types::unitId unitId, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1405
iv::comms::eResponse switchConfigurationOperationModes(const uint32_t &vendor, const uint32_t &product, const uint32_t &revision, const uint32_t &serialNumber) const
Definition ParametersDownloadManager.cpp:2815
iv::comms::eResponse setUnitSpare(iv::types::unitId destId, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, bool isDownloadIdOnly=false) const
Definition ParametersDownloadManager.cpp:2538
bool inquireUnitData(const std::shared_ptr< iv::units::Unit > &unit, iv::units::UnitData &unitData, bool fromProject) const
Definition ParametersDownloadManager.cpp:2250
iv::comms::eResponse sendSegmentDomainDownload(iv::types::unitId unitId, bool lastSegment, bool toggle, std::vector< std::byte > &data, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:799
static bool isDomainExpediteTransfer(uint8_t command)
Definition ParametersDownloadManager.cpp:2430
iv::comms::eResponse rcvUploadSegment(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, bool &lastSegment, std::vector< std::byte > &data) const
Definition ParametersDownloadManager.cpp:2491
static bool checkChannelsFitInUnit(const std::shared_ptr< iv::units::Unit > &unit)
Definition ParametersDownloadManager.cpp:3485
static bool checkLogicsFitInUnit(const std::shared_ptr< iv::units::Unit > &unit)
Definition ParametersDownloadManager.cpp:3540
iv::comms::eResponse uploadParameter(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::vector< std::byte > &data) const
Definition ParametersDownloadManager.cpp:2349
std::set< iv::types::unitId > downloadAllUnits(const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::DownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:3058
static iv::comms::eResponse checkServerResponse(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint8_t *command, const std::shared_ptr< CMessageCan > &message)
Definition ParametersDownloadManager.cpp:708
iv::comms::eResponse downloadDateInfo(iv::types::unitId unitId, uint16_t index, uint8_t dateSubIndex, uint8_t timeSubIndex, iv::types::timestamp lastProjectUpdate, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, std::string_view title="") const
Definition ParametersDownloadManager.cpp:1759
iv::comms::eResponse rcvStartDomainUpload(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::vector< std::byte > &data, bool &expediteTransfer) const
Definition ParametersDownloadManager.cpp:2393
static bool hasUnitInfo(iv::units::eUnitType unitType)
Definition ParametersDownloadManager.cpp:2325
iv::comms::eResponse downloadString(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, const std::string &value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:1025
iv::comms::eResponse uploadString(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::string &value) const
Definition ParametersDownloadManager.cpp:2937
iv::comms::eResponse sendUploadSegment(iv::types::unitId unitId, bool toggle, uint16_t index, uint8_t subIndex) const
Definition ParametersDownloadManager.cpp:2469
iv::comms::eResponse downloadChannel(iv::units::eUnitType unitType, const std::shared_ptr< iv::channels::AbstractChannel > &channel, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, bool withConfirmation) const
Definition ParametersDownloadManager.cpp:877
iv::comms::eResponse changeUnitId(const std::shared_ptr< iv::units::Unit > &sourceUnit, const std::shared_ptr< iv::units::Unit > &destUnit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:3363
iv::comms::eResponse setIdNode(iv::types::unitId unitId, uint8_t nodeId, bool withConfirmation) const
Definition ParametersDownloadManager.cpp:2740
bool downloadUnitOnlyChannels(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:3341
iv::comms::eResponse downloadSingleChannel(const std::shared_ptr< iv::channels::AbstractChannel > &channel, const AbstractProgress *progress) const
Definition ParametersDownloadManager.cpp:3023
iv::comms::eResponse saveEEPROM(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint32_t value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, std::string_view title="") const
Definition ParametersDownloadManager.cpp:861
std::set< iv::types::unitId > downloadUnitsConsecutive(const std::set< iv::types::unitId > &unitIds, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::DownloadLogger > > &logger, eDownloadScope downloadScope) const
Definition ParametersDownloadManager.cpp:3132
static iv::comms::eResponse downloadSerialChannelParameters(const std::shared_ptr< iv::channels::AbstractChannel > &channel, bool withConfirmation)
Definition ParametersDownloadManager.cpp:1064
iv::comms::eResponse eraseLogic(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1181
bool downloadUnitLogics(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:229
iv::comms::eResponse sendMessage(const std::shared_ptr< CMessageCan > &message) const
Definition ParametersDownloadManager.cpp:477
bool eraseUnit(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:394
iv::comms::eResponse sendDownloadSegments(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::vector< std::byte > &data, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:755
std::set< iv::types::unitId > downloadUnits(const std::set< iv::types::unitId > &unitIds, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::DownloadLogger > > &logger, eDownloadMode downloadMode, eDownloadScope=eDownloadScope::ChannelsAndLogics) const
Definition ParametersDownloadManager.cpp:122
static void readHeaderMsg(const std::shared_ptr< iv::streams::IInputStream > &input, uint8_t *command, uint16_t &index, uint8_t &subIndex)
Definition ParametersDownloadManager.cpp:738
iv::comms::eResponse downloadUnsignedLongParameter(types::unitId unitId, uint16_t index, uint8_t subIndex, uint32_t value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:2231
iv::comms::eResponse downloadStringASCIIWithPadding(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, const std::string &value, uint32_t size, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:946
iv::comms::eResponse downloadParameter(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::vector< std::byte > &data, bool withConfirmation, bool saveEEPROM, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, std::string_view title="") const
Definition ParametersDownloadManager.cpp:520
iv::comms::eResponse downloadInhibitChannelParameter(iv::types::unitId, uint16_t index, uint8_t subIndex, uint16_t globalId, unsigned char valueCondition, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, std::string_view title) const
Definition ParametersDownloadManager.cpp:1684
iv::comms::eResponse downloadStringASCIIWithLimit(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::string value, uint32_t maxLength, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:2130
iv::comms::eResponse downloadUnsignedCharAsUnsignedShortParameter(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint8_t value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:1163
iv::comms::eResponse downloadParamsOnline(iv::types::unitId unitId, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1275
iv::comms::eResponse getLssAddress(uint8_t lssCommand, uint32_t &value) const
Definition ParametersDownloadManager.cpp:2681
iv::comms::eResponse downloadRestoreAccessForLogics(iv::types::unitId unitId, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger, std::string_view title) const
Definition ParametersDownloadManager.cpp:1228
iv::comms::eResponse uploadDateInfo(iv::types::unitId unitId, uint16_t index, uint8_t dateSubIndex, uint8_t timeSubIndex, iv::types::timestamp &logicDate) const
Definition ParametersDownloadManager.cpp:2911
iv::comms::eResponse downloadUnsignedShortParameter(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint16_t value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Downloads a int32_t parameter to module.
Definition ParametersDownloadManager.cpp:1792
iv::comms::eResponse sendStartDomainUpload(iv::types::unitId unitId, uint16_t index, uint8_t subIndex) const
Definition ParametersDownloadManager.cpp:2379
iv::comms::eResponse downloadCommonAlarmParameters(const std::shared_ptr< iv::channels::AbstractChannel > &channel, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1071
iv::comms::eResponse downloadLogicInfo(iv::types::unitId unitId, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1569
iv::comms::eResponse downloadVerifyConfig(iv::types::unitId unitId, iv::types::timestamp lastProjectUpdate, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1702
iv::comms::eResponse downloadLongParameter(types::unitId unitId, uint16_t index, uint8_t subIndex, int32_t value, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger=std::nullopt, std::string_view title="") const
Definition ParametersDownloadManager.cpp:503
iv::comms::eResponse uploadLogicInfo(iv::types::unitId unitId, iv::units::UnitLogicInfo &logicInfo) const
Definition ParametersDownloadManager.cpp:2878
iv::comms::eResponse uploadUnsignedLong(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint32_t &value) const
Definition ParametersDownloadManager.cpp:3003
iv::comms::eResponse eraseUnitEEPROM(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:2163
iv::comms::eResponse rcvSegmentDomainDownloadResponse(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:823
static bool getInhibitionTagCondition(const std::shared_ptr< iv::channels::AbstractChannel > &channel, uint16_t &globalId, bool &valueCondition)
Definition ParametersDownloadManager.cpp:2856
iv::comms::eResponse rcvStartDomainDownload(uint32_t idUnit, uint16_t index, uint8_t subIndex, bool expediteTransfer, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:637
std::weak_ptr< iv::comms::can::LomCommunicationController > m_controller
Definition ParametersDownloadManager.hpp:337
iv::comms::eResponse switchParamConfigurationLss(uint8_t lssCommand, uint32_t value) const
Definition ParametersDownloadManager.cpp:2726
iv::comms::eResponse getUploadSegments(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, std::vector< std::byte > &data) const
Definition ParametersDownloadManager.cpp:2435
iv::comms::eResponse downloadVersionForeverZero(iv::types::unitId unitId, bool withConfirmation, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:1741
bool programUnit(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:88
iv::comms::eResponse uploadUnsignedChar(iv::types::unitId unitId, uint16_t index, uint8_t subIndex, uint8_t &value) const
Definition ParametersDownloadManager.cpp:2964
bool downloadUnitOnlyLogics(const std::shared_ptr< iv::units::Unit > &unit, const std::optional< std::shared_ptr< AbstractProgress > > &progress, const std::optional< std::shared_ptr< iv::logs::IDownloadLogger > > &logger) const
Definition ParametersDownloadManager.cpp:3076
Definition ApiCommunicationController.cpp:12
eDownloadMode
Definition ParametersDownloadManager.hpp:21
eResponse
Definition enums.hpp:285
receptionMode
Definition ParametersDownloadManager.hpp:15
eDownloadScope
Definition ParametersDownloadManager.hpp:27
uint64_t timestamp
Definition types.hpp:21
uint16_t unitId
Definition types.hpp:77
eUnitType
Definition enums.hpp:8
Definition ParametersDownloadManager.hpp:429
static constexpr std::string_view erasingLogic
Definition ParametersDownloadManager.hpp:456
static constexpr std::string_view settingUnitPreoperational
Definition ParametersDownloadManager.hpp:430
static constexpr std::string_view unitInIncorrectMode
Definition ParametersDownloadManager.hpp:431
static constexpr std::string_view downloadingVerifyConfigDate
Definition ParametersDownloadManager.hpp:539
static constexpr std::string_view downloadingOnlineParameterValue
Definition ParametersDownloadManager.hpp:556
static constexpr std::string_view downloadingLomId
Definition ParametersDownloadManager.hpp:559
static constexpr std::string_view downloadingChannel
Definition ParametersDownloadManager.hpp:472
static constexpr std::string_view downloadingAsciiStringWithLimitParameter
Definition ParametersDownloadManager.hpp:482
static constexpr std::string_view changeUnitId
Definition ParametersDownloadManager.hpp:466
static constexpr std::string_view downloadingLogicDate
Definition ParametersDownloadManager.hpp:536
static constexpr std::string_view downloadingHighAlarmLimit
Definition ParametersDownloadManager.hpp:526
static constexpr std::string_view downloadingLogicTime
Definition ParametersDownloadManager.hpp:537
static constexpr std::string_view downloadingTime
Definition ParametersDownloadManager.hpp:543
static constexpr std::string_view downloadingDate
Definition ParametersDownloadManager.hpp:542
static constexpr std::string_view sendBeginDomainDownload
Definition ParametersDownloadManager.hpp:491
static constexpr std::string_view unitChannelsDownloading
Definition ParametersDownloadManager.hpp:470
static constexpr std::string_view preparingUnit
Definition ParametersDownloadManager.hpp:467
static constexpr std::string_view downloadingChannelFunc
Definition ParametersDownloadManager.hpp:473
static constexpr std::string_view downloadingLogicOnlineParameterData
Definition ParametersDownloadManager.hpp:551
static constexpr std::string_view downloadingAnalogType
Definition ParametersDownloadManager.hpp:515
static constexpr std::string_view downloadingTag2
Definition ParametersDownloadManager.hpp:555
static constexpr std::string_view downloadingLogicBlockParameters
Definition ParametersDownloadManager.hpp:548
static constexpr std::string_view errorVerifyingConfiguration
Definition ParametersDownloadManager.hpp:436
static constexpr std::string_view downloadingLongParameter
Definition ParametersDownloadManager.hpp:478
static constexpr std::string_view downloadingLogicVersion
Definition ParametersDownloadManager.hpp:534
static constexpr std::string_view errorDownloadingChannel
Definition ParametersDownloadManager.hpp:434
static constexpr std::string_view resettingUnit
Definition ParametersDownloadManager.hpp:448
static constexpr std::string_view errorReceivingBeginDomainDownload
Definition ParametersDownloadManager.hpp:493
static constexpr std::string_view downloadingChannelDescription
Definition ParametersDownloadManager.hpp:499
static constexpr std::string_view downloadingParamVersionDate
Definition ParametersDownloadManager.hpp:540
static constexpr std::string_view downloadingLogicCrc
Definition ParametersDownloadManager.hpp:550
static constexpr std::string_view restoringWriteAccessSignature
Definition ParametersDownloadManager.hpp:558
static constexpr std::string_view downloadingTag1
Definition ParametersDownloadManager.hpp:554
static constexpr std::string_view errorDownloadingParametersOnline
Definition ParametersDownloadManager.hpp:441
static constexpr std::string_view downloadingChannelDelayOn
Definition ParametersDownloadManager.hpp:510
static constexpr std::string_view downloadingInhibitSensorFailureHigh
Definition ParametersDownloadManager.hpp:530
static constexpr std::string_view downloadingAlarmEnabled
Definition ParametersDownloadManager.hpp:512
static constexpr std::string_view downloadingAnalogParams
Definition ParametersDownloadManager.hpp:514
static constexpr std::string_view storingDefaultParameters
Definition ParametersDownloadManager.hpp:454
static constexpr std::string_view downloadingDigitalAlarmLimit
Definition ParametersDownloadManager.hpp:513
static constexpr std::string_view errorRestoringAccess
Definition ParametersDownloadManager.hpp:457
static constexpr std::string_view settingUnitInProgramMode
Definition ParametersDownloadManager.hpp:432
static constexpr std::string_view checkingParametersOnline
Definition ParametersDownloadManager.hpp:458
static constexpr std::string_view downloadingChannels
Definition ParametersDownloadManager.hpp:433
static constexpr std::string_view errorResettingUnit
Definition ParametersDownloadManager.hpp:449
static constexpr std::string_view sendDomainSegment
Definition ParametersDownloadManager.hpp:495
static constexpr std::string_view downloadingChannelArea
Definition ParametersDownloadManager.hpp:500
static constexpr std::string_view restoringDefaultParameters
Definition ParametersDownloadManager.hpp:452
static constexpr std::string_view downloadingLogicName
Definition ParametersDownloadManager.hpp:533
static constexpr std::string_view downloadingSensorLow
Definition ParametersDownloadManager.hpp:517
static constexpr std::string_view downloadingSensorHigh
Definition ParametersDownloadManager.hpp:518
static constexpr std::string_view downloadingLowLowAlarmLimit
Definition ParametersDownloadManager.hpp:525
static constexpr std::string_view downloadingLowEngLimit
Definition ParametersDownloadManager.hpp:519
static constexpr std::string_view downloadingLogicInfo
Definition ParametersDownloadManager.hpp:446
static constexpr std::string_view errorDownloadingParameter
Definition ParametersDownloadManager.hpp:560
static constexpr std::string_view savingLogicEEPROM
Definition ParametersDownloadManager.hpp:444
static constexpr std::string_view downloadingHighEngLimit
Definition ParametersDownloadManager.hpp:520
static constexpr std::string_view downloadingLogicDescription
Definition ParametersDownloadManager.hpp:538
static constexpr std::string_view downloadingCommonChannelParameters
Definition ParametersDownloadManager.hpp:474
static constexpr std::string_view errorSettingUnitPreoperational
Definition ParametersDownloadManager.hpp:451
static constexpr std::string_view errorChannelsDontFit
Definition ParametersDownloadManager.hpp:561
static constexpr std::string_view downloadingFloatParameter
Definition ParametersDownloadManager.hpp:489
static constexpr std::string_view downloadingChannelDelayOff
Definition ParametersDownloadManager.hpp:511
static constexpr std::string_view savingEEPROM
Definition ParametersDownloadManager.hpp:488
static constexpr std::string_view erasingUnit
Definition ParametersDownloadManager.hpp:450
static constexpr std::string_view errorSavingLogicEEPROM
Definition ParametersDownloadManager.hpp:445
static constexpr std::string_view downloadingHighHighAlarmLimit
Definition ParametersDownloadManager.hpp:527
static constexpr std::string_view downloadingAsciiStringParameter
Definition ParametersDownloadManager.hpp:480
static constexpr std::string_view downloadingUnsignedCharParameter
Definition ParametersDownloadManager.hpp:477
static constexpr std::string_view restoringDefaultParametersForLogics
Definition ParametersDownloadManager.hpp:438
static constexpr std::string_view downloadingLogicAuthor
Definition ParametersDownloadManager.hpp:535
static constexpr std::string_view downloadingGroupIdForLoms
Definition ParametersDownloadManager.hpp:506
static constexpr std::string_view downloadingFilterTime
Definition ParametersDownloadManager.hpp:522
static constexpr std::string_view downloadingLogicBlocks
Definition ParametersDownloadManager.hpp:442
static constexpr std::string_view restoringAccessForLogics
Definition ParametersDownloadManager.hpp:468
static constexpr std::string_view downloadingAutomataMode
Definition ParametersDownloadManager.hpp:557
static constexpr std::string_view downloadingLogicOnlineParameter
Definition ParametersDownloadManager.hpp:553
static constexpr std::string_view downloadingOffscan
Definition ParametersDownloadManager.hpp:505
static constexpr std::string_view downloadingChannelInverted
Definition ParametersDownloadManager.hpp:509
static constexpr std::string_view errorRestoringDefaultParameters
Definition ParametersDownloadManager.hpp:453
static constexpr std::string_view downloadingLogicBlockParameter
Definition ParametersDownloadManager.hpp:549
static constexpr std::string_view unitProgramming
Definition ParametersDownloadManager.hpp:469
static constexpr std::string_view errorDownloadingLogicBlocks
Definition ParametersDownloadManager.hpp:443
static constexpr std::string_view verifyingConfiguration
Definition ParametersDownloadManager.hpp:435
static constexpr std::string_view downloadingInhibitSensorFailureLow
Definition ParametersDownloadManager.hpp:528
static constexpr std::string_view downloadingDigitalParams
Definition ParametersDownloadManager.hpp:508
static constexpr std::string_view downloadingUnsignedLongParameter
Definition ParametersDownloadManager.hpp:476
static constexpr std::string_view erasingEEPROM
Definition ParametersDownloadManager.hpp:463
static constexpr std::string_view downloadingEngUnits
Definition ParametersDownloadManager.hpp:516
static constexpr std::string_view errorReceivingDomainSegment
Definition ParametersDownloadManager.hpp:497
static constexpr std::string_view downloadingParametersOnline
Definition ParametersDownloadManager.hpp:440
static constexpr std::string_view downloadingChannelMimicId
Definition ParametersDownloadManager.hpp:501
static constexpr std::string_view downloadingUnsignedShortParameter
Definition ParametersDownloadManager.hpp:486
static constexpr std::string_view sendingSizeOfLogicBlock
Definition ParametersDownloadManager.hpp:461
static constexpr std::string_view unitProgrammedSuccessfully
Definition ParametersDownloadManager.hpp:465
static constexpr std::string_view receiveBeginDomainDownload
Definition ParametersDownloadManager.hpp:492
static constexpr std::string_view downloadingLogicFileName
Definition ParametersDownloadManager.hpp:532
static constexpr std::string_view errorStoringDefaultParameters
Definition ParametersDownloadManager.hpp:455
static constexpr std::string_view unitLogicsDownloading
Definition ParametersDownloadManager.hpp:471
static constexpr std::string_view downloadingSegments
Definition ParametersDownloadManager.hpp:494
static constexpr std::string_view downloadingStringParameter
Definition ParametersDownloadManager.hpp:479
static constexpr std::string_view downloadingNumberOfDecimals
Definition ParametersDownloadManager.hpp:523
static constexpr std::string_view downloadingLogics
Definition ParametersDownloadManager.hpp:437
static constexpr std::string_view errorDownloadingLogicInfo
Definition ParametersDownloadManager.hpp:447
static constexpr std::string_view errorLogicsDontFit
Definition ParametersDownloadManager.hpp:562
static constexpr std::string_view downloadingAlarmDelayOff
Definition ParametersDownloadManager.hpp:504
static constexpr std::string_view downloadingInhibitChannel
Definition ParametersDownloadManager.hpp:507
static constexpr std::string_view downloadingAlarmDelayOn
Definition ParametersDownloadManager.hpp:503
static constexpr std::string_view downloadingVersionForeverZero
Definition ParametersDownloadManager.hpp:541
static constexpr std::string_view unitsLogicsProgrammedSuccessfully
Definition ParametersDownloadManager.hpp:464
static constexpr std::string_view downloadingLowAlarmLimit
Definition ParametersDownloadManager.hpp:524
static constexpr std::string_view downloadingChannelAlarmParams
Definition ParametersDownloadManager.hpp:502
static constexpr std::string_view downloadingUnsignedCharAsUnsignedShortParameter
Definition ParametersDownloadManager.hpp:484
static constexpr std::string_view writingLogicBlockParams
Definition ParametersDownloadManager.hpp:546
static constexpr std::string_view receiveDomainSegment
Definition ParametersDownloadManager.hpp:496
static constexpr std::string_view downloadingChannelTag
Definition ParametersDownloadManager.hpp:498
static constexpr std::string_view writingLogicBlocksInUnit
Definition ParametersDownloadManager.hpp:544
static constexpr std::string_view checkingLogicInfo
Definition ParametersDownloadManager.hpp:462
static constexpr std::string_view downloadingDeadBand
Definition ParametersDownloadManager.hpp:521
static constexpr std::string_view sdoParameterDownload
Definition ParametersDownloadManager.hpp:490
static constexpr std::string_view writingLogicBlock
Definition ParametersDownloadManager.hpp:545
static constexpr std::string_view sendingNumberOfLogicBlocksInUnit
Definition ParametersDownloadManager.hpp:459
Definition ParametersDownloadManager.hpp:340
static constexpr std::string_view channelDelayOff
Definition ParametersDownloadManager.hpp:372
static constexpr std::string_view fileNameLogic
Definition ParametersDownloadManager.hpp:389
static constexpr std::string_view alarmEnabled
Definition ParametersDownloadManager.hpp:373
static constexpr std::string_view logicBlock
Definition ParametersDownloadManager.hpp:415
static constexpr std::string_view inhibitSensorFailureHigh
Definition ParametersDownloadManager.hpp:388
static constexpr std::string_view sdoSegments
Definition ParametersDownloadManager.hpp:408
static constexpr std::string_view unit
Definition ParametersDownloadManager.hpp:342
static constexpr std::string_view unitLogicInfo
Definition ParametersDownloadManager.hpp:345
static constexpr std::string_view lomId
Definition ParametersDownloadManager.hpp:425
static constexpr std::string_view authorLogic
Definition ParametersDownloadManager.hpp:392
static constexpr std::string_view stringDownload
Definition ParametersDownloadManager.hpp:402
static constexpr std::string_view longDownload
Definition ParametersDownloadManager.hpp:397
static constexpr std::string_view alarmOffscan
Definition ParametersDownloadManager.hpp:365
static constexpr std::string_view eraseUnit
Definition ParametersDownloadManager.hpp:347
static constexpr std::string_view saveEEPROM
Definition ParametersDownloadManager.hpp:395
static constexpr std::string_view analogParams
Definition ParametersDownloadManager.hpp:369
static constexpr std::string_view areaChannel
Definition ParametersDownloadManager.hpp:361
static constexpr std::string_view parameterOnline
Definition ParametersDownloadManager.hpp:420
static constexpr std::string_view tagChannel
Definition ParametersDownloadManager.hpp:359
static constexpr std::string_view engUnits
Definition ParametersDownloadManager.hpp:376
static constexpr std::string_view versionLogic
Definition ParametersDownloadManager.hpp:391
static constexpr std::string_view parameterOnlineData
Definition ParametersDownloadManager.hpp:421
static constexpr std::string_view automataMode
Definition ParametersDownloadManager.hpp:424
static constexpr std::string_view dateLogic
Definition ParametersDownloadManager.hpp:393
static constexpr std::string_view time
Definition ParametersDownloadManager.hpp:354
static constexpr std::string_view descChannel
Definition ParametersDownloadManager.hpp:360
static constexpr std::string_view unitLogics
Definition ParametersDownloadManager.hpp:344
static constexpr std::string_view channelInverted
Definition ParametersDownloadManager.hpp:370
static constexpr std::string_view crc
Definition ParametersDownloadManager.hpp:418
static constexpr std::string_view engLimitLow
Definition ParametersDownloadManager.hpp:379
static constexpr std::string_view unsignedShortDownload
Definition ParametersDownloadManager.hpp:401
static constexpr std::string_view restoringWriteAccessSignature
Definition ParametersDownloadManager.hpp:409
static constexpr std::string_view downloadIndexSubindex
Definition ParametersDownloadManager.hpp:407
static constexpr std::string_view logicBlockParameters
Definition ParametersDownloadManager.hpp:416
static constexpr std::string_view unsignedCharDownload
Definition ParametersDownloadManager.hpp:399
static constexpr std::string_view timeLogic
Definition ParametersDownloadManager.hpp:394
static constexpr std::string_view inhibitSensorFailureLow
Definition ParametersDownloadManager.hpp:387
static constexpr std::string_view lowLowAlarmLimit
Definition ParametersDownloadManager.hpp:384
static constexpr std::string_view descriptionLogic
Definition ParametersDownloadManager.hpp:396
static constexpr std::string_view channel
Definition ParametersDownloadManager.hpp:352
static constexpr std::string_view alarmDelayOn
Definition ParametersDownloadManager.hpp:363
static constexpr std::string_view digitalAlarmLimit
Definition ParametersDownloadManager.hpp:374
static constexpr std::string_view logicBlockParameter
Definition ParametersDownloadManager.hpp:417
static constexpr std::string_view numBlocksInUnit
Definition ParametersDownloadManager.hpp:412
static constexpr std::string_view verifyConfigDate
Definition ParametersDownloadManager.hpp:350
static constexpr std::string_view deadBand
Definition ParametersDownloadManager.hpp:381
static constexpr std::string_view unsignedCharAsUnsignedShortDownload
Definition ParametersDownloadManager.hpp:400
static constexpr std::string_view inhibitChannel
Definition ParametersDownloadManager.hpp:367
static constexpr std::string_view stringAsciiWithPaddingDownload
Definition ParametersDownloadManager.hpp:404
static constexpr std::string_view nameLogic
Definition ParametersDownloadManager.hpp:390
static constexpr std::string_view storingDefaultParameters
Definition ParametersDownloadManager.hpp:411
static constexpr std::string_view engLimitHigh
Definition ParametersDownloadManager.hpp:380
static constexpr std::string prepUnit
Definition ParametersDownloadManager.hpp:346
static constexpr std::string_view funcChannel
Definition ParametersDownloadManager.hpp:358
static constexpr std::string_view stringASCIIDownload
Definition ParametersDownloadManager.hpp:403
static constexpr std::string_view unsignedLongDownload
Definition ParametersDownloadManager.hpp:406
static constexpr std::string_view alarmChannel
Definition ParametersDownloadManager.hpp:357
static constexpr std::string_view unitChannels
Definition ParametersDownloadManager.hpp:343
static constexpr std::string_view restoringDefaultParameters
Definition ParametersDownloadManager.hpp:410
static constexpr std::string_view digitalParams
Definition ParametersDownloadManager.hpp:368
static constexpr std::string_view alarmDelayOff
Definition ParametersDownloadManager.hpp:364
static constexpr std::string_view mimicIdChannel
Definition ParametersDownloadManager.hpp:362
static constexpr std::string_view parameterOnlineValue
Definition ParametersDownloadManager.hpp:423
static constexpr std::string_view analogType
Definition ParametersDownloadManager.hpp:375
static constexpr std::string_view sensorHigh
Definition ParametersDownloadManager.hpp:378
static constexpr std::string_view parameterOnlineTag
Definition ParametersDownloadManager.hpp:422
static constexpr std::string_view filterTime
Definition ParametersDownloadManager.hpp:382
static constexpr std::string_view floatDownload
Definition ParametersDownloadManager.hpp:405
static constexpr std::string_view parameterVersionDate
Definition ParametersDownloadManager.hpp:351
static constexpr std::string_view versionForEverZero
Definition ParametersDownloadManager.hpp:355
static constexpr std::string_view numberOfDecimals
Definition ParametersDownloadManager.hpp:398
static constexpr std::string_view channelDelayOn
Definition ParametersDownloadManager.hpp:371
static constexpr std::string_view verifyConfig
Definition ParametersDownloadManager.hpp:349
static constexpr std::string_view logicBlocksOfUnit
Definition ParametersDownloadManager.hpp:414
static constexpr std::string_view sensorLow
Definition ParametersDownloadManager.hpp:377
static constexpr std::string_view highAlarmLimit
Definition ParametersDownloadManager.hpp:385
static constexpr std::string_view highHighAlarmLimit
Definition ParametersDownloadManager.hpp:386
static constexpr std::string_view sizeOfLogicBlock
Definition ParametersDownloadManager.hpp:413
static constexpr std::string_view date
Definition ParametersDownloadManager.hpp:353
static constexpr std::string_view savingLogicEEPROM
Definition ParametersDownloadManager.hpp:419
static constexpr std::string_view downloadingUnits
Definition ParametersDownloadManager.hpp:341
static constexpr std::string_view groupIdForLoms
Definition ParametersDownloadManager.hpp:366
static constexpr std::string_view eraseUnitLogics
Definition ParametersDownloadManager.hpp:348
static constexpr std::string_view commonChannel
Definition ParametersDownloadManager.hpp:356
static constexpr std::string_view lowAlarmLimit
Definition ParametersDownloadManager.hpp:383
Definition structs.hpp:85
Definition structs.hpp:14