aboutsummaryrefslogtreecommitdiff
path: root/all_SRE_edited.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-04-26 16:07:08 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-04-26 16:07:08 -0700
commita0a4fa6a1161e34191658ece6a11901c1a40d5d3 (patch)
tree0b72265a5e1f21a0111867273fa37300acd91673 /all_SRE_edited.c
parentabf143eb26bf933b07bd3e191bb0860f13b9abe8 (diff)
Remake with dbcc
Diffstat (limited to 'all_SRE_edited.c')
-rw-r--r--all_SRE_edited.c128
1 files changed, 64 insertions, 64 deletions
diff --git a/all_SRE_edited.c b/all_SRE_edited.c
index 53a30db..4660f87 100644
--- a/all_SRE_edited.c
+++ b/all_SRE_edited.c
@@ -15147,7 +15147,7 @@ int decode_can_0x680_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15159,7 +15159,7 @@ int decode_can_0x680_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x680_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -15171,7 +15171,7 @@ int decode_can_0x680_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15183,7 +15183,7 @@ int decode_can_0x680_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x680_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -15195,7 +15195,7 @@ int decode_can_0x680_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15207,7 +15207,7 @@ int decode_can_0x680_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x680_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -15219,7 +15219,7 @@ int decode_can_0x680_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15231,7 +15231,7 @@ int decode_can_0x680_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x680_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x680_BMS_M1_Cell_Temp_Data.BMS_Section_1_Temp = in;
@@ -15303,7 +15303,7 @@ int decode_can_0x683_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15315,7 +15315,7 @@ int decode_can_0x683_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x683_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -15327,7 +15327,7 @@ int decode_can_0x683_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15339,7 +15339,7 @@ int decode_can_0x683_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x683_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -15351,7 +15351,7 @@ int decode_can_0x683_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15363,7 +15363,7 @@ int decode_can_0x683_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x683_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -15375,7 +15375,7 @@ int decode_can_0x683_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15387,7 +15387,7 @@ int decode_can_0x683_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x683_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x683_BMS_M2_Cell_Temp_Data.BMS_Section_1_Temp = in;
@@ -15459,7 +15459,7 @@ int decode_can_0x686_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15471,7 +15471,7 @@ int decode_can_0x686_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x686_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -15483,7 +15483,7 @@ int decode_can_0x686_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15495,7 +15495,7 @@ int decode_can_0x686_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x686_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -15507,7 +15507,7 @@ int decode_can_0x686_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15519,7 +15519,7 @@ int decode_can_0x686_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x686_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -15531,7 +15531,7 @@ int decode_can_0x686_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15543,7 +15543,7 @@ int decode_can_0x686_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x686_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x686_BMS_M3_Cell_Temp_Data.BMS_Section_1_Temp = in;
@@ -15615,7 +15615,7 @@ int decode_can_0x689_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15627,7 +15627,7 @@ int decode_can_0x689_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x689_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -15639,7 +15639,7 @@ int decode_can_0x689_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15651,7 +15651,7 @@ int decode_can_0x689_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x689_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -15663,7 +15663,7 @@ int decode_can_0x689_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15675,7 +15675,7 @@ int decode_can_0x689_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x689_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -15687,7 +15687,7 @@ int decode_can_0x689_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15699,7 +15699,7 @@ int decode_can_0x689_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x689_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x689_BMS_M4_Cell_Temp_Data.BMS_Section_1_Temp = in;
@@ -15771,7 +15771,7 @@ int decode_can_0x68c_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15783,7 +15783,7 @@ int decode_can_0x68c_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68c_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -15795,7 +15795,7 @@ int decode_can_0x68c_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15807,7 +15807,7 @@ int decode_can_0x68c_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68c_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -15819,7 +15819,7 @@ int decode_can_0x68c_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15831,7 +15831,7 @@ int decode_can_0x68c_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68c_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -15843,7 +15843,7 @@ int decode_can_0x68c_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15855,7 +15855,7 @@ int decode_can_0x68c_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68c_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68c_BMS_M5_Cell_Temp_Data.BMS_Section_1_Temp = in;
@@ -15927,7 +15927,7 @@ int decode_can_0x68f_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15939,7 +15939,7 @@ int decode_can_0x68f_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68f_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -15951,7 +15951,7 @@ int decode_can_0x68f_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15963,7 +15963,7 @@ int decode_can_0x68f_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68f_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -15975,7 +15975,7 @@ int decode_can_0x68f_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -15987,7 +15987,7 @@ int decode_can_0x68f_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68f_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -15999,7 +15999,7 @@ int decode_can_0x68f_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16011,7 +16011,7 @@ int decode_can_0x68f_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x68f_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x68f_BMS_M6_Cell_Temp_Data.BMS_Section_1_Temp = in;
@@ -16083,7 +16083,7 @@ int decode_can_0x692_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16095,7 +16095,7 @@ int decode_can_0x692_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x692_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -16107,7 +16107,7 @@ int decode_can_0x692_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16119,7 +16119,7 @@ int decode_can_0x692_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x692_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -16131,7 +16131,7 @@ int decode_can_0x692_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16143,7 +16143,7 @@ int decode_can_0x692_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x692_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -16155,7 +16155,7 @@ int decode_can_0x692_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16167,7 +16167,7 @@ int decode_can_0x692_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x692_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x692_BMS_M7_Cell_Temp_Data.BMS_Section_1_Temp = in;
@@ -16239,7 +16239,7 @@ int decode_can_0x695_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_4_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16251,7 +16251,7 @@ int decode_can_0x695_BMS_Section_4_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x695_BMS_Section_4_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_4_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_4_Temp = in;
@@ -16263,7 +16263,7 @@ int decode_can_0x695_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_3_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16275,7 +16275,7 @@ int decode_can_0x695_BMS_Section_3_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x695_BMS_Section_3_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_3_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_3_Temp = in;
@@ -16287,7 +16287,7 @@ int decode_can_0x695_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_2_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16299,7 +16299,7 @@ int decode_can_0x695_BMS_Section_2_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x695_BMS_Section_2_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_2_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_2_Temp = in;
@@ -16311,7 +16311,7 @@ int decode_can_0x695_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
assert(out);
double rval = (double)(o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_1_Temp);
rval *= 0.1;
- if (rval <= 6) {
+ if (rval <= 100) {
*out = rval;
return 0;
} else {
@@ -16323,7 +16323,7 @@ int decode_can_0x695_BMS_Section_1_Temp(const can_obj_all_sre_edited_h_t *o, dou
int encode_can_0x695_BMS_Section_1_Temp(can_obj_all_sre_edited_h_t *o, double in) {
assert(o);
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_1_Temp = 0;
- if (in > 6)
+ if (in > 100)
return -1;
in *= 10;
o->can_0x695_BMS_M8_Cell_Temp_Data.BMS_Section_1_Temp = in;