Files
Autopilot-Data-ParserOLD/HTMLFormConverter.cpp
2025-08-16 12:59:01 -05:00

2045 lines
104 KiB
C++

//
//
// This File was generated or modified by Jakob A. Oberbuchner's Generator/Intrepreter (2025)
//
//
#include "HTMLFormConverter.h"
#include <ArduinoJson.h>
void Config_ParseFromHTML( const String argName, const String arg, config_t* structure ) {
Serial.printf("'%s' with associated value '%s'\n", argName, arg);
char key[sizeof(argName)];
argName.toCharArray(key, sizeof(key));
int32_t tempVar = -1;
uint32_t value = 0;
if (sscanf(key, "%*[^_]_%d", &tempVar) <= 0) {
return;
} else {
value = tempVar;
}
switch (key[0]) {
case 'v':
switch (key[1]) {
case '0':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->stoichAFR = (float) arg.toFloat(); // need to prevent overflows
break;
}
break;
}
break;
case '1':
switch (key[2]) {
case '0':
switch (key[3]) {
case '_':
switch (value) {
case 1:
structure->CanB.Broadcast[0].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 2:
structure->CanB.Broadcast[1].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 3:
structure->CanB.Broadcast[2].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 4:
structure->CanB.Broadcast[3].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 5:
structure->CanB.Broadcast[4].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 6:
structure->CanB.Broadcast[5].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 7:
structure->CanB.Broadcast[6].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 8:
structure->CanB.Broadcast[7].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 9:
structure->CanB.Broadcast[8].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 10:
structure->CanB.Broadcast[9].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 11:
structure->CanB.Broadcast[10].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 12:
structure->CanB.Broadcast[11].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 13:
structure->CanB.Broadcast[12].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 14:
structure->CanB.Broadcast[13].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 15:
structure->CanB.Broadcast[14].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
case 16:
structure->CanB.Broadcast[15].IDtype = (CANidType_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '1':
switch (key[3]) {
case '_':
switch (value) {
case 1:
structure->CanB.Broadcast[0].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 2:
structure->CanB.Broadcast[1].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 3:
structure->CanB.Broadcast[2].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 4:
structure->CanB.Broadcast[3].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 5:
structure->CanB.Broadcast[4].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 6:
structure->CanB.Broadcast[5].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 7:
structure->CanB.Broadcast[6].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 8:
structure->CanB.Broadcast[7].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 9:
structure->CanB.Broadcast[8].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 10:
structure->CanB.Broadcast[9].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 11:
structure->CanB.Broadcast[10].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 12:
structure->CanB.Broadcast[11].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 13:
structure->CanB.Broadcast[12].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 14:
structure->CanB.Broadcast[13].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 15:
structure->CanB.Broadcast[14].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 16:
structure->CanB.Broadcast[15].IDvalue = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
}
break;
}
break;
case '2':
switch (key[3]) {
case '_':
switch (value) {
case 1:
structure->CanB.Broadcast[0].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 2:
structure->CanB.Broadcast[1].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 3:
structure->CanB.Broadcast[2].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 4:
structure->CanB.Broadcast[3].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 5:
structure->CanB.Broadcast[4].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 6:
structure->CanB.Broadcast[5].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 7:
structure->CanB.Broadcast[6].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 8:
structure->CanB.Broadcast[7].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 9:
structure->CanB.Broadcast[8].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 10:
structure->CanB.Broadcast[9].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 11:
structure->CanB.Broadcast[10].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 12:
structure->CanB.Broadcast[11].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 13:
structure->CanB.Broadcast[12].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 14:
structure->CanB.Broadcast[13].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 15:
structure->CanB.Broadcast[14].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 16:
structure->CanB.Broadcast[15].Rate = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
}
break;
}
break;
case '3':
switch (key[3]) {
case '_':
switch (value) {
case 1:
structure->CanB.Broadcast[0].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 2:
structure->CanB.Broadcast[1].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 3:
structure->CanB.Broadcast[2].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 4:
structure->CanB.Broadcast[3].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 5:
structure->CanB.Broadcast[4].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 6:
structure->CanB.Broadcast[5].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 7:
structure->CanB.Broadcast[6].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 8:
structure->CanB.Broadcast[7].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 9:
structure->CanB.Broadcast[8].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 10:
structure->CanB.Broadcast[9].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 11:
structure->CanB.Broadcast[10].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 12:
structure->CanB.Broadcast[11].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 13:
structure->CanB.Broadcast[12].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 14:
structure->CanB.Broadcast[13].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 15:
structure->CanB.Broadcast[14].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 16:
structure->CanB.Broadcast[15].NumEntries = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
}
break;
}
break;
case '4':
switch (key[3]) {
case '_':
switch (value) {
case 1:
structure->CanB.Broadcast[0].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 2:
structure->CanB.Broadcast[0].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 3:
structure->CanB.Broadcast[0].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 4:
structure->CanB.Broadcast[0].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 5:
structure->CanB.Broadcast[0].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 6:
structure->CanB.Broadcast[0].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 7:
structure->CanB.Broadcast[0].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 8:
structure->CanB.Broadcast[0].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 9:
structure->CanB.Broadcast[1].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 10:
structure->CanB.Broadcast[1].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 11:
structure->CanB.Broadcast[1].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 12:
structure->CanB.Broadcast[1].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 13:
structure->CanB.Broadcast[1].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 14:
structure->CanB.Broadcast[1].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 15:
structure->CanB.Broadcast[1].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 16:
structure->CanB.Broadcast[1].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 17:
structure->CanB.Broadcast[2].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 18:
structure->CanB.Broadcast[2].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 19:
structure->CanB.Broadcast[2].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 20:
structure->CanB.Broadcast[2].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 21:
structure->CanB.Broadcast[2].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 22:
structure->CanB.Broadcast[2].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 23:
structure->CanB.Broadcast[2].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 24:
structure->CanB.Broadcast[2].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 25:
structure->CanB.Broadcast[3].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 26:
structure->CanB.Broadcast[3].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 27:
structure->CanB.Broadcast[3].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 28:
structure->CanB.Broadcast[3].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 29:
structure->CanB.Broadcast[3].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 30:
structure->CanB.Broadcast[3].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 31:
structure->CanB.Broadcast[3].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 32:
structure->CanB.Broadcast[3].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 33:
structure->CanB.Broadcast[4].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 34:
structure->CanB.Broadcast[4].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 35:
structure->CanB.Broadcast[4].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 36:
structure->CanB.Broadcast[4].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 37:
structure->CanB.Broadcast[4].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 38:
structure->CanB.Broadcast[4].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 39:
structure->CanB.Broadcast[4].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 40:
structure->CanB.Broadcast[4].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 41:
structure->CanB.Broadcast[5].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 42:
structure->CanB.Broadcast[5].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 43:
structure->CanB.Broadcast[5].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 44:
structure->CanB.Broadcast[5].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 45:
structure->CanB.Broadcast[5].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 46:
structure->CanB.Broadcast[5].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 47:
structure->CanB.Broadcast[5].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 48:
structure->CanB.Broadcast[5].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 49:
structure->CanB.Broadcast[6].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 50:
structure->CanB.Broadcast[6].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 51:
structure->CanB.Broadcast[6].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 52:
structure->CanB.Broadcast[6].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 53:
structure->CanB.Broadcast[6].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 54:
structure->CanB.Broadcast[6].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 55:
structure->CanB.Broadcast[6].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 56:
structure->CanB.Broadcast[6].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 57:
structure->CanB.Broadcast[7].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 58:
structure->CanB.Broadcast[7].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 59:
structure->CanB.Broadcast[7].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 60:
structure->CanB.Broadcast[7].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 61:
structure->CanB.Broadcast[7].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 62:
structure->CanB.Broadcast[7].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 63:
structure->CanB.Broadcast[7].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 64:
structure->CanB.Broadcast[7].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 65:
structure->CanB.Broadcast[8].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 66:
structure->CanB.Broadcast[8].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 67:
structure->CanB.Broadcast[8].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 68:
structure->CanB.Broadcast[8].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 69:
structure->CanB.Broadcast[8].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 70:
structure->CanB.Broadcast[8].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 71:
structure->CanB.Broadcast[8].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 72:
structure->CanB.Broadcast[8].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 73:
structure->CanB.Broadcast[9].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 74:
structure->CanB.Broadcast[9].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 75:
structure->CanB.Broadcast[9].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 76:
structure->CanB.Broadcast[9].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 77:
structure->CanB.Broadcast[9].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 78:
structure->CanB.Broadcast[9].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 79:
structure->CanB.Broadcast[9].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 80:
structure->CanB.Broadcast[9].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 81:
structure->CanB.Broadcast[10].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 82:
structure->CanB.Broadcast[10].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 83:
structure->CanB.Broadcast[10].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 84:
structure->CanB.Broadcast[10].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 85:
structure->CanB.Broadcast[10].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 86:
structure->CanB.Broadcast[10].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 87:
structure->CanB.Broadcast[10].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 88:
structure->CanB.Broadcast[10].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 89:
structure->CanB.Broadcast[11].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 90:
structure->CanB.Broadcast[11].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 91:
structure->CanB.Broadcast[11].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 92:
structure->CanB.Broadcast[11].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 93:
structure->CanB.Broadcast[11].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 94:
structure->CanB.Broadcast[11].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 95:
structure->CanB.Broadcast[11].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 96:
structure->CanB.Broadcast[11].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 97:
structure->CanB.Broadcast[12].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 98:
structure->CanB.Broadcast[12].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 99:
structure->CanB.Broadcast[12].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 100:
structure->CanB.Broadcast[12].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 101:
structure->CanB.Broadcast[12].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 102:
structure->CanB.Broadcast[12].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 103:
structure->CanB.Broadcast[12].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 104:
structure->CanB.Broadcast[12].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 105:
structure->CanB.Broadcast[13].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 106:
structure->CanB.Broadcast[13].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 107:
structure->CanB.Broadcast[13].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 108:
structure->CanB.Broadcast[13].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 109:
structure->CanB.Broadcast[13].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 110:
structure->CanB.Broadcast[13].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 111:
structure->CanB.Broadcast[13].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 112:
structure->CanB.Broadcast[13].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 113:
structure->CanB.Broadcast[14].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 114:
structure->CanB.Broadcast[14].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 115:
structure->CanB.Broadcast[14].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 116:
structure->CanB.Broadcast[14].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 117:
structure->CanB.Broadcast[14].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 118:
structure->CanB.Broadcast[14].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 119:
structure->CanB.Broadcast[14].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 120:
structure->CanB.Broadcast[14].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 121:
structure->CanB.Broadcast[15].Entry[0].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 122:
structure->CanB.Broadcast[15].Entry[1].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 123:
structure->CanB.Broadcast[15].Entry[2].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 124:
structure->CanB.Broadcast[15].Entry[3].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 125:
structure->CanB.Broadcast[15].Entry[4].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 126:
structure->CanB.Broadcast[15].Entry[5].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 127:
structure->CanB.Broadcast[15].Entry[6].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
case 128:
structure->CanB.Broadcast[15].Entry[7].Parameter = (CANparameter_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '5':
switch (key[3]) {
case '_':
switch (value) {
case 1:
structure->CanB.Broadcast[0].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 2:
structure->CanB.Broadcast[0].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 3:
structure->CanB.Broadcast[0].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 4:
structure->CanB.Broadcast[0].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 5:
structure->CanB.Broadcast[0].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 6:
structure->CanB.Broadcast[0].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 7:
structure->CanB.Broadcast[0].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 8:
structure->CanB.Broadcast[0].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 9:
structure->CanB.Broadcast[1].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 10:
structure->CanB.Broadcast[1].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 11:
structure->CanB.Broadcast[1].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 12:
structure->CanB.Broadcast[1].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 13:
structure->CanB.Broadcast[1].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 14:
structure->CanB.Broadcast[1].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 15:
structure->CanB.Broadcast[1].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 16:
structure->CanB.Broadcast[1].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 17:
structure->CanB.Broadcast[2].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 18:
structure->CanB.Broadcast[2].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 19:
structure->CanB.Broadcast[2].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 20:
structure->CanB.Broadcast[2].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 21:
structure->CanB.Broadcast[2].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 22:
structure->CanB.Broadcast[2].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 23:
structure->CanB.Broadcast[2].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 24:
structure->CanB.Broadcast[2].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 25:
structure->CanB.Broadcast[3].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 26:
structure->CanB.Broadcast[3].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 27:
structure->CanB.Broadcast[3].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 28:
structure->CanB.Broadcast[3].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 29:
structure->CanB.Broadcast[3].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 30:
structure->CanB.Broadcast[3].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 31:
structure->CanB.Broadcast[3].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 32:
structure->CanB.Broadcast[3].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 33:
structure->CanB.Broadcast[4].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 34:
structure->CanB.Broadcast[4].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 35:
structure->CanB.Broadcast[4].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 36:
structure->CanB.Broadcast[4].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 37:
structure->CanB.Broadcast[4].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 38:
structure->CanB.Broadcast[4].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 39:
structure->CanB.Broadcast[4].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 40:
structure->CanB.Broadcast[4].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 41:
structure->CanB.Broadcast[5].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 42:
structure->CanB.Broadcast[5].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 43:
structure->CanB.Broadcast[5].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 44:
structure->CanB.Broadcast[5].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 45:
structure->CanB.Broadcast[5].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 46:
structure->CanB.Broadcast[5].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 47:
structure->CanB.Broadcast[5].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 48:
structure->CanB.Broadcast[5].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 49:
structure->CanB.Broadcast[6].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 50:
structure->CanB.Broadcast[6].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 51:
structure->CanB.Broadcast[6].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 52:
structure->CanB.Broadcast[6].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 53:
structure->CanB.Broadcast[6].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 54:
structure->CanB.Broadcast[6].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 55:
structure->CanB.Broadcast[6].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 56:
structure->CanB.Broadcast[6].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 57:
structure->CanB.Broadcast[7].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 58:
structure->CanB.Broadcast[7].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 59:
structure->CanB.Broadcast[7].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 60:
structure->CanB.Broadcast[7].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 61:
structure->CanB.Broadcast[7].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 62:
structure->CanB.Broadcast[7].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 63:
structure->CanB.Broadcast[7].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 64:
structure->CanB.Broadcast[7].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 65:
structure->CanB.Broadcast[8].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 66:
structure->CanB.Broadcast[8].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 67:
structure->CanB.Broadcast[8].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 68:
structure->CanB.Broadcast[8].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 69:
structure->CanB.Broadcast[8].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 70:
structure->CanB.Broadcast[8].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 71:
structure->CanB.Broadcast[8].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 72:
structure->CanB.Broadcast[8].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 73:
structure->CanB.Broadcast[9].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 74:
structure->CanB.Broadcast[9].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 75:
structure->CanB.Broadcast[9].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 76:
structure->CanB.Broadcast[9].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 77:
structure->CanB.Broadcast[9].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 78:
structure->CanB.Broadcast[9].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 79:
structure->CanB.Broadcast[9].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 80:
structure->CanB.Broadcast[9].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 81:
structure->CanB.Broadcast[10].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 82:
structure->CanB.Broadcast[10].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 83:
structure->CanB.Broadcast[10].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 84:
structure->CanB.Broadcast[10].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 85:
structure->CanB.Broadcast[10].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 86:
structure->CanB.Broadcast[10].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 87:
structure->CanB.Broadcast[10].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 88:
structure->CanB.Broadcast[10].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 89:
structure->CanB.Broadcast[11].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 90:
structure->CanB.Broadcast[11].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 91:
structure->CanB.Broadcast[11].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 92:
structure->CanB.Broadcast[11].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 93:
structure->CanB.Broadcast[11].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 94:
structure->CanB.Broadcast[11].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 95:
structure->CanB.Broadcast[11].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 96:
structure->CanB.Broadcast[11].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 97:
structure->CanB.Broadcast[12].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 98:
structure->CanB.Broadcast[12].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 99:
structure->CanB.Broadcast[12].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 100:
structure->CanB.Broadcast[12].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 101:
structure->CanB.Broadcast[12].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 102:
structure->CanB.Broadcast[12].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 103:
structure->CanB.Broadcast[12].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 104:
structure->CanB.Broadcast[12].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 105:
structure->CanB.Broadcast[13].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 106:
structure->CanB.Broadcast[13].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 107:
structure->CanB.Broadcast[13].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 108:
structure->CanB.Broadcast[13].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 109:
structure->CanB.Broadcast[13].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 110:
structure->CanB.Broadcast[13].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 111:
structure->CanB.Broadcast[13].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 112:
structure->CanB.Broadcast[13].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 113:
structure->CanB.Broadcast[14].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 114:
structure->CanB.Broadcast[14].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 115:
structure->CanB.Broadcast[14].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 116:
structure->CanB.Broadcast[14].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 117:
structure->CanB.Broadcast[14].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 118:
structure->CanB.Broadcast[14].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 119:
structure->CanB.Broadcast[14].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 120:
structure->CanB.Broadcast[14].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 121:
structure->CanB.Broadcast[15].Entry[0].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 122:
structure->CanB.Broadcast[15].Entry[1].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 123:
structure->CanB.Broadcast[15].Entry[2].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 124:
structure->CanB.Broadcast[15].Entry[3].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 125:
structure->CanB.Broadcast[15].Entry[4].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 126:
structure->CanB.Broadcast[15].Entry[5].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 127:
structure->CanB.Broadcast[15].Entry[6].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
case 128:
structure->CanB.Broadcast[15].Entry[7].Format = (CANbcastfmt_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '6':
switch (key[3]) {
case '_':
switch (value) {
case 1:
structure->CanB.Broadcast[0].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 2:
structure->CanB.Broadcast[0].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 3:
structure->CanB.Broadcast[0].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 4:
structure->CanB.Broadcast[0].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 5:
structure->CanB.Broadcast[0].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 6:
structure->CanB.Broadcast[0].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 7:
structure->CanB.Broadcast[0].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 8:
structure->CanB.Broadcast[0].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 9:
structure->CanB.Broadcast[1].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 10:
structure->CanB.Broadcast[1].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 11:
structure->CanB.Broadcast[1].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 12:
structure->CanB.Broadcast[1].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 13:
structure->CanB.Broadcast[1].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 14:
structure->CanB.Broadcast[1].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 15:
structure->CanB.Broadcast[1].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 16:
structure->CanB.Broadcast[1].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 17:
structure->CanB.Broadcast[2].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 18:
structure->CanB.Broadcast[2].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 19:
structure->CanB.Broadcast[2].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 20:
structure->CanB.Broadcast[2].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 21:
structure->CanB.Broadcast[2].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 22:
structure->CanB.Broadcast[2].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 23:
structure->CanB.Broadcast[2].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 24:
structure->CanB.Broadcast[2].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 25:
structure->CanB.Broadcast[3].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 26:
structure->CanB.Broadcast[3].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 27:
structure->CanB.Broadcast[3].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 28:
structure->CanB.Broadcast[3].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 29:
structure->CanB.Broadcast[3].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 30:
structure->CanB.Broadcast[3].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 31:
structure->CanB.Broadcast[3].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 32:
structure->CanB.Broadcast[3].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 33:
structure->CanB.Broadcast[4].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 34:
structure->CanB.Broadcast[4].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 35:
structure->CanB.Broadcast[4].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 36:
structure->CanB.Broadcast[4].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 37:
structure->CanB.Broadcast[4].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 38:
structure->CanB.Broadcast[4].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 39:
structure->CanB.Broadcast[4].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 40:
structure->CanB.Broadcast[4].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 41:
structure->CanB.Broadcast[5].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 42:
structure->CanB.Broadcast[5].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 43:
structure->CanB.Broadcast[5].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 44:
structure->CanB.Broadcast[5].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 45:
structure->CanB.Broadcast[5].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 46:
structure->CanB.Broadcast[5].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 47:
structure->CanB.Broadcast[5].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 48:
structure->CanB.Broadcast[5].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 49:
structure->CanB.Broadcast[6].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 50:
structure->CanB.Broadcast[6].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 51:
structure->CanB.Broadcast[6].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 52:
structure->CanB.Broadcast[6].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 53:
structure->CanB.Broadcast[6].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 54:
structure->CanB.Broadcast[6].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 55:
structure->CanB.Broadcast[6].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 56:
structure->CanB.Broadcast[6].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 57:
structure->CanB.Broadcast[7].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 58:
structure->CanB.Broadcast[7].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 59:
structure->CanB.Broadcast[7].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 60:
structure->CanB.Broadcast[7].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 61:
structure->CanB.Broadcast[7].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 62:
structure->CanB.Broadcast[7].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 63:
structure->CanB.Broadcast[7].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 64:
structure->CanB.Broadcast[7].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 65:
structure->CanB.Broadcast[8].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 66:
structure->CanB.Broadcast[8].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 67:
structure->CanB.Broadcast[8].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 68:
structure->CanB.Broadcast[8].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 69:
structure->CanB.Broadcast[8].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 70:
structure->CanB.Broadcast[8].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 71:
structure->CanB.Broadcast[8].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 72:
structure->CanB.Broadcast[8].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 73:
structure->CanB.Broadcast[9].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 74:
structure->CanB.Broadcast[9].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 75:
structure->CanB.Broadcast[9].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 76:
structure->CanB.Broadcast[9].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 77:
structure->CanB.Broadcast[9].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 78:
structure->CanB.Broadcast[9].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 79:
structure->CanB.Broadcast[9].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 80:
structure->CanB.Broadcast[9].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 81:
structure->CanB.Broadcast[10].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 82:
structure->CanB.Broadcast[10].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 83:
structure->CanB.Broadcast[10].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 84:
structure->CanB.Broadcast[10].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 85:
structure->CanB.Broadcast[10].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 86:
structure->CanB.Broadcast[10].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 87:
structure->CanB.Broadcast[10].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 88:
structure->CanB.Broadcast[10].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 89:
structure->CanB.Broadcast[11].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 90:
structure->CanB.Broadcast[11].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 91:
structure->CanB.Broadcast[11].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 92:
structure->CanB.Broadcast[11].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 93:
structure->CanB.Broadcast[11].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 94:
structure->CanB.Broadcast[11].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 95:
structure->CanB.Broadcast[11].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 96:
structure->CanB.Broadcast[11].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 97:
structure->CanB.Broadcast[12].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 98:
structure->CanB.Broadcast[12].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 99:
structure->CanB.Broadcast[12].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 100:
structure->CanB.Broadcast[12].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 101:
structure->CanB.Broadcast[12].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 102:
structure->CanB.Broadcast[12].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 103:
structure->CanB.Broadcast[12].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 104:
structure->CanB.Broadcast[12].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 105:
structure->CanB.Broadcast[13].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 106:
structure->CanB.Broadcast[13].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 107:
structure->CanB.Broadcast[13].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 108:
structure->CanB.Broadcast[13].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 109:
structure->CanB.Broadcast[13].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 110:
structure->CanB.Broadcast[13].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 111:
structure->CanB.Broadcast[13].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 112:
structure->CanB.Broadcast[13].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 113:
structure->CanB.Broadcast[14].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 114:
structure->CanB.Broadcast[14].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 115:
structure->CanB.Broadcast[14].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 116:
structure->CanB.Broadcast[14].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 117:
structure->CanB.Broadcast[14].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 118:
structure->CanB.Broadcast[14].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 119:
structure->CanB.Broadcast[14].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 120:
structure->CanB.Broadcast[14].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 121:
structure->CanB.Broadcast[15].Entry[0].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 122:
structure->CanB.Broadcast[15].Entry[1].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 123:
structure->CanB.Broadcast[15].Entry[2].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 124:
structure->CanB.Broadcast[15].Entry[3].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 125:
structure->CanB.Broadcast[15].Entry[4].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 126:
structure->CanB.Broadcast[15].Entry[5].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 127:
structure->CanB.Broadcast[15].Entry[6].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
case 128:
structure->CanB.Broadcast[15].Entry[7].Multiplier = (uint32_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
}
break;
}
break;
case '_':
switch (value) {
case 1:
structure->filtering = (Filtering_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '2':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->ch[0].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
case 2:
structure->ch[1].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
case 3:
structure->ch[2].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
case 4:
structure->ch[3].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
case 5:
structure->ch[4].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
case 6:
structure->ch[5].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
case 7:
structure->ch[6].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
case 8:
structure->ch[7].SensorType = (WBSensorTypes_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '3':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->CanA.Terminator = (OffOn_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '4':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->CanB.Terminator = (OffOn_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '5':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->CanB.BitRate = (CANbps_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '6':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->CanB.FDenable = (DisableEnable_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '7':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->CanB.FDBitRate = (CANFDbps_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '8':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->CanB.Endian = (CANbcastendian_t) arg.toInt(); // need to prevent overflows
break;
}
break;
}
break;
case '9':
switch (key[2]) {
case '_':
switch (value) {
case 1:
structure->CanB.NumPackets = (uint8_t) arg.toInt(); //Add in something to prevent negative numbers (for uintxx_t)? AND Also prevent overflows
break;
}
break;
}
break;
}
break;
}
} //Config_ParseFromHTML
String Config_ParseToHTML(config_t* structure) {
JsonDocument doc;
doc["v0_1"] = structure->stoichAFR;
doc["v1_1"] = structure->filtering;
doc["v2_1"] = structure->ch[0].SensorType;
doc["v2_2"] = structure->ch[1].SensorType;
doc["v2_3"] = structure->ch[2].SensorType;
doc["v2_4"] = structure->ch[3].SensorType;
doc["v2_5"] = structure->ch[4].SensorType;
doc["v2_6"] = structure->ch[5].SensorType;
doc["v2_7"] = structure->ch[6].SensorType;
doc["v2_8"] = structure->ch[7].SensorType;
doc["v3_1"] = structure->CanA.Terminator;
doc["v4_1"] = structure->CanB.Terminator;
doc["v5_1"] = structure->CanB.BitRate;
doc["v6_1"] = structure->CanB.FDenable;
doc["v7_1"] = structure->CanB.FDBitRate;
doc["v8_1"] = structure->CanB.Endian;
doc["v9_1"] = structure->CanB.NumPackets;
doc["v10_1"] = structure->CanB.Broadcast[0].IDtype;
doc["v11_1"] = structure->CanB.Broadcast[0].IDvalue;
doc["v12_1"] = structure->CanB.Broadcast[0].Rate;
doc["v13_1"] = structure->CanB.Broadcast[0].NumEntries;
doc["v14_1"] = structure->CanB.Broadcast[0].Entry[0].Parameter;
doc["v15_1"] = structure->CanB.Broadcast[0].Entry[0].Format;
doc["v16_1"] = structure->CanB.Broadcast[0].Entry[0].Multiplier;
doc["v14_2"] = structure->CanB.Broadcast[0].Entry[1].Parameter;
doc["v15_2"] = structure->CanB.Broadcast[0].Entry[1].Format;
doc["v16_2"] = structure->CanB.Broadcast[0].Entry[1].Multiplier;
doc["v14_3"] = structure->CanB.Broadcast[0].Entry[2].Parameter;
doc["v15_3"] = structure->CanB.Broadcast[0].Entry[2].Format;
doc["v16_3"] = structure->CanB.Broadcast[0].Entry[2].Multiplier;
doc["v14_4"] = structure->CanB.Broadcast[0].Entry[3].Parameter;
doc["v15_4"] = structure->CanB.Broadcast[0].Entry[3].Format;
doc["v16_4"] = structure->CanB.Broadcast[0].Entry[3].Multiplier;
doc["v14_5"] = structure->CanB.Broadcast[0].Entry[4].Parameter;
doc["v15_5"] = structure->CanB.Broadcast[0].Entry[4].Format;
doc["v16_5"] = structure->CanB.Broadcast[0].Entry[4].Multiplier;
doc["v14_6"] = structure->CanB.Broadcast[0].Entry[5].Parameter;
doc["v15_6"] = structure->CanB.Broadcast[0].Entry[5].Format;
doc["v16_6"] = structure->CanB.Broadcast[0].Entry[5].Multiplier;
doc["v14_7"] = structure->CanB.Broadcast[0].Entry[6].Parameter;
doc["v15_7"] = structure->CanB.Broadcast[0].Entry[6].Format;
doc["v16_7"] = structure->CanB.Broadcast[0].Entry[6].Multiplier;
doc["v14_8"] = structure->CanB.Broadcast[0].Entry[7].Parameter;
doc["v15_8"] = structure->CanB.Broadcast[0].Entry[7].Format;
doc["v16_8"] = structure->CanB.Broadcast[0].Entry[7].Multiplier;
doc["v10_2"] = structure->CanB.Broadcast[1].IDtype;
doc["v11_2"] = structure->CanB.Broadcast[1].IDvalue;
doc["v12_2"] = structure->CanB.Broadcast[1].Rate;
doc["v13_2"] = structure->CanB.Broadcast[1].NumEntries;
doc["v14_9"] = structure->CanB.Broadcast[1].Entry[0].Parameter;
doc["v15_9"] = structure->CanB.Broadcast[1].Entry[0].Format;
doc["v16_9"] = structure->CanB.Broadcast[1].Entry[0].Multiplier;
doc["v14_10"] = structure->CanB.Broadcast[1].Entry[1].Parameter;
doc["v15_10"] = structure->CanB.Broadcast[1].Entry[1].Format;
doc["v16_10"] = structure->CanB.Broadcast[1].Entry[1].Multiplier;
doc["v14_11"] = structure->CanB.Broadcast[1].Entry[2].Parameter;
doc["v15_11"] = structure->CanB.Broadcast[1].Entry[2].Format;
doc["v16_11"] = structure->CanB.Broadcast[1].Entry[2].Multiplier;
doc["v14_12"] = structure->CanB.Broadcast[1].Entry[3].Parameter;
doc["v15_12"] = structure->CanB.Broadcast[1].Entry[3].Format;
doc["v16_12"] = structure->CanB.Broadcast[1].Entry[3].Multiplier;
doc["v14_13"] = structure->CanB.Broadcast[1].Entry[4].Parameter;
doc["v15_13"] = structure->CanB.Broadcast[1].Entry[4].Format;
doc["v16_13"] = structure->CanB.Broadcast[1].Entry[4].Multiplier;
doc["v14_14"] = structure->CanB.Broadcast[1].Entry[5].Parameter;
doc["v15_14"] = structure->CanB.Broadcast[1].Entry[5].Format;
doc["v16_14"] = structure->CanB.Broadcast[1].Entry[5].Multiplier;
doc["v14_15"] = structure->CanB.Broadcast[1].Entry[6].Parameter;
doc["v15_15"] = structure->CanB.Broadcast[1].Entry[6].Format;
doc["v16_15"] = structure->CanB.Broadcast[1].Entry[6].Multiplier;
doc["v14_16"] = structure->CanB.Broadcast[1].Entry[7].Parameter;
doc["v15_16"] = structure->CanB.Broadcast[1].Entry[7].Format;
doc["v16_16"] = structure->CanB.Broadcast[1].Entry[7].Multiplier;
doc["v10_3"] = structure->CanB.Broadcast[2].IDtype;
doc["v11_3"] = structure->CanB.Broadcast[2].IDvalue;
doc["v12_3"] = structure->CanB.Broadcast[2].Rate;
doc["v13_3"] = structure->CanB.Broadcast[2].NumEntries;
doc["v14_17"] = structure->CanB.Broadcast[2].Entry[0].Parameter;
doc["v15_17"] = structure->CanB.Broadcast[2].Entry[0].Format;
doc["v16_17"] = structure->CanB.Broadcast[2].Entry[0].Multiplier;
doc["v14_18"] = structure->CanB.Broadcast[2].Entry[1].Parameter;
doc["v15_18"] = structure->CanB.Broadcast[2].Entry[1].Format;
doc["v16_18"] = structure->CanB.Broadcast[2].Entry[1].Multiplier;
doc["v14_19"] = structure->CanB.Broadcast[2].Entry[2].Parameter;
doc["v15_19"] = structure->CanB.Broadcast[2].Entry[2].Format;
doc["v16_19"] = structure->CanB.Broadcast[2].Entry[2].Multiplier;
doc["v14_20"] = structure->CanB.Broadcast[2].Entry[3].Parameter;
doc["v15_20"] = structure->CanB.Broadcast[2].Entry[3].Format;
doc["v16_20"] = structure->CanB.Broadcast[2].Entry[3].Multiplier;
doc["v14_21"] = structure->CanB.Broadcast[2].Entry[4].Parameter;
doc["v15_21"] = structure->CanB.Broadcast[2].Entry[4].Format;
doc["v16_21"] = structure->CanB.Broadcast[2].Entry[4].Multiplier;
doc["v14_22"] = structure->CanB.Broadcast[2].Entry[5].Parameter;
doc["v15_22"] = structure->CanB.Broadcast[2].Entry[5].Format;
doc["v16_22"] = structure->CanB.Broadcast[2].Entry[5].Multiplier;
doc["v14_23"] = structure->CanB.Broadcast[2].Entry[6].Parameter;
doc["v15_23"] = structure->CanB.Broadcast[2].Entry[6].Format;
doc["v16_23"] = structure->CanB.Broadcast[2].Entry[6].Multiplier;
doc["v14_24"] = structure->CanB.Broadcast[2].Entry[7].Parameter;
doc["v15_24"] = structure->CanB.Broadcast[2].Entry[7].Format;
doc["v16_24"] = structure->CanB.Broadcast[2].Entry[7].Multiplier;
doc["v10_4"] = structure->CanB.Broadcast[3].IDtype;
doc["v11_4"] = structure->CanB.Broadcast[3].IDvalue;
doc["v12_4"] = structure->CanB.Broadcast[3].Rate;
doc["v13_4"] = structure->CanB.Broadcast[3].NumEntries;
doc["v14_25"] = structure->CanB.Broadcast[3].Entry[0].Parameter;
doc["v15_25"] = structure->CanB.Broadcast[3].Entry[0].Format;
doc["v16_25"] = structure->CanB.Broadcast[3].Entry[0].Multiplier;
doc["v14_26"] = structure->CanB.Broadcast[3].Entry[1].Parameter;
doc["v15_26"] = structure->CanB.Broadcast[3].Entry[1].Format;
doc["v16_26"] = structure->CanB.Broadcast[3].Entry[1].Multiplier;
doc["v14_27"] = structure->CanB.Broadcast[3].Entry[2].Parameter;
doc["v15_27"] = structure->CanB.Broadcast[3].Entry[2].Format;
doc["v16_27"] = structure->CanB.Broadcast[3].Entry[2].Multiplier;
doc["v14_28"] = structure->CanB.Broadcast[3].Entry[3].Parameter;
doc["v15_28"] = structure->CanB.Broadcast[3].Entry[3].Format;
doc["v16_28"] = structure->CanB.Broadcast[3].Entry[3].Multiplier;
doc["v14_29"] = structure->CanB.Broadcast[3].Entry[4].Parameter;
doc["v15_29"] = structure->CanB.Broadcast[3].Entry[4].Format;
doc["v16_29"] = structure->CanB.Broadcast[3].Entry[4].Multiplier;
doc["v14_30"] = structure->CanB.Broadcast[3].Entry[5].Parameter;
doc["v15_30"] = structure->CanB.Broadcast[3].Entry[5].Format;
doc["v16_30"] = structure->CanB.Broadcast[3].Entry[5].Multiplier;
doc["v14_31"] = structure->CanB.Broadcast[3].Entry[6].Parameter;
doc["v15_31"] = structure->CanB.Broadcast[3].Entry[6].Format;
doc["v16_31"] = structure->CanB.Broadcast[3].Entry[6].Multiplier;
doc["v14_32"] = structure->CanB.Broadcast[3].Entry[7].Parameter;
doc["v15_32"] = structure->CanB.Broadcast[3].Entry[7].Format;
doc["v16_32"] = structure->CanB.Broadcast[3].Entry[7].Multiplier;
doc["v10_5"] = structure->CanB.Broadcast[4].IDtype;
doc["v11_5"] = structure->CanB.Broadcast[4].IDvalue;
doc["v12_5"] = structure->CanB.Broadcast[4].Rate;
doc["v13_5"] = structure->CanB.Broadcast[4].NumEntries;
doc["v14_33"] = structure->CanB.Broadcast[4].Entry[0].Parameter;
doc["v15_33"] = structure->CanB.Broadcast[4].Entry[0].Format;
doc["v16_33"] = structure->CanB.Broadcast[4].Entry[0].Multiplier;
doc["v14_34"] = structure->CanB.Broadcast[4].Entry[1].Parameter;
doc["v15_34"] = structure->CanB.Broadcast[4].Entry[1].Format;
doc["v16_34"] = structure->CanB.Broadcast[4].Entry[1].Multiplier;
doc["v14_35"] = structure->CanB.Broadcast[4].Entry[2].Parameter;
doc["v15_35"] = structure->CanB.Broadcast[4].Entry[2].Format;
doc["v16_35"] = structure->CanB.Broadcast[4].Entry[2].Multiplier;
doc["v14_36"] = structure->CanB.Broadcast[4].Entry[3].Parameter;
doc["v15_36"] = structure->CanB.Broadcast[4].Entry[3].Format;
doc["v16_36"] = structure->CanB.Broadcast[4].Entry[3].Multiplier;
doc["v14_37"] = structure->CanB.Broadcast[4].Entry[4].Parameter;
doc["v15_37"] = structure->CanB.Broadcast[4].Entry[4].Format;
doc["v16_37"] = structure->CanB.Broadcast[4].Entry[4].Multiplier;
doc["v14_38"] = structure->CanB.Broadcast[4].Entry[5].Parameter;
doc["v15_38"] = structure->CanB.Broadcast[4].Entry[5].Format;
doc["v16_38"] = structure->CanB.Broadcast[4].Entry[5].Multiplier;
doc["v14_39"] = structure->CanB.Broadcast[4].Entry[6].Parameter;
doc["v15_39"] = structure->CanB.Broadcast[4].Entry[6].Format;
doc["v16_39"] = structure->CanB.Broadcast[4].Entry[6].Multiplier;
doc["v14_40"] = structure->CanB.Broadcast[4].Entry[7].Parameter;
doc["v15_40"] = structure->CanB.Broadcast[4].Entry[7].Format;
doc["v16_40"] = structure->CanB.Broadcast[4].Entry[7].Multiplier;
doc["v10_6"] = structure->CanB.Broadcast[5].IDtype;
doc["v11_6"] = structure->CanB.Broadcast[5].IDvalue;
doc["v12_6"] = structure->CanB.Broadcast[5].Rate;
doc["v13_6"] = structure->CanB.Broadcast[5].NumEntries;
doc["v14_41"] = structure->CanB.Broadcast[5].Entry[0].Parameter;
doc["v15_41"] = structure->CanB.Broadcast[5].Entry[0].Format;
doc["v16_41"] = structure->CanB.Broadcast[5].Entry[0].Multiplier;
doc["v14_42"] = structure->CanB.Broadcast[5].Entry[1].Parameter;
doc["v15_42"] = structure->CanB.Broadcast[5].Entry[1].Format;
doc["v16_42"] = structure->CanB.Broadcast[5].Entry[1].Multiplier;
doc["v14_43"] = structure->CanB.Broadcast[5].Entry[2].Parameter;
doc["v15_43"] = structure->CanB.Broadcast[5].Entry[2].Format;
doc["v16_43"] = structure->CanB.Broadcast[5].Entry[2].Multiplier;
doc["v14_44"] = structure->CanB.Broadcast[5].Entry[3].Parameter;
doc["v15_44"] = structure->CanB.Broadcast[5].Entry[3].Format;
doc["v16_44"] = structure->CanB.Broadcast[5].Entry[3].Multiplier;
doc["v14_45"] = structure->CanB.Broadcast[5].Entry[4].Parameter;
doc["v15_45"] = structure->CanB.Broadcast[5].Entry[4].Format;
doc["v16_45"] = structure->CanB.Broadcast[5].Entry[4].Multiplier;
doc["v14_46"] = structure->CanB.Broadcast[5].Entry[5].Parameter;
doc["v15_46"] = structure->CanB.Broadcast[5].Entry[5].Format;
doc["v16_46"] = structure->CanB.Broadcast[5].Entry[5].Multiplier;
doc["v14_47"] = structure->CanB.Broadcast[5].Entry[6].Parameter;
doc["v15_47"] = structure->CanB.Broadcast[5].Entry[6].Format;
doc["v16_47"] = structure->CanB.Broadcast[5].Entry[6].Multiplier;
doc["v14_48"] = structure->CanB.Broadcast[5].Entry[7].Parameter;
doc["v15_48"] = structure->CanB.Broadcast[5].Entry[7].Format;
doc["v16_48"] = structure->CanB.Broadcast[5].Entry[7].Multiplier;
doc["v10_7"] = structure->CanB.Broadcast[6].IDtype;
doc["v11_7"] = structure->CanB.Broadcast[6].IDvalue;
doc["v12_7"] = structure->CanB.Broadcast[6].Rate;
doc["v13_7"] = structure->CanB.Broadcast[6].NumEntries;
doc["v14_49"] = structure->CanB.Broadcast[6].Entry[0].Parameter;
doc["v15_49"] = structure->CanB.Broadcast[6].Entry[0].Format;
doc["v16_49"] = structure->CanB.Broadcast[6].Entry[0].Multiplier;
doc["v14_50"] = structure->CanB.Broadcast[6].Entry[1].Parameter;
doc["v15_50"] = structure->CanB.Broadcast[6].Entry[1].Format;
doc["v16_50"] = structure->CanB.Broadcast[6].Entry[1].Multiplier;
doc["v14_51"] = structure->CanB.Broadcast[6].Entry[2].Parameter;
doc["v15_51"] = structure->CanB.Broadcast[6].Entry[2].Format;
doc["v16_51"] = structure->CanB.Broadcast[6].Entry[2].Multiplier;
doc["v14_52"] = structure->CanB.Broadcast[6].Entry[3].Parameter;
doc["v15_52"] = structure->CanB.Broadcast[6].Entry[3].Format;
doc["v16_52"] = structure->CanB.Broadcast[6].Entry[3].Multiplier;
doc["v14_53"] = structure->CanB.Broadcast[6].Entry[4].Parameter;
doc["v15_53"] = structure->CanB.Broadcast[6].Entry[4].Format;
doc["v16_53"] = structure->CanB.Broadcast[6].Entry[4].Multiplier;
doc["v14_54"] = structure->CanB.Broadcast[6].Entry[5].Parameter;
doc["v15_54"] = structure->CanB.Broadcast[6].Entry[5].Format;
doc["v16_54"] = structure->CanB.Broadcast[6].Entry[5].Multiplier;
doc["v14_55"] = structure->CanB.Broadcast[6].Entry[6].Parameter;
doc["v15_55"] = structure->CanB.Broadcast[6].Entry[6].Format;
doc["v16_55"] = structure->CanB.Broadcast[6].Entry[6].Multiplier;
doc["v14_56"] = structure->CanB.Broadcast[6].Entry[7].Parameter;
doc["v15_56"] = structure->CanB.Broadcast[6].Entry[7].Format;
doc["v16_56"] = structure->CanB.Broadcast[6].Entry[7].Multiplier;
doc["v10_8"] = structure->CanB.Broadcast[7].IDtype;
doc["v11_8"] = structure->CanB.Broadcast[7].IDvalue;
doc["v12_8"] = structure->CanB.Broadcast[7].Rate;
doc["v13_8"] = structure->CanB.Broadcast[7].NumEntries;
doc["v14_57"] = structure->CanB.Broadcast[7].Entry[0].Parameter;
doc["v15_57"] = structure->CanB.Broadcast[7].Entry[0].Format;
doc["v16_57"] = structure->CanB.Broadcast[7].Entry[0].Multiplier;
doc["v14_58"] = structure->CanB.Broadcast[7].Entry[1].Parameter;
doc["v15_58"] = structure->CanB.Broadcast[7].Entry[1].Format;
doc["v16_58"] = structure->CanB.Broadcast[7].Entry[1].Multiplier;
doc["v14_59"] = structure->CanB.Broadcast[7].Entry[2].Parameter;
doc["v15_59"] = structure->CanB.Broadcast[7].Entry[2].Format;
doc["v16_59"] = structure->CanB.Broadcast[7].Entry[2].Multiplier;
doc["v14_60"] = structure->CanB.Broadcast[7].Entry[3].Parameter;
doc["v15_60"] = structure->CanB.Broadcast[7].Entry[3].Format;
doc["v16_60"] = structure->CanB.Broadcast[7].Entry[3].Multiplier;
doc["v14_61"] = structure->CanB.Broadcast[7].Entry[4].Parameter;
doc["v15_61"] = structure->CanB.Broadcast[7].Entry[4].Format;
doc["v16_61"] = structure->CanB.Broadcast[7].Entry[4].Multiplier;
doc["v14_62"] = structure->CanB.Broadcast[7].Entry[5].Parameter;
doc["v15_62"] = structure->CanB.Broadcast[7].Entry[5].Format;
doc["v16_62"] = structure->CanB.Broadcast[7].Entry[5].Multiplier;
doc["v14_63"] = structure->CanB.Broadcast[7].Entry[6].Parameter;
doc["v15_63"] = structure->CanB.Broadcast[7].Entry[6].Format;
doc["v16_63"] = structure->CanB.Broadcast[7].Entry[6].Multiplier;
doc["v14_64"] = structure->CanB.Broadcast[7].Entry[7].Parameter;
doc["v15_64"] = structure->CanB.Broadcast[7].Entry[7].Format;
doc["v16_64"] = structure->CanB.Broadcast[7].Entry[7].Multiplier;
doc["v10_9"] = structure->CanB.Broadcast[8].IDtype;
doc["v11_9"] = structure->CanB.Broadcast[8].IDvalue;
doc["v12_9"] = structure->CanB.Broadcast[8].Rate;
doc["v13_9"] = structure->CanB.Broadcast[8].NumEntries;
doc["v14_65"] = structure->CanB.Broadcast[8].Entry[0].Parameter;
doc["v15_65"] = structure->CanB.Broadcast[8].Entry[0].Format;
doc["v16_65"] = structure->CanB.Broadcast[8].Entry[0].Multiplier;
doc["v14_66"] = structure->CanB.Broadcast[8].Entry[1].Parameter;
doc["v15_66"] = structure->CanB.Broadcast[8].Entry[1].Format;
doc["v16_66"] = structure->CanB.Broadcast[8].Entry[1].Multiplier;
doc["v14_67"] = structure->CanB.Broadcast[8].Entry[2].Parameter;
doc["v15_67"] = structure->CanB.Broadcast[8].Entry[2].Format;
doc["v16_67"] = structure->CanB.Broadcast[8].Entry[2].Multiplier;
doc["v14_68"] = structure->CanB.Broadcast[8].Entry[3].Parameter;
doc["v15_68"] = structure->CanB.Broadcast[8].Entry[3].Format;
doc["v16_68"] = structure->CanB.Broadcast[8].Entry[3].Multiplier;
doc["v14_69"] = structure->CanB.Broadcast[8].Entry[4].Parameter;
doc["v15_69"] = structure->CanB.Broadcast[8].Entry[4].Format;
doc["v16_69"] = structure->CanB.Broadcast[8].Entry[4].Multiplier;
doc["v14_70"] = structure->CanB.Broadcast[8].Entry[5].Parameter;
doc["v15_70"] = structure->CanB.Broadcast[8].Entry[5].Format;
doc["v16_70"] = structure->CanB.Broadcast[8].Entry[5].Multiplier;
doc["v14_71"] = structure->CanB.Broadcast[8].Entry[6].Parameter;
doc["v15_71"] = structure->CanB.Broadcast[8].Entry[6].Format;
doc["v16_71"] = structure->CanB.Broadcast[8].Entry[6].Multiplier;
doc["v14_72"] = structure->CanB.Broadcast[8].Entry[7].Parameter;
doc["v15_72"] = structure->CanB.Broadcast[8].Entry[7].Format;
doc["v16_72"] = structure->CanB.Broadcast[8].Entry[7].Multiplier;
doc["v10_10"] = structure->CanB.Broadcast[9].IDtype;
doc["v11_10"] = structure->CanB.Broadcast[9].IDvalue;
doc["v12_10"] = structure->CanB.Broadcast[9].Rate;
doc["v13_10"] = structure->CanB.Broadcast[9].NumEntries;
doc["v14_73"] = structure->CanB.Broadcast[9].Entry[0].Parameter;
doc["v15_73"] = structure->CanB.Broadcast[9].Entry[0].Format;
doc["v16_73"] = structure->CanB.Broadcast[9].Entry[0].Multiplier;
doc["v14_74"] = structure->CanB.Broadcast[9].Entry[1].Parameter;
doc["v15_74"] = structure->CanB.Broadcast[9].Entry[1].Format;
doc["v16_74"] = structure->CanB.Broadcast[9].Entry[1].Multiplier;
doc["v14_75"] = structure->CanB.Broadcast[9].Entry[2].Parameter;
doc["v15_75"] = structure->CanB.Broadcast[9].Entry[2].Format;
doc["v16_75"] = structure->CanB.Broadcast[9].Entry[2].Multiplier;
doc["v14_76"] = structure->CanB.Broadcast[9].Entry[3].Parameter;
doc["v15_76"] = structure->CanB.Broadcast[9].Entry[3].Format;
doc["v16_76"] = structure->CanB.Broadcast[9].Entry[3].Multiplier;
doc["v14_77"] = structure->CanB.Broadcast[9].Entry[4].Parameter;
doc["v15_77"] = structure->CanB.Broadcast[9].Entry[4].Format;
doc["v16_77"] = structure->CanB.Broadcast[9].Entry[4].Multiplier;
doc["v14_78"] = structure->CanB.Broadcast[9].Entry[5].Parameter;
doc["v15_78"] = structure->CanB.Broadcast[9].Entry[5].Format;
doc["v16_78"] = structure->CanB.Broadcast[9].Entry[5].Multiplier;
doc["v14_79"] = structure->CanB.Broadcast[9].Entry[6].Parameter;
doc["v15_79"] = structure->CanB.Broadcast[9].Entry[6].Format;
doc["v16_79"] = structure->CanB.Broadcast[9].Entry[6].Multiplier;
doc["v14_80"] = structure->CanB.Broadcast[9].Entry[7].Parameter;
doc["v15_80"] = structure->CanB.Broadcast[9].Entry[7].Format;
doc["v16_80"] = structure->CanB.Broadcast[9].Entry[7].Multiplier;
doc["v10_11"] = structure->CanB.Broadcast[10].IDtype;
doc["v11_11"] = structure->CanB.Broadcast[10].IDvalue;
doc["v12_11"] = structure->CanB.Broadcast[10].Rate;
doc["v13_11"] = structure->CanB.Broadcast[10].NumEntries;
doc["v14_81"] = structure->CanB.Broadcast[10].Entry[0].Parameter;
doc["v15_81"] = structure->CanB.Broadcast[10].Entry[0].Format;
doc["v16_81"] = structure->CanB.Broadcast[10].Entry[0].Multiplier;
doc["v14_82"] = structure->CanB.Broadcast[10].Entry[1].Parameter;
doc["v15_82"] = structure->CanB.Broadcast[10].Entry[1].Format;
doc["v16_82"] = structure->CanB.Broadcast[10].Entry[1].Multiplier;
doc["v14_83"] = structure->CanB.Broadcast[10].Entry[2].Parameter;
doc["v15_83"] = structure->CanB.Broadcast[10].Entry[2].Format;
doc["v16_83"] = structure->CanB.Broadcast[10].Entry[2].Multiplier;
doc["v14_84"] = structure->CanB.Broadcast[10].Entry[3].Parameter;
doc["v15_84"] = structure->CanB.Broadcast[10].Entry[3].Format;
doc["v16_84"] = structure->CanB.Broadcast[10].Entry[3].Multiplier;
doc["v14_85"] = structure->CanB.Broadcast[10].Entry[4].Parameter;
doc["v15_85"] = structure->CanB.Broadcast[10].Entry[4].Format;
doc["v16_85"] = structure->CanB.Broadcast[10].Entry[4].Multiplier;
doc["v14_86"] = structure->CanB.Broadcast[10].Entry[5].Parameter;
doc["v15_86"] = structure->CanB.Broadcast[10].Entry[5].Format;
doc["v16_86"] = structure->CanB.Broadcast[10].Entry[5].Multiplier;
doc["v14_87"] = structure->CanB.Broadcast[10].Entry[6].Parameter;
doc["v15_87"] = structure->CanB.Broadcast[10].Entry[6].Format;
doc["v16_87"] = structure->CanB.Broadcast[10].Entry[6].Multiplier;
doc["v14_88"] = structure->CanB.Broadcast[10].Entry[7].Parameter;
doc["v15_88"] = structure->CanB.Broadcast[10].Entry[7].Format;
doc["v16_88"] = structure->CanB.Broadcast[10].Entry[7].Multiplier;
doc["v10_12"] = structure->CanB.Broadcast[11].IDtype;
doc["v11_12"] = structure->CanB.Broadcast[11].IDvalue;
doc["v12_12"] = structure->CanB.Broadcast[11].Rate;
doc["v13_12"] = structure->CanB.Broadcast[11].NumEntries;
doc["v14_89"] = structure->CanB.Broadcast[11].Entry[0].Parameter;
doc["v15_89"] = structure->CanB.Broadcast[11].Entry[0].Format;
doc["v16_89"] = structure->CanB.Broadcast[11].Entry[0].Multiplier;
doc["v14_90"] = structure->CanB.Broadcast[11].Entry[1].Parameter;
doc["v15_90"] = structure->CanB.Broadcast[11].Entry[1].Format;
doc["v16_90"] = structure->CanB.Broadcast[11].Entry[1].Multiplier;
doc["v14_91"] = structure->CanB.Broadcast[11].Entry[2].Parameter;
doc["v15_91"] = structure->CanB.Broadcast[11].Entry[2].Format;
doc["v16_91"] = structure->CanB.Broadcast[11].Entry[2].Multiplier;
doc["v14_92"] = structure->CanB.Broadcast[11].Entry[3].Parameter;
doc["v15_92"] = structure->CanB.Broadcast[11].Entry[3].Format;
doc["v16_92"] = structure->CanB.Broadcast[11].Entry[3].Multiplier;
doc["v14_93"] = structure->CanB.Broadcast[11].Entry[4].Parameter;
doc["v15_93"] = structure->CanB.Broadcast[11].Entry[4].Format;
doc["v16_93"] = structure->CanB.Broadcast[11].Entry[4].Multiplier;
doc["v14_94"] = structure->CanB.Broadcast[11].Entry[5].Parameter;
doc["v15_94"] = structure->CanB.Broadcast[11].Entry[5].Format;
doc["v16_94"] = structure->CanB.Broadcast[11].Entry[5].Multiplier;
doc["v14_95"] = structure->CanB.Broadcast[11].Entry[6].Parameter;
doc["v15_95"] = structure->CanB.Broadcast[11].Entry[6].Format;
doc["v16_95"] = structure->CanB.Broadcast[11].Entry[6].Multiplier;
doc["v14_96"] = structure->CanB.Broadcast[11].Entry[7].Parameter;
doc["v15_96"] = structure->CanB.Broadcast[11].Entry[7].Format;
doc["v16_96"] = structure->CanB.Broadcast[11].Entry[7].Multiplier;
doc["v10_13"] = structure->CanB.Broadcast[12].IDtype;
doc["v11_13"] = structure->CanB.Broadcast[12].IDvalue;
doc["v12_13"] = structure->CanB.Broadcast[12].Rate;
doc["v13_13"] = structure->CanB.Broadcast[12].NumEntries;
doc["v14_97"] = structure->CanB.Broadcast[12].Entry[0].Parameter;
doc["v15_97"] = structure->CanB.Broadcast[12].Entry[0].Format;
doc["v16_97"] = structure->CanB.Broadcast[12].Entry[0].Multiplier;
doc["v14_98"] = structure->CanB.Broadcast[12].Entry[1].Parameter;
doc["v15_98"] = structure->CanB.Broadcast[12].Entry[1].Format;
doc["v16_98"] = structure->CanB.Broadcast[12].Entry[1].Multiplier;
doc["v14_99"] = structure->CanB.Broadcast[12].Entry[2].Parameter;
doc["v15_99"] = structure->CanB.Broadcast[12].Entry[2].Format;
doc["v16_99"] = structure->CanB.Broadcast[12].Entry[2].Multiplier;
doc["v14_100"] = structure->CanB.Broadcast[12].Entry[3].Parameter;
doc["v15_100"] = structure->CanB.Broadcast[12].Entry[3].Format;
doc["v16_100"] = structure->CanB.Broadcast[12].Entry[3].Multiplier;
doc["v14_101"] = structure->CanB.Broadcast[12].Entry[4].Parameter;
doc["v15_101"] = structure->CanB.Broadcast[12].Entry[4].Format;
doc["v16_101"] = structure->CanB.Broadcast[12].Entry[4].Multiplier;
doc["v14_102"] = structure->CanB.Broadcast[12].Entry[5].Parameter;
doc["v15_102"] = structure->CanB.Broadcast[12].Entry[5].Format;
doc["v16_102"] = structure->CanB.Broadcast[12].Entry[5].Multiplier;
doc["v14_103"] = structure->CanB.Broadcast[12].Entry[6].Parameter;
doc["v15_103"] = structure->CanB.Broadcast[12].Entry[6].Format;
doc["v16_103"] = structure->CanB.Broadcast[12].Entry[6].Multiplier;
doc["v14_104"] = structure->CanB.Broadcast[12].Entry[7].Parameter;
doc["v15_104"] = structure->CanB.Broadcast[12].Entry[7].Format;
doc["v16_104"] = structure->CanB.Broadcast[12].Entry[7].Multiplier;
doc["v10_14"] = structure->CanB.Broadcast[13].IDtype;
doc["v11_14"] = structure->CanB.Broadcast[13].IDvalue;
doc["v12_14"] = structure->CanB.Broadcast[13].Rate;
doc["v13_14"] = structure->CanB.Broadcast[13].NumEntries;
doc["v14_105"] = structure->CanB.Broadcast[13].Entry[0].Parameter;
doc["v15_105"] = structure->CanB.Broadcast[13].Entry[0].Format;
doc["v16_105"] = structure->CanB.Broadcast[13].Entry[0].Multiplier;
doc["v14_106"] = structure->CanB.Broadcast[13].Entry[1].Parameter;
doc["v15_106"] = structure->CanB.Broadcast[13].Entry[1].Format;
doc["v16_106"] = structure->CanB.Broadcast[13].Entry[1].Multiplier;
doc["v14_107"] = structure->CanB.Broadcast[13].Entry[2].Parameter;
doc["v15_107"] = structure->CanB.Broadcast[13].Entry[2].Format;
doc["v16_107"] = structure->CanB.Broadcast[13].Entry[2].Multiplier;
doc["v14_108"] = structure->CanB.Broadcast[13].Entry[3].Parameter;
doc["v15_108"] = structure->CanB.Broadcast[13].Entry[3].Format;
doc["v16_108"] = structure->CanB.Broadcast[13].Entry[3].Multiplier;
doc["v14_109"] = structure->CanB.Broadcast[13].Entry[4].Parameter;
doc["v15_109"] = structure->CanB.Broadcast[13].Entry[4].Format;
doc["v16_109"] = structure->CanB.Broadcast[13].Entry[4].Multiplier;
doc["v14_110"] = structure->CanB.Broadcast[13].Entry[5].Parameter;
doc["v15_110"] = structure->CanB.Broadcast[13].Entry[5].Format;
doc["v16_110"] = structure->CanB.Broadcast[13].Entry[5].Multiplier;
doc["v14_111"] = structure->CanB.Broadcast[13].Entry[6].Parameter;
doc["v15_111"] = structure->CanB.Broadcast[13].Entry[6].Format;
doc["v16_111"] = structure->CanB.Broadcast[13].Entry[6].Multiplier;
doc["v14_112"] = structure->CanB.Broadcast[13].Entry[7].Parameter;
doc["v15_112"] = structure->CanB.Broadcast[13].Entry[7].Format;
doc["v16_112"] = structure->CanB.Broadcast[13].Entry[7].Multiplier;
doc["v10_15"] = structure->CanB.Broadcast[14].IDtype;
doc["v11_15"] = structure->CanB.Broadcast[14].IDvalue;
doc["v12_15"] = structure->CanB.Broadcast[14].Rate;
doc["v13_15"] = structure->CanB.Broadcast[14].NumEntries;
doc["v14_113"] = structure->CanB.Broadcast[14].Entry[0].Parameter;
doc["v15_113"] = structure->CanB.Broadcast[14].Entry[0].Format;
doc["v16_113"] = structure->CanB.Broadcast[14].Entry[0].Multiplier;
doc["v14_114"] = structure->CanB.Broadcast[14].Entry[1].Parameter;
doc["v15_114"] = structure->CanB.Broadcast[14].Entry[1].Format;
doc["v16_114"] = structure->CanB.Broadcast[14].Entry[1].Multiplier;
doc["v14_115"] = structure->CanB.Broadcast[14].Entry[2].Parameter;
doc["v15_115"] = structure->CanB.Broadcast[14].Entry[2].Format;
doc["v16_115"] = structure->CanB.Broadcast[14].Entry[2].Multiplier;
doc["v14_116"] = structure->CanB.Broadcast[14].Entry[3].Parameter;
doc["v15_116"] = structure->CanB.Broadcast[14].Entry[3].Format;
doc["v16_116"] = structure->CanB.Broadcast[14].Entry[3].Multiplier;
doc["v14_117"] = structure->CanB.Broadcast[14].Entry[4].Parameter;
doc["v15_117"] = structure->CanB.Broadcast[14].Entry[4].Format;
doc["v16_117"] = structure->CanB.Broadcast[14].Entry[4].Multiplier;
doc["v14_118"] = structure->CanB.Broadcast[14].Entry[5].Parameter;
doc["v15_118"] = structure->CanB.Broadcast[14].Entry[5].Format;
doc["v16_118"] = structure->CanB.Broadcast[14].Entry[5].Multiplier;
doc["v14_119"] = structure->CanB.Broadcast[14].Entry[6].Parameter;
doc["v15_119"] = structure->CanB.Broadcast[14].Entry[6].Format;
doc["v16_119"] = structure->CanB.Broadcast[14].Entry[6].Multiplier;
doc["v14_120"] = structure->CanB.Broadcast[14].Entry[7].Parameter;
doc["v15_120"] = structure->CanB.Broadcast[14].Entry[7].Format;
doc["v16_120"] = structure->CanB.Broadcast[14].Entry[7].Multiplier;
doc["v10_16"] = structure->CanB.Broadcast[15].IDtype;
doc["v11_16"] = structure->CanB.Broadcast[15].IDvalue;
doc["v12_16"] = structure->CanB.Broadcast[15].Rate;
doc["v13_16"] = structure->CanB.Broadcast[15].NumEntries;
doc["v14_121"] = structure->CanB.Broadcast[15].Entry[0].Parameter;
doc["v15_121"] = structure->CanB.Broadcast[15].Entry[0].Format;
doc["v16_121"] = structure->CanB.Broadcast[15].Entry[0].Multiplier;
doc["v14_122"] = structure->CanB.Broadcast[15].Entry[1].Parameter;
doc["v15_122"] = structure->CanB.Broadcast[15].Entry[1].Format;
doc["v16_122"] = structure->CanB.Broadcast[15].Entry[1].Multiplier;
doc["v14_123"] = structure->CanB.Broadcast[15].Entry[2].Parameter;
doc["v15_123"] = structure->CanB.Broadcast[15].Entry[2].Format;
doc["v16_123"] = structure->CanB.Broadcast[15].Entry[2].Multiplier;
doc["v14_124"] = structure->CanB.Broadcast[15].Entry[3].Parameter;
doc["v15_124"] = structure->CanB.Broadcast[15].Entry[3].Format;
doc["v16_124"] = structure->CanB.Broadcast[15].Entry[3].Multiplier;
doc["v14_125"] = structure->CanB.Broadcast[15].Entry[4].Parameter;
doc["v15_125"] = structure->CanB.Broadcast[15].Entry[4].Format;
doc["v16_125"] = structure->CanB.Broadcast[15].Entry[4].Multiplier;
doc["v14_126"] = structure->CanB.Broadcast[15].Entry[5].Parameter;
doc["v15_126"] = structure->CanB.Broadcast[15].Entry[5].Format;
doc["v16_126"] = structure->CanB.Broadcast[15].Entry[5].Multiplier;
doc["v14_127"] = structure->CanB.Broadcast[15].Entry[6].Parameter;
doc["v15_127"] = structure->CanB.Broadcast[15].Entry[6].Format;
doc["v16_127"] = structure->CanB.Broadcast[15].Entry[6].Multiplier;
doc["v14_128"] = structure->CanB.Broadcast[15].Entry[7].Parameter;
doc["v15_128"] = structure->CanB.Broadcast[15].Entry[7].Format;
doc["v16_128"] = structure->CanB.Broadcast[15].Entry[7].Multiplier;
String output;
doc.shrinkToFit(); // optional, releases unused memory
serializeJson(doc, output);
return output;
}