From c5aa9fd503a9f4331454aef538138cd16d745ef7 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 23 Jan 2023 12:31:21 -0800 Subject: [PATCH] Add USA specific codes. --- BodyshopUploader/Properties/AssemblyInfo.cs | 4 ++-- BodyshopUploader/Utils/Decoder/EstimateDecoder.cs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/BodyshopUploader/Properties/AssemblyInfo.cs b/BodyshopUploader/Properties/AssemblyInfo.cs index 2c41f6b..38d4db7 100644 --- a/BodyshopUploader/Properties/AssemblyInfo.cs +++ b/BodyshopUploader/Properties/AssemblyInfo.cs @@ -12,7 +12,7 @@ using System.Windows; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("ImEX Systems Inc.")] [assembly: AssemblyProduct("ImEX Online Partner")] -[assembly: AssemblyCopyright("Copyright © Snapt Software Inc. 2021")] +[assembly: AssemblyCopyright("Copyright © ImEX Systems Inc.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -51,7 +51,7 @@ using System.Windows; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.38.0")] +[assembly: AssemblyVersion("1.1.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] //Setting Squirrel Aware Version. [assembly: AssemblyMetadata("SquirrelAwareVersion", "1")] \ No newline at end of file diff --git a/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs b/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs index 19dc2c0..eaf8650 100644 --- a/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs +++ b/BodyshopUploader/Utils/Decoder/EstimateDecoder.cs @@ -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?