Add USA specific codes.

This commit is contained in:
Patrick Fic
2023-01-23 12:31:21 -08:00
parent bd324e6593
commit c5aa9fd503
2 changed files with 4 additions and 2 deletions

View File

@@ -811,12 +811,14 @@ namespace BodyshopPartner.Utils.Decoder
j.rate_mapa = float.Parse(readValues[11].ToString()) != 0 ? readValues[11] : readValues[7]; //Use CAL_LBRRTE if exists, otherwise us the pre threshold amt.?
j.tax_paint_mat_rt = float.Parse(readValues[14].ToString()) / 100;
o.cal_maxdlr = float.Parse(readValues[3].ToString());
o.cal_opcode = readValues[12].ToString();
d.mapa = o;
break;
case "MASH":
j.rate_mash = float.Parse(readValues[11].ToString()) != 0 ? readValues[11] : readValues[7]; //Use CAL_LBRRTE if exists, otherwise us the pre threshold amt.?
j.tax_shop_mat_rt = float.Parse(readValues[14].ToString()) / 100;
o.cal_maxdlr = float.Parse(readValues[3].ToString());
o.cal_opcode = readValues[12].ToString();
d.mash = o;
break;
case "MAHW": //TODO Should the remainder of these be index 7 or 11?