LEVDisplay.h 115 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except in compliance
  4. with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2012
  6. All rights reserved.
  7. */
  8. #pragma once
  9. #include "StdAfx.h"
  10. #include "ISimBase.h"
  11. #include "antplus_lev.h" // Device specific class
  12. #include "antplus_common.h" // Include common pages (example usage on SDM and Bike Power)
  13. #include "types.h"
  14. #include "antdefines.h"
  15. using namespace System;
  16. using namespace System::ComponentModel;
  17. using namespace System::Collections;
  18. using namespace System::Windows::Forms;
  19. using namespace System::Data;
  20. using namespace System::Drawing;
  21. public ref class LEVDisplay : public System::Windows::Forms::Form, public ISimBase{
  22. public:
  23. // The constructor may include the following parameters:
  24. // System::Timers::Timer^ channelTimer: Timer handle, if using a timer (not required in most cases, since getTimerInterval gets called after onTimerTock on each tock)
  25. // dRequestAckMsg^ channelAckMsg: Handle to delegate function to send acknowledged messages (only needed if the device needs to send acknowledged messages)
  26. // These parameters may or may not be included in the constructor, as needed
  27. LEVDisplay(dRequestAckMsg^ channelAckMsg, dRequestBcastMsg^ channelBcastMsg){
  28. InitializeComponent();
  29. LEVData = gcnew LEV();
  30. commonDataDisplay = gcnew CommonData();
  31. commonDataSensor = gcnew CommonData();
  32. requestAckMsg = channelAckMsg;
  33. requestBcastMsg = channelBcastMsg;
  34. InitializeSim();
  35. }
  36. ~LEVDisplay(){
  37. this->panel_Display->Controls->Clear();
  38. this->panel_Settings->Controls->Clear();
  39. delete this->panel_Display;
  40. delete this->panel_Settings;
  41. //clean up floating resources with the garbage collector
  42. GC::Collect(2);
  43. if (components)
  44. {
  45. delete components;
  46. }
  47. }
  48. // Methods required by the interface class
  49. public:
  50. virtual void onTimerTock(USHORT eventTime){} // Do nothing
  51. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_); // Channel event state machine
  52. virtual UCHAR getDeviceType(){return LEV::DEVICE_TYPE;}
  53. virtual UCHAR getTransmissionType(){return 0;}
  54. virtual USHORT getTransmitPeriod(){return LEV::MSG_PERIOD;}
  55. virtual DOUBLE getTimerInterval(){return 1000;} // Set to any value, as receiver does not use the timer
  56. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  57. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  58. // Optional methods (not required by interface class)
  59. private:
  60. void InitializeSim(); // Initialize simulation
  61. void UpdateDisplay(UCHAR ucPageNum); // Updates the display after an ANT message is received
  62. void UpdateAssistMode(); // Updates the Assist Mode
  63. void UpdateRegenMode(); // Updates the Regen Mode
  64. void UpdateFrontGearState(); // Updates the front gear
  65. void UpdateRearGear();
  66. void SendRequestMsg(UCHAR ucMsgCode_); // Sends an Acknowledged message
  67. BOOL HandleRetransmit();
  68. void UpdateDisplayAckStatus(UCHAR ucStatus_);
  69. void TransmitCommonPage(); // Handles sending bcast common pages on the reverse channel
  70. void MapAssistMode();
  71. void MapRegenMode();
  72. void CheckAssistMapping();
  73. void CheckRegenMapping();
  74. void UpdateP16Assist();
  75. void UpdateP16Regen();
  76. // Add other GUI specific functions here
  77. System::Void checkBox_P16TravelModeNotSupported_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  78. System::Void comboBox_P16Assist_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  79. System::Void comboBox_P16Regen_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  80. System::Void comboBox_P16FrontGear_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  81. System::Void comboBox_P16RearGear_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  82. System::Void checkBox_P16HighBeamOn_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  83. System::Void checkBox_P16LightOn_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  84. System::Void checkBox_P16LeftSignalOn_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  85. System::Void checkBox_P16RightSignalOn_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  86. System::Void numericUpDown_P16ManID_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  87. System::Void button_P16Send_Click(System::Object^ sender, System::EventArgs^ e);
  88. System::Void button_CommonUpdate_Click(System::Object^ sender, System::EventArgs^ e);
  89. System::Void numericUpDown_P16Circum_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  90. System::Void numericUpDown_RqTxTimes_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  91. System::Void comboBox_PageToRequest_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  92. System::Void button_SendRequest_Click(System::Object^ sender, System::EventArgs^ e);
  93. System::Void numericUpDown_DisplayAssistModes_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  94. System::Void numericUpDown_DisplayRegenModes_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  95. System::Void checkBox_NoSerial_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  96. private:
  97. dRequestAckMsg^ requestAckMsg; // Delegate handle (ACK messages)
  98. dRequestBcastMsg^ requestBcastMsg; // Delgate handle (broadcast message)
  99. LEV^ LEVData;
  100. CommonData^ commonDataDisplay; // stores the common data that is Tx (from display)
  101. CommonData^ commonDataSensor; // stores the common data that is Rx (from sensor)
  102. // Calculated values for display
  103. double dbDispAcumDist; // Cumulative distance (km)
  104. BOOL bPage16Enabled; // Holds whether Page 16 is sent by the display or not
  105. UCHAR ucRxMsgCount; // Counts the number of messages received so that we can send back a common page on the 20th message
  106. UCHAR ucMsgExpectingAck; // Holds the message that is pending acknowledgement
  107. UCHAR ucAckRetryCount; // Holds the number of times an ack has been retried
  108. // Display Travel Modes
  109. UCHAR ucDisplaySupportedAssist; // number of supported assist levels for the display
  110. UCHAR ucDisplaySupportedRegen; // number of supported regen levels for the display
  111. private: System::Windows::Forms::Panel^ panel_Settings;
  112. private: System::Windows::Forms::Panel^ panel_Display;
  113. private: System::Windows::Forms::Label^ label_P16FrontGear;
  114. private: System::Windows::Forms::Label^ label_P16RearGear;
  115. private: System::Windows::Forms::Label^ label_RxStatusBox;
  116. private: System::Windows::Forms::Label^ label_StatusAssistVal;
  117. private: System::Windows::Forms::Label^ label_StatusAssist;
  118. private: System::Windows::Forms::Label^ label_StatusSpeedVal;
  119. private: System::Windows::Forms::Label^ label_StatusSpeed;
  120. private: System::Windows::Forms::Label^ label_StatusOdoVal;
  121. private: System::Windows::Forms::Label^ label_StatusOdometer;
  122. private: System::Windows::Forms::TabControl^ tabControl_LEVDisplay;
  123. private: System::Windows::Forms::TabPage^ tabPage_P1;
  124. private: System::Windows::Forms::Label^ label_P1RightValue;
  125. private: System::Windows::Forms::Label^ label_P1LeftValue;
  126. private: System::Windows::Forms::Label^ label_P1BeamValue;
  127. private: System::Windows::Forms::Label^ label_P1LightValue;
  128. private: System::Windows::Forms::Label^ label_P1SpeedValue;
  129. private: System::Windows::Forms::Label^ label_P1Right;
  130. private: System::Windows::Forms::Label^ label_P1Left;
  131. private: System::Windows::Forms::Label^ label_P1Beam;
  132. private: System::Windows::Forms::Label^ label_P1Light;
  133. private: System::Windows::Forms::Label^ label_P1Speed;
  134. private: System::Windows::Forms::Label^ label_P1RegenLevelVal;
  135. private: System::Windows::Forms::Label^ label_P1AssistLevelVal;
  136. private: System::Windows::Forms::Label^ label_P1RegenLevel;
  137. private: System::Windows::Forms::Label^ label_P1AssistLevel;
  138. private: System::Windows::Forms::TabPage^ tabPage_P2;
  139. private: System::Windows::Forms::Label^ label_P2SpeedVal;
  140. private: System::Windows::Forms::Label^ label_P2Speed;
  141. private: System::Windows::Forms::Label^ label_P2OdometerVal;
  142. private: System::Windows::Forms::Label^ label_P2Odometer;
  143. private: System::Windows::Forms::TabPage^ tabPage_P3;
  144. private: System::Windows::Forms::TabPage^ tabPage_Page45;
  145. private: System::Windows::Forms::TabPage^ tabPage_P16;
  146. private: System::Windows::Forms::TabControl^ tabControl_P16;
  147. private: System::Windows::Forms::TabPage^ tabPage_P16TravelMode;
  148. private: System::Windows::Forms::Label^ label_AckMsgStatus;
  149. private: System::Windows::Forms::Button^ button_P16Send;
  150. private: System::Windows::Forms::TabPage^ tabPage_P16Display;
  151. private: System::Windows::Forms::CheckBox^ checkBox_P16TravelModeNotSupported;
  152. private: System::Windows::Forms::Label^ label_P16CurrentRegen;
  153. private: System::Windows::Forms::Label^ label_P16CurrentAssist;
  154. private: System::Windows::Forms::ComboBox^ comboBox_P16Assist;
  155. private: System::Windows::Forms::ComboBox^ comboBox_P16Regen;
  156. private: System::Windows::Forms::TabPage^ tabPage_P16Command;
  157. private: System::Windows::Forms::GroupBox^ groupBox_P16CurrentGear;
  158. private: System::Windows::Forms::Label^ label_P16Front;
  159. private: System::Windows::Forms::ComboBox^ comboBox_P16FrontGear;
  160. private: System::Windows::Forms::Label^ label_P16Rear;
  161. private: System::Windows::Forms::ComboBox^ comboBox_P16RearGear;
  162. private: System::Windows::Forms::CheckBox^ checkBox_P16RightSignalOn;
  163. private: System::Windows::Forms::CheckBox^ checkBox_P16LeftSignalOn;
  164. private: System::Windows::Forms::CheckBox^ checkBox_P16HighBeamOn;
  165. private: System::Windows::Forms::CheckBox^ checkBox_P16LightOn;
  166. private: System::Windows::Forms::TabPage^ tabPage_P16ManID;
  167. private: System::Windows::Forms::Label^ label_P16ManID;
  168. private: System::Windows::Forms::NumericUpDown^ numericUpDown_P16ManID;
  169. private: System::Windows::Forms::TabPage^ tabPage_Common1;
  170. private: System::Windows::Forms::Label^ label_Common1;
  171. private: System::Windows::Forms::GroupBox^ groupBox_P81Rx;
  172. private: System::Windows::Forms::Label^ label_Glb_SoftwareVer;
  173. private: System::Windows::Forms::Label^ label_Glb_SoftwareVerDisplay;
  174. private: System::Windows::Forms::Label^ label_Glb_SerialNumDisplay;
  175. private: System::Windows::Forms::Label^ label_Glb_SerialNum;
  176. private: System::Windows::Forms::GroupBox^ groupBox_P80Rx;
  177. private: System::Windows::Forms::Label^ label_Glb_HardwareVer;
  178. private: System::Windows::Forms::Label^ label_Glb_ModelNum;
  179. private: System::Windows::Forms::Label^ label_Glb_ManfIDDisplay;
  180. private: System::Windows::Forms::Label^ label_Glb_ModelNumDisplay;
  181. private: System::Windows::Forms::Label^ label_Glb_HardwareVerDisplay;
  182. private: System::Windows::Forms::Label^ label_Glb_ManfID;
  183. private: System::Windows::Forms::TabPage^ tabPage_Common2;
  184. private: System::Windows::Forms::Label^ label_SoftwareVer;
  185. private: System::Windows::Forms::Label^ label_HardwareVer;
  186. private: System::Windows::Forms::Button^ button_CommonUpdate;
  187. private: System::Windows::Forms::Label^ label_ErrorCommon;
  188. private: System::Windows::Forms::Label^ label_ManfID;
  189. private: System::Windows::Forms::Label^ label_SerialNum;
  190. private: System::Windows::Forms::TextBox^ textBox_SerialNum;
  191. private: System::Windows::Forms::TextBox^ textBox_SwVersion;
  192. private: System::Windows::Forms::TextBox^ textBox_HwVersion;
  193. private: System::Windows::Forms::TextBox^ textBox_ModelNum;
  194. private: System::Windows::Forms::TextBox^ textBox_MfgID;
  195. private: System::Windows::Forms::Label^ label_ModelNum;
  196. private: System::Windows::Forms::Label^ label_P1RearGearVal;
  197. private: System::Windows::Forms::Label^ label_P1FrontGearVal;
  198. private: System::Windows::Forms::Label^ label_P1ManAutoVal;
  199. private: System::Windows::Forms::Label^ label_P1GearExistVal;
  200. private: System::Windows::Forms::Label^ label_P1RearGear;
  201. private: System::Windows::Forms::Label^ label_P1FrontGear;
  202. private: System::Windows::Forms::Label^ label_P1ManAuto;
  203. private: System::Windows::Forms::Label^ label_P1GearExist;
  204. private: System::Windows::Forms::Label^ label_P3RearGearVal;
  205. private: System::Windows::Forms::Label^ label_P3FrontGearVal;
  206. private: System::Windows::Forms::Label^ label_P3ManAutoVal;
  207. private: System::Windows::Forms::Label^ label_P3GearsExistVal;
  208. private: System::Windows::Forms::Label^ label_P3RearGear;
  209. private: System::Windows::Forms::Label^ label_P3FrontGear;
  210. private: System::Windows::Forms::Label^ label_P3ManAuto;
  211. private: System::Windows::Forms::Label^ label_P3GearsExist;
  212. private: System::Windows::Forms::Label^ label_P3RegenVal;
  213. private: System::Windows::Forms::Label^ label_P3RightVal;
  214. private: System::Windows::Forms::Label^ label_P3AssistLvlVal;
  215. private: System::Windows::Forms::Label^ label_P3LeftVal;
  216. private: System::Windows::Forms::Label^ label_P3Regen;
  217. private: System::Windows::Forms::Label^ label_P3BeamVal;
  218. private: System::Windows::Forms::Label^ label_P3AssistLvl;
  219. private: System::Windows::Forms::Label^ label_P3LightVal;
  220. private: System::Windows::Forms::Label^ label_P3SpeedVal;
  221. private: System::Windows::Forms::Label^ label_P3Right;
  222. private: System::Windows::Forms::Label^ label_P3Left;
  223. private: System::Windows::Forms::Label^ label_P3Beam;
  224. private: System::Windows::Forms::Label^ label_P3Light;
  225. private: System::Windows::Forms::Label^ label_P3Speed;
  226. private: System::Windows::Forms::Label^ label_P1ThrottleVal;
  227. private: System::Windows::Forms::Label^ label_P1Throttle;
  228. private: System::Windows::Forms::Label^ label_P1MotorAlertVal;
  229. private: System::Windows::Forms::Label^ label_P1BattAlertVal;
  230. private: System::Windows::Forms::Label^ label_P1MotorTempVal;
  231. private: System::Windows::Forms::Label^ label_P1MotorAlert;
  232. private: System::Windows::Forms::Label^ label_P1BattAlert;
  233. private: System::Windows::Forms::Label^ label_P1MotorTemp;
  234. private: System::Windows::Forms::Label^ label_P1BattTempVal;
  235. private: System::Windows::Forms::Label^ label_P1BattTemp;
  236. private: System::Windows::Forms::Label^ label_P1ErrorValue;
  237. private: System::Windows::Forms::Label^ label_P1Error;
  238. private: System::Windows::Forms::Label^ label_P2RangeVal;
  239. private: System::Windows::Forms::Label^ label_P2Range;
  240. private: System::Windows::Forms::Label^ label_P3PercentAssist;
  241. private: System::Windows::Forms::Label^ label_P3BattSOC;
  242. private: System::Windows::Forms::Label^ label_P3ThrottleVal;
  243. private: System::Windows::Forms::Label^ label_P3Throttle;
  244. private: System::Windows::Forms::Label^ label_P3PercentAssistVal;
  245. private: System::Windows::Forms::Label^ label_P3BattEmpty;
  246. private: System::Windows::Forms::Label^ label_P3BattEmptyVal;
  247. private: System::Windows::Forms::Label^ label_P3ChargeVal;
  248. private: System::Windows::Forms::TabControl^ tabControl_Page45;
  249. private: System::Windows::Forms::TabPage^ tabPage_Page4;
  250. private: System::Windows::Forms::Label^ label_P4VoltageVal;
  251. private: System::Windows::Forms::Label^ label_P4Voltage;
  252. private: System::Windows::Forms::Label^ label_P4DistanceOnCharge;
  253. private: System::Windows::Forms::Label^ label_P4FuelConsumption;
  254. private: System::Windows::Forms::Label^ label_P4ChargeCycle;
  255. private: System::Windows::Forms::TabPage^ tabPage_Page5;
  256. private: System::Windows::Forms::Label^ label_P5NumRegenVal;
  257. private: System::Windows::Forms::Label^ label_P5NumAssistVal;
  258. private: System::Windows::Forms::Label^ label_P5NumRegen;
  259. private: System::Windows::Forms::Label^ label_P5NumAssist;
  260. private: System::Windows::Forms::Label^ label_P5Circum;
  261. private: System::Windows::Forms::Label^ label_P4DistanceChargeVal;
  262. private: System::Windows::Forms::Label^ label_P4FuelVal;
  263. private: System::Windows::Forms::Label^ label_P4ChargeCycleVal;
  264. private: System::Windows::Forms::Label^ label_P5CircumVal;
  265. private: System::Windows::Forms::TabPage^ tabPage_P16Wheel;
  266. private: System::Windows::Forms::Label^ label_P16Circum;
  267. private: System::Windows::Forms::NumericUpDown^ numericUpDown_P16Circum;
  268. private: System::Windows::Forms::Label^ label_RqTxTimes;
  269. private: System::Windows::Forms::NumericUpDown^ numericUpDown_RqTxTimes;
  270. private: System::Windows::Forms::TabPage^ tabPage_RqPage;
  271. private: System::Windows::Forms::ComboBox^ comboBox_PageToRequest;
  272. private: System::Windows::Forms::GroupBox^ groupBox_Request;
  273. private: System::Windows::Forms::Button^ button_SendRequest;
  274. private: System::Windows::Forms::Label^ label_PageToRequest;
  275. private: System::Windows::Forms::Label^ label_AckStatus;
  276. private: System::Windows::Forms::TabPage^ tabPage_TravelModes;
  277. private: System::Windows::Forms::Label^ label_SupportedTravelModes;
  278. private: System::Windows::Forms::NumericUpDown^ numericUpDown_DisplayRegenModes;
  279. private: System::Windows::Forms::NumericUpDown^ numericUpDown_DisplayAssistModes;
  280. private: System::Windows::Forms::Label^ label_RegenModesSupported;
  281. private: System::Windows::Forms::Label^ label_AssistModesSupported;
  282. private: System::Windows::Forms::Label^ label_P34FuelValue;
  283. private: System::Windows::Forms::Label^ labelP34_Fuel;
  284. private: System::Windows::Forms::CheckBox^ checkBox_NoSerial;
  285. private: System::Windows::Forms::Label^ label_Common2;
  286. /// <summary>
  287. /// Required designer variables
  288. /// </summary>
  289. System::ComponentModel::Container ^components;
  290. #pragma region Windows Form Designer generated code
  291. /// <summary>
  292. /// Required method for Designer support - do not modify
  293. /// the contents of this method with the code editor.
  294. /// </summary>
  295. void InitializeComponent(void)
  296. {
  297. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  298. this->tabControl_LEVDisplay = (gcnew System::Windows::Forms::TabControl());
  299. this->tabPage_P1 = (gcnew System::Windows::Forms::TabPage());
  300. this->label_P1ThrottleVal = (gcnew System::Windows::Forms::Label());
  301. this->label_P1Throttle = (gcnew System::Windows::Forms::Label());
  302. this->label_P1RearGearVal = (gcnew System::Windows::Forms::Label());
  303. this->label_P1FrontGearVal = (gcnew System::Windows::Forms::Label());
  304. this->label_P1ManAutoVal = (gcnew System::Windows::Forms::Label());
  305. this->label_P1GearExistVal = (gcnew System::Windows::Forms::Label());
  306. this->label_P1RearGear = (gcnew System::Windows::Forms::Label());
  307. this->label_P1FrontGear = (gcnew System::Windows::Forms::Label());
  308. this->label_P1ManAuto = (gcnew System::Windows::Forms::Label());
  309. this->label_P1GearExist = (gcnew System::Windows::Forms::Label());
  310. this->label_P1MotorAlertVal = (gcnew System::Windows::Forms::Label());
  311. this->label_P1BattAlertVal = (gcnew System::Windows::Forms::Label());
  312. this->label_P1MotorTempVal = (gcnew System::Windows::Forms::Label());
  313. this->label_P1MotorAlert = (gcnew System::Windows::Forms::Label());
  314. this->label_P1BattAlert = (gcnew System::Windows::Forms::Label());
  315. this->label_P1MotorTemp = (gcnew System::Windows::Forms::Label());
  316. this->label_P1BattTempVal = (gcnew System::Windows::Forms::Label());
  317. this->label_P1BattTemp = (gcnew System::Windows::Forms::Label());
  318. this->label_P1RegenLevelVal = (gcnew System::Windows::Forms::Label());
  319. this->label_P1RightValue = (gcnew System::Windows::Forms::Label());
  320. this->label_P1AssistLevelVal = (gcnew System::Windows::Forms::Label());
  321. this->label_P1LeftValue = (gcnew System::Windows::Forms::Label());
  322. this->label_P1RegenLevel = (gcnew System::Windows::Forms::Label());
  323. this->label_P1BeamValue = (gcnew System::Windows::Forms::Label());
  324. this->label_P1AssistLevel = (gcnew System::Windows::Forms::Label());
  325. this->label_P1LightValue = (gcnew System::Windows::Forms::Label());
  326. this->label_P1SpeedValue = (gcnew System::Windows::Forms::Label());
  327. this->label_P1ErrorValue = (gcnew System::Windows::Forms::Label());
  328. this->label_P1Right = (gcnew System::Windows::Forms::Label());
  329. this->label_P1Left = (gcnew System::Windows::Forms::Label());
  330. this->label_P1Beam = (gcnew System::Windows::Forms::Label());
  331. this->label_P1Light = (gcnew System::Windows::Forms::Label());
  332. this->label_P1Speed = (gcnew System::Windows::Forms::Label());
  333. this->label_P1Error = (gcnew System::Windows::Forms::Label());
  334. this->tabPage_P2 = (gcnew System::Windows::Forms::TabPage());
  335. this->label_P34FuelValue = (gcnew System::Windows::Forms::Label());
  336. this->labelP34_Fuel = (gcnew System::Windows::Forms::Label());
  337. this->label_P2RangeVal = (gcnew System::Windows::Forms::Label());
  338. this->label_P2Range = (gcnew System::Windows::Forms::Label());
  339. this->label_P2SpeedVal = (gcnew System::Windows::Forms::Label());
  340. this->label_P2Speed = (gcnew System::Windows::Forms::Label());
  341. this->label_P2OdometerVal = (gcnew System::Windows::Forms::Label());
  342. this->label_P2Odometer = (gcnew System::Windows::Forms::Label());
  343. this->tabPage_P3 = (gcnew System::Windows::Forms::TabPage());
  344. this->label_P3PercentAssistVal = (gcnew System::Windows::Forms::Label());
  345. this->label_P3BattEmpty = (gcnew System::Windows::Forms::Label());
  346. this->label_P3BattEmptyVal = (gcnew System::Windows::Forms::Label());
  347. this->label_P3ChargeVal = (gcnew System::Windows::Forms::Label());
  348. this->label_P3ThrottleVal = (gcnew System::Windows::Forms::Label());
  349. this->label_P3Throttle = (gcnew System::Windows::Forms::Label());
  350. this->label_P3PercentAssist = (gcnew System::Windows::Forms::Label());
  351. this->label_P3BattSOC = (gcnew System::Windows::Forms::Label());
  352. this->label_P3RearGearVal = (gcnew System::Windows::Forms::Label());
  353. this->label_P3FrontGearVal = (gcnew System::Windows::Forms::Label());
  354. this->label_P3ManAutoVal = (gcnew System::Windows::Forms::Label());
  355. this->label_P3GearsExistVal = (gcnew System::Windows::Forms::Label());
  356. this->label_P3RearGear = (gcnew System::Windows::Forms::Label());
  357. this->label_P3FrontGear = (gcnew System::Windows::Forms::Label());
  358. this->label_P3ManAuto = (gcnew System::Windows::Forms::Label());
  359. this->label_P3GearsExist = (gcnew System::Windows::Forms::Label());
  360. this->label_P3RegenVal = (gcnew System::Windows::Forms::Label());
  361. this->label_P3RightVal = (gcnew System::Windows::Forms::Label());
  362. this->label_P3AssistLvlVal = (gcnew System::Windows::Forms::Label());
  363. this->label_P3LeftVal = (gcnew System::Windows::Forms::Label());
  364. this->label_P3Regen = (gcnew System::Windows::Forms::Label());
  365. this->label_P3BeamVal = (gcnew System::Windows::Forms::Label());
  366. this->label_P3AssistLvl = (gcnew System::Windows::Forms::Label());
  367. this->label_P3LightVal = (gcnew System::Windows::Forms::Label());
  368. this->label_P3SpeedVal = (gcnew System::Windows::Forms::Label());
  369. this->label_P3Right = (gcnew System::Windows::Forms::Label());
  370. this->label_P3Left = (gcnew System::Windows::Forms::Label());
  371. this->label_P3Beam = (gcnew System::Windows::Forms::Label());
  372. this->label_P3Light = (gcnew System::Windows::Forms::Label());
  373. this->label_P3Speed = (gcnew System::Windows::Forms::Label());
  374. this->tabPage_Page45 = (gcnew System::Windows::Forms::TabPage());
  375. this->tabControl_Page45 = (gcnew System::Windows::Forms::TabControl());
  376. this->tabPage_Page4 = (gcnew System::Windows::Forms::TabPage());
  377. this->label_P4DistanceChargeVal = (gcnew System::Windows::Forms::Label());
  378. this->label_P4FuelVal = (gcnew System::Windows::Forms::Label());
  379. this->label_P4ChargeCycleVal = (gcnew System::Windows::Forms::Label());
  380. this->label_P4VoltageVal = (gcnew System::Windows::Forms::Label());
  381. this->label_P4Voltage = (gcnew System::Windows::Forms::Label());
  382. this->label_P4DistanceOnCharge = (gcnew System::Windows::Forms::Label());
  383. this->label_P4FuelConsumption = (gcnew System::Windows::Forms::Label());
  384. this->label_P4ChargeCycle = (gcnew System::Windows::Forms::Label());
  385. this->tabPage_Page5 = (gcnew System::Windows::Forms::TabPage());
  386. this->label_P5CircumVal = (gcnew System::Windows::Forms::Label());
  387. this->label_P5NumRegenVal = (gcnew System::Windows::Forms::Label());
  388. this->label_P5NumAssistVal = (gcnew System::Windows::Forms::Label());
  389. this->label_P5NumRegen = (gcnew System::Windows::Forms::Label());
  390. this->label_P5NumAssist = (gcnew System::Windows::Forms::Label());
  391. this->label_P5Circum = (gcnew System::Windows::Forms::Label());
  392. this->tabPage_RqPage = (gcnew System::Windows::Forms::TabPage());
  393. this->button_SendRequest = (gcnew System::Windows::Forms::Button());
  394. this->label_PageToRequest = (gcnew System::Windows::Forms::Label());
  395. this->groupBox_Request = (gcnew System::Windows::Forms::GroupBox());
  396. this->label_RqTxTimes = (gcnew System::Windows::Forms::Label());
  397. this->numericUpDown_RqTxTimes = (gcnew System::Windows::Forms::NumericUpDown());
  398. this->comboBox_PageToRequest = (gcnew System::Windows::Forms::ComboBox());
  399. this->tabPage_P16 = (gcnew System::Windows::Forms::TabPage());
  400. this->tabControl_P16 = (gcnew System::Windows::Forms::TabControl());
  401. this->tabPage_P16TravelMode = (gcnew System::Windows::Forms::TabPage());
  402. this->button_P16Send = (gcnew System::Windows::Forms::Button());
  403. this->tabPage_P16Display = (gcnew System::Windows::Forms::TabPage());
  404. this->checkBox_P16TravelModeNotSupported = (gcnew System::Windows::Forms::CheckBox());
  405. this->label_P16CurrentRegen = (gcnew System::Windows::Forms::Label());
  406. this->label_P16CurrentAssist = (gcnew System::Windows::Forms::Label());
  407. this->comboBox_P16Assist = (gcnew System::Windows::Forms::ComboBox());
  408. this->comboBox_P16Regen = (gcnew System::Windows::Forms::ComboBox());
  409. this->tabPage_P16Command = (gcnew System::Windows::Forms::TabPage());
  410. this->groupBox_P16CurrentGear = (gcnew System::Windows::Forms::GroupBox());
  411. this->label_P16Front = (gcnew System::Windows::Forms::Label());
  412. this->comboBox_P16FrontGear = (gcnew System::Windows::Forms::ComboBox());
  413. this->label_P16Rear = (gcnew System::Windows::Forms::Label());
  414. this->comboBox_P16RearGear = (gcnew System::Windows::Forms::ComboBox());
  415. this->checkBox_P16RightSignalOn = (gcnew System::Windows::Forms::CheckBox());
  416. this->checkBox_P16LeftSignalOn = (gcnew System::Windows::Forms::CheckBox());
  417. this->checkBox_P16HighBeamOn = (gcnew System::Windows::Forms::CheckBox());
  418. this->checkBox_P16LightOn = (gcnew System::Windows::Forms::CheckBox());
  419. this->tabPage_P16ManID = (gcnew System::Windows::Forms::TabPage());
  420. this->label_P16ManID = (gcnew System::Windows::Forms::Label());
  421. this->numericUpDown_P16ManID = (gcnew System::Windows::Forms::NumericUpDown());
  422. this->tabPage_P16Wheel = (gcnew System::Windows::Forms::TabPage());
  423. this->numericUpDown_P16Circum = (gcnew System::Windows::Forms::NumericUpDown());
  424. this->label_P16Circum = (gcnew System::Windows::Forms::Label());
  425. this->tabPage_Common1 = (gcnew System::Windows::Forms::TabPage());
  426. this->label_Common1 = (gcnew System::Windows::Forms::Label());
  427. this->groupBox_P81Rx = (gcnew System::Windows::Forms::GroupBox());
  428. this->label_Glb_SoftwareVer = (gcnew System::Windows::Forms::Label());
  429. this->label_Glb_SoftwareVerDisplay = (gcnew System::Windows::Forms::Label());
  430. this->label_Glb_SerialNumDisplay = (gcnew System::Windows::Forms::Label());
  431. this->label_Glb_SerialNum = (gcnew System::Windows::Forms::Label());
  432. this->groupBox_P80Rx = (gcnew System::Windows::Forms::GroupBox());
  433. this->label_Glb_HardwareVer = (gcnew System::Windows::Forms::Label());
  434. this->label_Glb_ModelNum = (gcnew System::Windows::Forms::Label());
  435. this->label_Glb_ManfIDDisplay = (gcnew System::Windows::Forms::Label());
  436. this->label_Glb_ModelNumDisplay = (gcnew System::Windows::Forms::Label());
  437. this->label_Glb_HardwareVerDisplay = (gcnew System::Windows::Forms::Label());
  438. this->label_Glb_ManfID = (gcnew System::Windows::Forms::Label());
  439. this->tabPage_Common2 = (gcnew System::Windows::Forms::TabPage());
  440. this->label_SoftwareVer = (gcnew System::Windows::Forms::Label());
  441. this->label_HardwareVer = (gcnew System::Windows::Forms::Label());
  442. this->button_CommonUpdate = (gcnew System::Windows::Forms::Button());
  443. this->label_ErrorCommon = (gcnew System::Windows::Forms::Label());
  444. this->label_ManfID = (gcnew System::Windows::Forms::Label());
  445. this->label_SerialNum = (gcnew System::Windows::Forms::Label());
  446. this->textBox_SerialNum = (gcnew System::Windows::Forms::TextBox());
  447. this->textBox_SwVersion = (gcnew System::Windows::Forms::TextBox());
  448. this->textBox_HwVersion = (gcnew System::Windows::Forms::TextBox());
  449. this->textBox_ModelNum = (gcnew System::Windows::Forms::TextBox());
  450. this->textBox_MfgID = (gcnew System::Windows::Forms::TextBox());
  451. this->label_ModelNum = (gcnew System::Windows::Forms::Label());
  452. this->tabPage_TravelModes = (gcnew System::Windows::Forms::TabPage());
  453. this->numericUpDown_DisplayRegenModes = (gcnew System::Windows::Forms::NumericUpDown());
  454. this->numericUpDown_DisplayAssistModes = (gcnew System::Windows::Forms::NumericUpDown());
  455. this->label_RegenModesSupported = (gcnew System::Windows::Forms::Label());
  456. this->label_AssistModesSupported = (gcnew System::Windows::Forms::Label());
  457. this->label_SupportedTravelModes = (gcnew System::Windows::Forms::Label());
  458. this->label_AckMsgStatus = (gcnew System::Windows::Forms::Label());
  459. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  460. this->label_AckStatus = (gcnew System::Windows::Forms::Label());
  461. this->label_StatusAssistVal = (gcnew System::Windows::Forms::Label());
  462. this->label_StatusAssist = (gcnew System::Windows::Forms::Label());
  463. this->label_StatusSpeedVal = (gcnew System::Windows::Forms::Label());
  464. this->label_StatusSpeed = (gcnew System::Windows::Forms::Label());
  465. this->label_StatusOdoVal = (gcnew System::Windows::Forms::Label());
  466. this->label_StatusOdometer = (gcnew System::Windows::Forms::Label());
  467. this->label_RxStatusBox = (gcnew System::Windows::Forms::Label());
  468. this->label_P16FrontGear = (gcnew System::Windows::Forms::Label());
  469. this->label_P16RearGear = (gcnew System::Windows::Forms::Label());
  470. this->label_Common2 = (gcnew System::Windows::Forms::Label());
  471. this->checkBox_NoSerial = (gcnew System::Windows::Forms::CheckBox());
  472. this->panel_Settings->SuspendLayout();
  473. this->tabControl_LEVDisplay->SuspendLayout();
  474. this->tabPage_P1->SuspendLayout();
  475. this->tabPage_P2->SuspendLayout();
  476. this->tabPage_P3->SuspendLayout();
  477. this->tabPage_Page45->SuspendLayout();
  478. this->tabControl_Page45->SuspendLayout();
  479. this->tabPage_Page4->SuspendLayout();
  480. this->tabPage_Page5->SuspendLayout();
  481. this->tabPage_RqPage->SuspendLayout();
  482. this->groupBox_Request->SuspendLayout();
  483. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_RqTxTimes))->BeginInit();
  484. this->tabPage_P16->SuspendLayout();
  485. this->tabControl_P16->SuspendLayout();
  486. this->tabPage_P16TravelMode->SuspendLayout();
  487. this->tabPage_P16Display->SuspendLayout();
  488. this->tabPage_P16Command->SuspendLayout();
  489. this->groupBox_P16CurrentGear->SuspendLayout();
  490. this->tabPage_P16ManID->SuspendLayout();
  491. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_P16ManID))->BeginInit();
  492. this->tabPage_P16Wheel->SuspendLayout();
  493. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_P16Circum))->BeginInit();
  494. this->tabPage_Common1->SuspendLayout();
  495. this->groupBox_P81Rx->SuspendLayout();
  496. this->groupBox_P80Rx->SuspendLayout();
  497. this->tabPage_Common2->SuspendLayout();
  498. this->tabPage_TravelModes->SuspendLayout();
  499. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_DisplayRegenModes))->BeginInit();
  500. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_DisplayAssistModes))->BeginInit();
  501. this->panel_Display->SuspendLayout();
  502. this->SuspendLayout();
  503. //
  504. // panel_Settings
  505. //
  506. this->panel_Settings->Controls->Add(this->tabControl_LEVDisplay);
  507. this->panel_Settings->Location = System::Drawing::Point(322, 50);
  508. this->panel_Settings->Name = L"panel_Settings";
  509. this->panel_Settings->Size = System::Drawing::Size(400, 140);
  510. this->panel_Settings->TabIndex = 0;
  511. //
  512. // tabControl_LEVDisplay
  513. //
  514. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_P1);
  515. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_P2);
  516. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_P3);
  517. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_Page45);
  518. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_P16);
  519. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_Common1);
  520. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_Common2);
  521. this->tabControl_LEVDisplay->Controls->Add(this->tabPage_TravelModes);
  522. this->tabControl_LEVDisplay->Location = System::Drawing::Point(0, 3);
  523. this->tabControl_LEVDisplay->Name = L"tabControl_LEVDisplay";
  524. this->tabControl_LEVDisplay->SelectedIndex = 0;
  525. this->tabControl_LEVDisplay->Size = System::Drawing::Size(397, 137);
  526. this->tabControl_LEVDisplay->TabIndex = 0;
  527. //
  528. // tabPage_P1
  529. //
  530. this->tabPage_P1->Controls->Add(this->label_P1ThrottleVal);
  531. this->tabPage_P1->Controls->Add(this->label_P1Throttle);
  532. this->tabPage_P1->Controls->Add(this->label_P1RearGearVal);
  533. this->tabPage_P1->Controls->Add(this->label_P1FrontGearVal);
  534. this->tabPage_P1->Controls->Add(this->label_P1ManAutoVal);
  535. this->tabPage_P1->Controls->Add(this->label_P1GearExistVal);
  536. this->tabPage_P1->Controls->Add(this->label_P1RearGear);
  537. this->tabPage_P1->Controls->Add(this->label_P1FrontGear);
  538. this->tabPage_P1->Controls->Add(this->label_P1ManAuto);
  539. this->tabPage_P1->Controls->Add(this->label_P1GearExist);
  540. this->tabPage_P1->Controls->Add(this->label_P1MotorAlertVal);
  541. this->tabPage_P1->Controls->Add(this->label_P1BattAlertVal);
  542. this->tabPage_P1->Controls->Add(this->label_P1MotorTempVal);
  543. this->tabPage_P1->Controls->Add(this->label_P1MotorAlert);
  544. this->tabPage_P1->Controls->Add(this->label_P1BattAlert);
  545. this->tabPage_P1->Controls->Add(this->label_P1MotorTemp);
  546. this->tabPage_P1->Controls->Add(this->label_P1BattTempVal);
  547. this->tabPage_P1->Controls->Add(this->label_P1BattTemp);
  548. this->tabPage_P1->Controls->Add(this->label_P1RegenLevelVal);
  549. this->tabPage_P1->Controls->Add(this->label_P1RightValue);
  550. this->tabPage_P1->Controls->Add(this->label_P1AssistLevelVal);
  551. this->tabPage_P1->Controls->Add(this->label_P1LeftValue);
  552. this->tabPage_P1->Controls->Add(this->label_P1RegenLevel);
  553. this->tabPage_P1->Controls->Add(this->label_P1BeamValue);
  554. this->tabPage_P1->Controls->Add(this->label_P1AssistLevel);
  555. this->tabPage_P1->Controls->Add(this->label_P1LightValue);
  556. this->tabPage_P1->Controls->Add(this->label_P1SpeedValue);
  557. this->tabPage_P1->Controls->Add(this->label_P1ErrorValue);
  558. this->tabPage_P1->Controls->Add(this->label_P1Right);
  559. this->tabPage_P1->Controls->Add(this->label_P1Left);
  560. this->tabPage_P1->Controls->Add(this->label_P1Beam);
  561. this->tabPage_P1->Controls->Add(this->label_P1Light);
  562. this->tabPage_P1->Controls->Add(this->label_P1Speed);
  563. this->tabPage_P1->Controls->Add(this->label_P1Error);
  564. this->tabPage_P1->Location = System::Drawing::Point(4, 22);
  565. this->tabPage_P1->Name = L"tabPage_P1";
  566. this->tabPage_P1->Padding = System::Windows::Forms::Padding(3);
  567. this->tabPage_P1->Size = System::Drawing::Size(389, 111);
  568. this->tabPage_P1->TabIndex = 0;
  569. this->tabPage_P1->Text = L"Page 1";
  570. this->tabPage_P1->UseVisualStyleBackColor = true;
  571. //
  572. // label_P1ThrottleVal
  573. //
  574. this->label_P1ThrottleVal->AutoSize = true;
  575. this->label_P1ThrottleVal->Location = System::Drawing::Point(72, 23);
  576. this->label_P1ThrottleVal->Name = L"label_P1ThrottleVal";
  577. this->label_P1ThrottleVal->Size = System::Drawing::Size(16, 13);
  578. this->label_P1ThrottleVal->TabIndex = 60;
  579. this->label_P1ThrottleVal->Text = L"---";
  580. //
  581. // label_P1Throttle
  582. //
  583. this->label_P1Throttle->AutoSize = true;
  584. this->label_P1Throttle->Location = System::Drawing::Point(2, 23);
  585. this->label_P1Throttle->Name = L"label_P1Throttle";
  586. this->label_P1Throttle->Size = System::Drawing::Size(46, 13);
  587. this->label_P1Throttle->TabIndex = 59;
  588. this->label_P1Throttle->Text = L"Throttle:";
  589. //
  590. // label_P1RearGearVal
  591. //
  592. this->label_P1RearGearVal->AutoSize = true;
  593. this->label_P1RearGearVal->Location = System::Drawing::Point(349, 57);
  594. this->label_P1RearGearVal->Name = L"label_P1RearGearVal";
  595. this->label_P1RearGearVal->Size = System::Drawing::Size(16, 13);
  596. this->label_P1RearGearVal->TabIndex = 58;
  597. this->label_P1RearGearVal->Text = L"---";
  598. //
  599. // label_P1FrontGearVal
  600. //
  601. this->label_P1FrontGearVal->AutoSize = true;
  602. this->label_P1FrontGearVal->Location = System::Drawing::Point(349, 40);
  603. this->label_P1FrontGearVal->Name = L"label_P1FrontGearVal";
  604. this->label_P1FrontGearVal->Size = System::Drawing::Size(16, 13);
  605. this->label_P1FrontGearVal->TabIndex = 57;
  606. this->label_P1FrontGearVal->Text = L"---";
  607. //
  608. // label_P1ManAutoVal
  609. //
  610. this->label_P1ManAutoVal->AutoSize = true;
  611. this->label_P1ManAutoVal->Location = System::Drawing::Point(361, 23);
  612. this->label_P1ManAutoVal->Name = L"label_P1ManAutoVal";
  613. this->label_P1ManAutoVal->Size = System::Drawing::Size(16, 13);
  614. this->label_P1ManAutoVal->TabIndex = 56;
  615. this->label_P1ManAutoVal->Text = L"---";
  616. //
  617. // label_P1GearExistVal
  618. //
  619. this->label_P1GearExistVal->AutoSize = true;
  620. this->label_P1GearExistVal->Location = System::Drawing::Point(361, 6);
  621. this->label_P1GearExistVal->Name = L"label_P1GearExistVal";
  622. this->label_P1GearExistVal->Size = System::Drawing::Size(16, 13);
  623. this->label_P1GearExistVal->TabIndex = 55;
  624. this->label_P1GearExistVal->Text = L"---";
  625. //
  626. // label_P1RearGear
  627. //
  628. this->label_P1RearGear->AutoSize = true;
  629. this->label_P1RearGear->Location = System::Drawing::Point(283, 57);
  630. this->label_P1RearGear->Name = L"label_P1RearGear";
  631. this->label_P1RearGear->Size = System::Drawing::Size(59, 13);
  632. this->label_P1RearGear->TabIndex = 54;
  633. this->label_P1RearGear->Text = L"Rear Gear:";
  634. //
  635. // label_P1FrontGear
  636. //
  637. this->label_P1FrontGear->AutoSize = true;
  638. this->label_P1FrontGear->Location = System::Drawing::Point(283, 40);
  639. this->label_P1FrontGear->Name = L"label_P1FrontGear";
  640. this->label_P1FrontGear->Size = System::Drawing::Size(60, 13);
  641. this->label_P1FrontGear->TabIndex = 53;
  642. this->label_P1FrontGear->Text = L"Front Gear:";
  643. //
  644. // label_P1ManAuto
  645. //
  646. this->label_P1ManAuto->AutoSize = true;
  647. this->label_P1ManAuto->Location = System::Drawing::Point(283, 23);
  648. this->label_P1ManAuto->Name = L"label_P1ManAuto";
  649. this->label_P1ManAuto->Size = System::Drawing::Size(72, 13);
  650. this->label_P1ManAuto->TabIndex = 52;
  651. this->label_P1ManAuto->Text = L"Manual/Auto:";
  652. //
  653. // label_P1GearExist
  654. //
  655. this->label_P1GearExist->AutoSize = true;
  656. this->label_P1GearExist->Location = System::Drawing::Point(283, 6);
  657. this->label_P1GearExist->Name = L"label_P1GearExist";
  658. this->label_P1GearExist->Size = System::Drawing::Size(63, 13);
  659. this->label_P1GearExist->TabIndex = 51;
  660. this->label_P1GearExist->Text = L"Gears Exist:";
  661. //
  662. // label_P1MotorAlertVal
  663. //
  664. this->label_P1MotorAlertVal->AutoSize = true;
  665. this->label_P1MotorAlertVal->Location = System::Drawing::Point(212, 57);
  666. this->label_P1MotorAlertVal->Name = L"label_P1MotorAlertVal";
  667. this->label_P1MotorAlertVal->Size = System::Drawing::Size(16, 13);
  668. this->label_P1MotorAlertVal->TabIndex = 50;
  669. this->label_P1MotorAlertVal->Text = L"---";
  670. //
  671. // label_P1BattAlertVal
  672. //
  673. this->label_P1BattAlertVal->AutoSize = true;
  674. this->label_P1BattAlertVal->Location = System::Drawing::Point(212, 40);
  675. this->label_P1BattAlertVal->Name = L"label_P1BattAlertVal";
  676. this->label_P1BattAlertVal->Size = System::Drawing::Size(16, 13);
  677. this->label_P1BattAlertVal->TabIndex = 49;
  678. this->label_P1BattAlertVal->Text = L"---";
  679. //
  680. // label_P1MotorTempVal
  681. //
  682. this->label_P1MotorTempVal->AutoSize = true;
  683. this->label_P1MotorTempVal->Location = System::Drawing::Point(212, 23);
  684. this->label_P1MotorTempVal->Name = L"label_P1MotorTempVal";
  685. this->label_P1MotorTempVal->Size = System::Drawing::Size(16, 13);
  686. this->label_P1MotorTempVal->TabIndex = 48;
  687. this->label_P1MotorTempVal->Text = L"---";
  688. //
  689. // label_P1MotorAlert
  690. //
  691. this->label_P1MotorAlert->AutoSize = true;
  692. this->label_P1MotorAlert->Location = System::Drawing::Point(133, 57);
  693. this->label_P1MotorAlert->Name = L"label_P1MotorAlert";
  694. this->label_P1MotorAlert->Size = System::Drawing::Size(61, 13);
  695. this->label_P1MotorAlert->TabIndex = 47;
  696. this->label_P1MotorAlert->Text = L"Motor Alert:";
  697. //
  698. // label_P1BattAlert
  699. //
  700. this->label_P1BattAlert->AutoSize = true;
  701. this->label_P1BattAlert->Location = System::Drawing::Point(133, 40);
  702. this->label_P1BattAlert->Name = L"label_P1BattAlert";
  703. this->label_P1BattAlert->Size = System::Drawing::Size(67, 13);
  704. this->label_P1BattAlert->TabIndex = 46;
  705. this->label_P1BattAlert->Text = L"Battery Alert:";
  706. //
  707. // label_P1MotorTemp
  708. //
  709. this->label_P1MotorTemp->AutoSize = true;
  710. this->label_P1MotorTemp->Location = System::Drawing::Point(133, 23);
  711. this->label_P1MotorTemp->Name = L"label_P1MotorTemp";
  712. this->label_P1MotorTemp->Size = System::Drawing::Size(67, 13);
  713. this->label_P1MotorTemp->TabIndex = 45;
  714. this->label_P1MotorTemp->Text = L"Motor Temp:";
  715. //
  716. // label_P1BattTempVal
  717. //
  718. this->label_P1BattTempVal->AutoSize = true;
  719. this->label_P1BattTempVal->Location = System::Drawing::Point(212, 6);
  720. this->label_P1BattTempVal->Name = L"label_P1BattTempVal";
  721. this->label_P1BattTempVal->Size = System::Drawing::Size(16, 13);
  722. this->label_P1BattTempVal->TabIndex = 44;
  723. this->label_P1BattTempVal->Text = L"---";
  724. //
  725. // label_P1BattTemp
  726. //
  727. this->label_P1BattTemp->AutoSize = true;
  728. this->label_P1BattTemp->Location = System::Drawing::Point(133, 6);
  729. this->label_P1BattTemp->Name = L"label_P1BattTemp";
  730. this->label_P1BattTemp->Size = System::Drawing::Size(73, 13);
  731. this->label_P1BattTemp->TabIndex = 43;
  732. this->label_P1BattTemp->Text = L"Battery Temp:";
  733. //
  734. // label_P1RegenLevelVal
  735. //
  736. this->label_P1RegenLevelVal->AutoSize = true;
  737. this->label_P1RegenLevelVal->Location = System::Drawing::Point(212, 91);
  738. this->label_P1RegenLevelVal->Name = L"label_P1RegenLevelVal";
  739. this->label_P1RegenLevelVal->Size = System::Drawing::Size(16, 13);
  740. this->label_P1RegenLevelVal->TabIndex = 18;
  741. this->label_P1RegenLevelVal->Text = L"---";
  742. //
  743. // label_P1RightValue
  744. //
  745. this->label_P1RightValue->AutoSize = true;
  746. this->label_P1RightValue->Location = System::Drawing::Point(72, 91);
  747. this->label_P1RightValue->Name = L"label_P1RightValue";
  748. this->label_P1RightValue->Size = System::Drawing::Size(16, 13);
  749. this->label_P1RightValue->TabIndex = 14;
  750. this->label_P1RightValue->Text = L"---";
  751. //
  752. // label_P1AssistLevelVal
  753. //
  754. this->label_P1AssistLevelVal->AutoSize = true;
  755. this->label_P1AssistLevelVal->Location = System::Drawing::Point(212, 74);
  756. this->label_P1AssistLevelVal->Name = L"label_P1AssistLevelVal";
  757. this->label_P1AssistLevelVal->Size = System::Drawing::Size(16, 13);
  758. this->label_P1AssistLevelVal->TabIndex = 17;
  759. this->label_P1AssistLevelVal->Text = L"---";
  760. //
  761. // label_P1LeftValue
  762. //
  763. this->label_P1LeftValue->AutoSize = true;
  764. this->label_P1LeftValue->Location = System::Drawing::Point(72, 74);
  765. this->label_P1LeftValue->Name = L"label_P1LeftValue";
  766. this->label_P1LeftValue->Size = System::Drawing::Size(16, 13);
  767. this->label_P1LeftValue->TabIndex = 13;
  768. this->label_P1LeftValue->Text = L"---";
  769. //
  770. // label_P1RegenLevel
  771. //
  772. this->label_P1RegenLevel->AutoSize = true;
  773. this->label_P1RegenLevel->Location = System::Drawing::Point(133, 91);
  774. this->label_P1RegenLevel->Name = L"label_P1RegenLevel";
  775. this->label_P1RegenLevel->Size = System::Drawing::Size(71, 13);
  776. this->label_P1RegenLevel->TabIndex = 3;
  777. this->label_P1RegenLevel->Text = L"Regen Level:";
  778. //
  779. // label_P1BeamValue
  780. //
  781. this->label_P1BeamValue->AutoSize = true;
  782. this->label_P1BeamValue->Location = System::Drawing::Point(72, 57);
  783. this->label_P1BeamValue->Name = L"label_P1BeamValue";
  784. this->label_P1BeamValue->Size = System::Drawing::Size(16, 13);
  785. this->label_P1BeamValue->TabIndex = 12;
  786. this->label_P1BeamValue->Text = L"---";
  787. //
  788. // label_P1AssistLevel
  789. //
  790. this->label_P1AssistLevel->AutoSize = true;
  791. this->label_P1AssistLevel->Location = System::Drawing::Point(133, 74);
  792. this->label_P1AssistLevel->Name = L"label_P1AssistLevel";
  793. this->label_P1AssistLevel->Size = System::Drawing::Size(66, 13);
  794. this->label_P1AssistLevel->TabIndex = 2;
  795. this->label_P1AssistLevel->Text = L"Assist Level:";
  796. //
  797. // label_P1LightValue
  798. //
  799. this->label_P1LightValue->AutoSize = true;
  800. this->label_P1LightValue->Location = System::Drawing::Point(72, 40);
  801. this->label_P1LightValue->Name = L"label_P1LightValue";
  802. this->label_P1LightValue->Size = System::Drawing::Size(16, 13);
  803. this->label_P1LightValue->TabIndex = 11;
  804. this->label_P1LightValue->Text = L"---";
  805. //
  806. // label_P1SpeedValue
  807. //
  808. this->label_P1SpeedValue->AutoSize = true;
  809. this->label_P1SpeedValue->Location = System::Drawing::Point(72, 6);
  810. this->label_P1SpeedValue->Name = L"label_P1SpeedValue";
  811. this->label_P1SpeedValue->Size = System::Drawing::Size(16, 13);
  812. this->label_P1SpeedValue->TabIndex = 10;
  813. this->label_P1SpeedValue->Text = L"---";
  814. //
  815. // label_P1ErrorValue
  816. //
  817. this->label_P1ErrorValue->AutoSize = true;
  818. this->label_P1ErrorValue->Location = System::Drawing::Point(321, 91);
  819. this->label_P1ErrorValue->Name = L"label_P1ErrorValue";
  820. this->label_P1ErrorValue->Size = System::Drawing::Size(16, 13);
  821. this->label_P1ErrorValue->TabIndex = 9;
  822. this->label_P1ErrorValue->Text = L"---";
  823. //
  824. // label_P1Right
  825. //
  826. this->label_P1Right->AutoSize = true;
  827. this->label_P1Right->Location = System::Drawing::Point(2, 91);
  828. this->label_P1Right->Name = L"label_P1Right";
  829. this->label_P1Right->Size = System::Drawing::Size(67, 13);
  830. this->label_P1Right->TabIndex = 8;
  831. this->label_P1Right->Text = L"Right Signal:";
  832. //
  833. // label_P1Left
  834. //
  835. this->label_P1Left->AutoSize = true;
  836. this->label_P1Left->Location = System::Drawing::Point(2, 74);
  837. this->label_P1Left->Name = L"label_P1Left";
  838. this->label_P1Left->Size = System::Drawing::Size(60, 13);
  839. this->label_P1Left->TabIndex = 7;
  840. this->label_P1Left->Text = L"Left Signal:";
  841. //
  842. // label_P1Beam
  843. //
  844. this->label_P1Beam->AutoSize = true;
  845. this->label_P1Beam->Location = System::Drawing::Point(2, 57);
  846. this->label_P1Beam->Name = L"label_P1Beam";
  847. this->label_P1Beam->Size = System::Drawing::Size(65, 13);
  848. this->label_P1Beam->TabIndex = 6;
  849. this->label_P1Beam->Text = L"Beam State:";
  850. //
  851. // label_P1Light
  852. //
  853. this->label_P1Light->AutoSize = true;
  854. this->label_P1Light->Location = System::Drawing::Point(2, 40);
  855. this->label_P1Light->Name = L"label_P1Light";
  856. this->label_P1Light->Size = System::Drawing::Size(61, 13);
  857. this->label_P1Light->TabIndex = 5;
  858. this->label_P1Light->Text = L"Light State:";
  859. //
  860. // label_P1Speed
  861. //
  862. this->label_P1Speed->AutoSize = true;
  863. this->label_P1Speed->Location = System::Drawing::Point(2, 6);
  864. this->label_P1Speed->Name = L"label_P1Speed";
  865. this->label_P1Speed->Size = System::Drawing::Size(64, 13);
  866. this->label_P1Speed->TabIndex = 4;
  867. this->label_P1Speed->Text = L"LEV Speed:";
  868. //
  869. // label_P1Error
  870. //
  871. this->label_P1Error->AutoSize = true;
  872. this->label_P1Error->Location = System::Drawing::Point(255, 91);
  873. this->label_P1Error->Name = L"label_P1Error";
  874. this->label_P1Error->Size = System::Drawing::Size(60, 13);
  875. this->label_P1Error->TabIndex = 3;
  876. this->label_P1Error->Text = L"Error Code:";
  877. //
  878. // tabPage_P2
  879. //
  880. this->tabPage_P2->Controls->Add(this->label_P34FuelValue);
  881. this->tabPage_P2->Controls->Add(this->labelP34_Fuel);
  882. this->tabPage_P2->Controls->Add(this->label_P2RangeVal);
  883. this->tabPage_P2->Controls->Add(this->label_P2Range);
  884. this->tabPage_P2->Controls->Add(this->label_P2SpeedVal);
  885. this->tabPage_P2->Controls->Add(this->label_P2Speed);
  886. this->tabPage_P2->Controls->Add(this->label_P2OdometerVal);
  887. this->tabPage_P2->Controls->Add(this->label_P2Odometer);
  888. this->tabPage_P2->Location = System::Drawing::Point(4, 22);
  889. this->tabPage_P2->Name = L"tabPage_P2";
  890. this->tabPage_P2->Padding = System::Windows::Forms::Padding(3);
  891. this->tabPage_P2->Size = System::Drawing::Size(389, 111);
  892. this->tabPage_P2->TabIndex = 1;
  893. this->tabPage_P2->Text = L"Page 2/34";
  894. this->tabPage_P2->UseVisualStyleBackColor = true;
  895. //
  896. // label_P34FuelValue
  897. //
  898. this->label_P34FuelValue->AutoSize = true;
  899. this->label_P34FuelValue->Location = System::Drawing::Point(207, 86);
  900. this->label_P34FuelValue->Name = L"label_P34FuelValue";
  901. this->label_P34FuelValue->Size = System::Drawing::Size(16, 13);
  902. this->label_P34FuelValue->TabIndex = 40;
  903. this->label_P34FuelValue->Text = L"---";
  904. //
  905. // labelP34_Fuel
  906. //
  907. this->labelP34_Fuel->AutoSize = true;
  908. this->labelP34_Fuel->Location = System::Drawing::Point(52, 86);
  909. this->labelP34_Fuel->Name = L"labelP34_Fuel";
  910. this->labelP34_Fuel->Size = System::Drawing::Size(136, 13);
  911. this->labelP34_Fuel->TabIndex = 39;
  912. this->labelP34_Fuel->Text = L"Fuel Consumption(Wh/km):";
  913. //
  914. // label_P2RangeVal
  915. //
  916. this->label_P2RangeVal->AutoSize = true;
  917. this->label_P2RangeVal->Location = System::Drawing::Point(207, 14);
  918. this->label_P2RangeVal->Name = L"label_P2RangeVal";
  919. this->label_P2RangeVal->Size = System::Drawing::Size(16, 13);
  920. this->label_P2RangeVal->TabIndex = 38;
  921. this->label_P2RangeVal->Text = L"---";
  922. //
  923. // label_P2Range
  924. //
  925. this->label_P2Range->AutoSize = true;
  926. this->label_P2Range->Location = System::Drawing::Point(70, 14);
  927. this->label_P2Range->Name = L"label_P2Range";
  928. this->label_P2Range->Size = System::Drawing::Size(118, 13);
  929. this->label_P2Range->TabIndex = 37;
  930. this->label_P2Range->Text = L"Remaining Range (km):";
  931. //
  932. // label_P2SpeedVal
  933. //
  934. this->label_P2SpeedVal->AutoSize = true;
  935. this->label_P2SpeedVal->Location = System::Drawing::Point(207, 62);
  936. this->label_P2SpeedVal->Name = L"label_P2SpeedVal";
  937. this->label_P2SpeedVal->Size = System::Drawing::Size(16, 13);
  938. this->label_P2SpeedVal->TabIndex = 16;
  939. this->label_P2SpeedVal->Text = L"---";
  940. //
  941. // label_P2Speed
  942. //
  943. this->label_P2Speed->AutoSize = true;
  944. this->label_P2Speed->Location = System::Drawing::Point(93, 62);
  945. this->label_P2Speed->Name = L"label_P2Speed";
  946. this->label_P2Speed->Size = System::Drawing::Size(95, 13);
  947. this->label_P2Speed->TabIndex = 15;
  948. this->label_P2Speed->Text = L"LEV Speed(km/h):";
  949. //
  950. // label_P2OdometerVal
  951. //
  952. this->label_P2OdometerVal->AutoSize = true;
  953. this->label_P2OdometerVal->Location = System::Drawing::Point(207, 37);
  954. this->label_P2OdometerVal->Name = L"label_P2OdometerVal";
  955. this->label_P2OdometerVal->Size = System::Drawing::Size(16, 13);
  956. this->label_P2OdometerVal->TabIndex = 14;
  957. this->label_P2OdometerVal->Text = L"---";
  958. //
  959. // label_P2Odometer
  960. //
  961. this->label_P2Odometer->AutoSize = true;
  962. this->label_P2Odometer->Location = System::Drawing::Point(112, 37);
  963. this->label_P2Odometer->Name = L"label_P2Odometer";
  964. this->label_P2Odometer->Size = System::Drawing::Size(76, 13);
  965. this->label_P2Odometer->TabIndex = 13;
  966. this->label_P2Odometer->Text = L"Odometer(km):";
  967. //
  968. // tabPage_P3
  969. //
  970. this->tabPage_P3->Controls->Add(this->label_P3PercentAssistVal);
  971. this->tabPage_P3->Controls->Add(this->label_P3BattEmpty);
  972. this->tabPage_P3->Controls->Add(this->label_P3BattEmptyVal);
  973. this->tabPage_P3->Controls->Add(this->label_P3ChargeVal);
  974. this->tabPage_P3->Controls->Add(this->label_P3ThrottleVal);
  975. this->tabPage_P3->Controls->Add(this->label_P3Throttle);
  976. this->tabPage_P3->Controls->Add(this->label_P3PercentAssist);
  977. this->tabPage_P3->Controls->Add(this->label_P3BattSOC);
  978. this->tabPage_P3->Controls->Add(this->label_P3RearGearVal);
  979. this->tabPage_P3->Controls->Add(this->label_P3FrontGearVal);
  980. this->tabPage_P3->Controls->Add(this->label_P3ManAutoVal);
  981. this->tabPage_P3->Controls->Add(this->label_P3GearsExistVal);
  982. this->tabPage_P3->Controls->Add(this->label_P3RearGear);
  983. this->tabPage_P3->Controls->Add(this->label_P3FrontGear);
  984. this->tabPage_P3->Controls->Add(this->label_P3ManAuto);
  985. this->tabPage_P3->Controls->Add(this->label_P3GearsExist);
  986. this->tabPage_P3->Controls->Add(this->label_P3RegenVal);
  987. this->tabPage_P3->Controls->Add(this->label_P3RightVal);
  988. this->tabPage_P3->Controls->Add(this->label_P3AssistLvlVal);
  989. this->tabPage_P3->Controls->Add(this->label_P3LeftVal);
  990. this->tabPage_P3->Controls->Add(this->label_P3Regen);
  991. this->tabPage_P3->Controls->Add(this->label_P3BeamVal);
  992. this->tabPage_P3->Controls->Add(this->label_P3AssistLvl);
  993. this->tabPage_P3->Controls->Add(this->label_P3LightVal);
  994. this->tabPage_P3->Controls->Add(this->label_P3SpeedVal);
  995. this->tabPage_P3->Controls->Add(this->label_P3Right);
  996. this->tabPage_P3->Controls->Add(this->label_P3Left);
  997. this->tabPage_P3->Controls->Add(this->label_P3Beam);
  998. this->tabPage_P3->Controls->Add(this->label_P3Light);
  999. this->tabPage_P3->Controls->Add(this->label_P3Speed);
  1000. this->tabPage_P3->Location = System::Drawing::Point(4, 22);
  1001. this->tabPage_P3->Name = L"tabPage_P3";
  1002. this->tabPage_P3->Padding = System::Windows::Forms::Padding(3);
  1003. this->tabPage_P3->Size = System::Drawing::Size(389, 111);
  1004. this->tabPage_P3->TabIndex = 2;
  1005. this->tabPage_P3->Text = L"Page 3";
  1006. this->tabPage_P3->UseVisualStyleBackColor = true;
  1007. //
  1008. // label_P3PercentAssistVal
  1009. //
  1010. this->label_P3PercentAssistVal->AutoSize = true;
  1011. this->label_P3PercentAssistVal->Location = System::Drawing::Point(224, 57);
  1012. this->label_P3PercentAssistVal->Name = L"label_P3PercentAssistVal";
  1013. this->label_P3PercentAssistVal->Size = System::Drawing::Size(16, 13);
  1014. this->label_P3PercentAssistVal->TabIndex = 102;
  1015. this->label_P3PercentAssistVal->Text = L"---";
  1016. //
  1017. // label_P3BattEmpty
  1018. //
  1019. this->label_P3BattEmpty->AutoSize = true;
  1020. this->label_P3BattEmpty->Location = System::Drawing::Point(133, 23);
  1021. this->label_P3BattEmpty->Name = L"label_P3BattEmpty";
  1022. this->label_P3BattEmpty->Size = System::Drawing::Size(118, 13);
  1023. this->label_P3BattEmpty->TabIndex = 100;
  1024. this->label_P3BattEmpty->Text = L"Battery Empty Warning:";
  1025. //
  1026. // label_P3BattEmptyVal
  1027. //
  1028. this->label_P3BattEmptyVal->AutoSize = true;
  1029. this->label_P3BattEmptyVal->Location = System::Drawing::Point(257, 23);
  1030. this->label_P3BattEmptyVal->Name = L"label_P3BattEmptyVal";
  1031. this->label_P3BattEmptyVal->Size = System::Drawing::Size(16, 13);
  1032. this->label_P3BattEmptyVal->TabIndex = 99;
  1033. this->label_P3BattEmptyVal->Text = L"---";
  1034. //
  1035. // label_P3ChargeVal
  1036. //
  1037. this->label_P3ChargeVal->AutoSize = true;
  1038. this->label_P3ChargeVal->Location = System::Drawing::Point(207, 6);
  1039. this->label_P3ChargeVal->Name = L"label_P3ChargeVal";
  1040. this->label_P3ChargeVal->Size = System::Drawing::Size(16, 13);
  1041. this->label_P3ChargeVal->TabIndex = 98;
  1042. this->label_P3ChargeVal->Text = L"---";
  1043. //
  1044. // label_P3ThrottleVal
  1045. //
  1046. this->label_P3ThrottleVal->AutoSize = true;
  1047. this->label_P3ThrottleVal->Location = System::Drawing::Point(72, 23);
  1048. this->label_P3ThrottleVal->Name = L"label_P3ThrottleVal";
  1049. this->label_P3ThrottleVal->Size = System::Drawing::Size(16, 13);
  1050. this->label_P3ThrottleVal->TabIndex = 96;
  1051. this->label_P3ThrottleVal->Text = L"---";
  1052. //
  1053. // label_P3Throttle
  1054. //
  1055. this->label_P3Throttle->AutoSize = true;
  1056. this->label_P3Throttle->Location = System::Drawing::Point(2, 23);
  1057. this->label_P3Throttle->Name = L"label_P3Throttle";
  1058. this->label_P3Throttle->Size = System::Drawing::Size(46, 13);
  1059. this->label_P3Throttle->TabIndex = 95;
  1060. this->label_P3Throttle->Text = L"Throttle:";
  1061. //
  1062. // label_P3PercentAssist
  1063. //
  1064. this->label_P3PercentAssist->AutoSize = true;
  1065. this->label_P3PercentAssist->Location = System::Drawing::Point(133, 57);
  1066. this->label_P3PercentAssist->Name = L"label_P3PercentAssist";
  1067. this->label_P3PercentAssist->Size = System::Drawing::Size(85, 13);
  1068. this->label_P3PercentAssist->TabIndex = 93;
  1069. this->label_P3PercentAssist->Text = L"Current % Assist:";
  1070. //
  1071. // label_P3BattSOC
  1072. //
  1073. this->label_P3BattSOC->AutoSize = true;
  1074. this->label_P3BattSOC->Location = System::Drawing::Point(133, 6);
  1075. this->label_P3BattSOC->Name = L"label_P3BattSOC";
  1076. this->label_P3BattSOC->Size = System::Drawing::Size(68, 13);
  1077. this->label_P3BattSOC->TabIndex = 91;
  1078. this->label_P3BattSOC->Text = L"Battery SOC:";
  1079. //
  1080. // label_P3RearGearVal
  1081. //
  1082. this->label_P3RearGearVal->AutoSize = true;
  1083. this->label_P3RearGearVal->Location = System::Drawing::Point(352, 57);
  1084. this->label_P3RearGearVal->Name = L"label_P3RearGearVal";
  1085. this->label_P3RearGearVal->Size = System::Drawing::Size(16, 13);
  1086. this->label_P3RearGearVal->TabIndex = 90;
  1087. this->label_P3RearGearVal->Text = L"---";
  1088. //
  1089. // label_P3FrontGearVal
  1090. //
  1091. this->label_P3FrontGearVal->AutoSize = true;
  1092. this->label_P3FrontGearVal->Location = System::Drawing::Point(352, 40);
  1093. this->label_P3FrontGearVal->Name = L"label_P3FrontGearVal";
  1094. this->label_P3FrontGearVal->Size = System::Drawing::Size(16, 13);
  1095. this->label_P3FrontGearVal->TabIndex = 89;
  1096. this->label_P3FrontGearVal->Text = L"---";
  1097. //
  1098. // label_P3ManAutoVal
  1099. //
  1100. this->label_P3ManAutoVal->AutoSize = true;
  1101. this->label_P3ManAutoVal->Location = System::Drawing::Point(364, 23);
  1102. this->label_P3ManAutoVal->Name = L"label_P3ManAutoVal";
  1103. this->label_P3ManAutoVal->Size = System::Drawing::Size(16, 13);
  1104. this->label_P3ManAutoVal->TabIndex = 88;
  1105. this->label_P3ManAutoVal->Text = L"---";
  1106. //
  1107. // label_P3GearsExistVal
  1108. //
  1109. this->label_P3GearsExistVal->AutoSize = true;
  1110. this->label_P3GearsExistVal->Location = System::Drawing::Point(364, 6);
  1111. this->label_P3GearsExistVal->Name = L"label_P3GearsExistVal";
  1112. this->label_P3GearsExistVal->Size = System::Drawing::Size(16, 13);
  1113. this->label_P3GearsExistVal->TabIndex = 87;
  1114. this->label_P3GearsExistVal->Text = L"---";
  1115. //
  1116. // label_P3RearGear
  1117. //
  1118. this->label_P3RearGear->AutoSize = true;
  1119. this->label_P3RearGear->Location = System::Drawing::Point(286, 57);
  1120. this->label_P3RearGear->Name = L"label_P3RearGear";
  1121. this->label_P3RearGear->Size = System::Drawing::Size(59, 13);
  1122. this->label_P3RearGear->TabIndex = 86;
  1123. this->label_P3RearGear->Text = L"Rear Gear:";
  1124. //
  1125. // label_P3FrontGear
  1126. //
  1127. this->label_P3FrontGear->AutoSize = true;
  1128. this->label_P3FrontGear->Location = System::Drawing::Point(286, 40);
  1129. this->label_P3FrontGear->Name = L"label_P3FrontGear";
  1130. this->label_P3FrontGear->Size = System::Drawing::Size(60, 13);
  1131. this->label_P3FrontGear->TabIndex = 85;
  1132. this->label_P3FrontGear->Text = L"Front Gear:";
  1133. //
  1134. // label_P3ManAuto
  1135. //
  1136. this->label_P3ManAuto->AutoSize = true;
  1137. this->label_P3ManAuto->Location = System::Drawing::Point(286, 23);
  1138. this->label_P3ManAuto->Name = L"label_P3ManAuto";
  1139. this->label_P3ManAuto->Size = System::Drawing::Size(72, 13);
  1140. this->label_P3ManAuto->TabIndex = 84;
  1141. this->label_P3ManAuto->Text = L"Manual/Auto:";
  1142. //
  1143. // label_P3GearsExist
  1144. //
  1145. this->label_P3GearsExist->AutoSize = true;
  1146. this->label_P3GearsExist->Location = System::Drawing::Point(286, 6);
  1147. this->label_P3GearsExist->Name = L"label_P3GearsExist";
  1148. this->label_P3GearsExist->Size = System::Drawing::Size(63, 13);
  1149. this->label_P3GearsExist->TabIndex = 83;
  1150. this->label_P3GearsExist->Text = L"Gears Exist:";
  1151. //
  1152. // label_P3RegenVal
  1153. //
  1154. this->label_P3RegenVal->AutoSize = true;
  1155. this->label_P3RegenVal->Location = System::Drawing::Point(224, 91);
  1156. this->label_P3RegenVal->Name = L"label_P3RegenVal";
  1157. this->label_P3RegenVal->Size = System::Drawing::Size(16, 13);
  1158. this->label_P3RegenVal->TabIndex = 74;
  1159. this->label_P3RegenVal->Text = L"---";
  1160. //
  1161. // label_P3RightVal
  1162. //
  1163. this->label_P3RightVal->AutoSize = true;
  1164. this->label_P3RightVal->Location = System::Drawing::Point(72, 91);
  1165. this->label_P3RightVal->Name = L"label_P3RightVal";
  1166. this->label_P3RightVal->Size = System::Drawing::Size(16, 13);
  1167. this->label_P3RightVal->TabIndex = 72;
  1168. this->label_P3RightVal->Text = L"---";
  1169. //
  1170. // label_P3AssistLvlVal
  1171. //
  1172. this->label_P3AssistLvlVal->AutoSize = true;
  1173. this->label_P3AssistLvlVal->Location = System::Drawing::Point(224, 74);
  1174. this->label_P3AssistLvlVal->Name = L"label_P3AssistLvlVal";
  1175. this->label_P3AssistLvlVal->Size = System::Drawing::Size(16, 13);
  1176. this->label_P3AssistLvlVal->TabIndex = 73;
  1177. this->label_P3AssistLvlVal->Text = L"---";
  1178. //
  1179. // label_P3LeftVal
  1180. //
  1181. this->label_P3LeftVal->AutoSize = true;
  1182. this->label_P3LeftVal->Location = System::Drawing::Point(72, 74);
  1183. this->label_P3LeftVal->Name = L"label_P3LeftVal";
  1184. this->label_P3LeftVal->Size = System::Drawing::Size(16, 13);
  1185. this->label_P3LeftVal->TabIndex = 71;
  1186. this->label_P3LeftVal->Text = L"---";
  1187. //
  1188. // label_P3Regen
  1189. //
  1190. this->label_P3Regen->AutoSize = true;
  1191. this->label_P3Regen->Location = System::Drawing::Point(133, 91);
  1192. this->label_P3Regen->Name = L"label_P3Regen";
  1193. this->label_P3Regen->Size = System::Drawing::Size(71, 13);
  1194. this->label_P3Regen->TabIndex = 61;
  1195. this->label_P3Regen->Text = L"Regen Level:";
  1196. //
  1197. // label_P3BeamVal
  1198. //
  1199. this->label_P3BeamVal->AutoSize = true;
  1200. this->label_P3BeamVal->Location = System::Drawing::Point(72, 57);
  1201. this->label_P3BeamVal->Name = L"label_P3BeamVal";
  1202. this->label_P3BeamVal->Size = System::Drawing::Size(16, 13);
  1203. this->label_P3BeamVal->TabIndex = 70;
  1204. this->label_P3BeamVal->Text = L"---";
  1205. //
  1206. // label_P3AssistLvl
  1207. //
  1208. this->label_P3AssistLvl->AutoSize = true;
  1209. this->label_P3AssistLvl->Location = System::Drawing::Point(133, 74);
  1210. this->label_P3AssistLvl->Name = L"label_P3AssistLvl";
  1211. this->label_P3AssistLvl->Size = System::Drawing::Size(66, 13);
  1212. this->label_P3AssistLvl->TabIndex = 59;
  1213. this->label_P3AssistLvl->Text = L"Assist Level:";
  1214. //
  1215. // label_P3LightVal
  1216. //
  1217. this->label_P3LightVal->AutoSize = true;
  1218. this->label_P3LightVal->Location = System::Drawing::Point(72, 40);
  1219. this->label_P3LightVal->Name = L"label_P3LightVal";
  1220. this->label_P3LightVal->Size = System::Drawing::Size(16, 13);
  1221. this->label_P3LightVal->TabIndex = 69;
  1222. this->label_P3LightVal->Text = L"---";
  1223. //
  1224. // label_P3SpeedVal
  1225. //
  1226. this->label_P3SpeedVal->AutoSize = true;
  1227. this->label_P3SpeedVal->Location = System::Drawing::Point(72, 6);
  1228. this->label_P3SpeedVal->Name = L"label_P3SpeedVal";
  1229. this->label_P3SpeedVal->Size = System::Drawing::Size(16, 13);
  1230. this->label_P3SpeedVal->TabIndex = 68;
  1231. this->label_P3SpeedVal->Text = L"---";
  1232. //
  1233. // label_P3Right
  1234. //
  1235. this->label_P3Right->AutoSize = true;
  1236. this->label_P3Right->Location = System::Drawing::Point(2, 91);
  1237. this->label_P3Right->Name = L"label_P3Right";
  1238. this->label_P3Right->Size = System::Drawing::Size(67, 13);
  1239. this->label_P3Right->TabIndex = 66;
  1240. this->label_P3Right->Text = L"Right Signal:";
  1241. //
  1242. // label_P3Left
  1243. //
  1244. this->label_P3Left->AutoSize = true;
  1245. this->label_P3Left->Location = System::Drawing::Point(2, 74);
  1246. this->label_P3Left->Name = L"label_P3Left";
  1247. this->label_P3Left->Size = System::Drawing::Size(60, 13);
  1248. this->label_P3Left->TabIndex = 65;
  1249. this->label_P3Left->Text = L"Left Signal:";
  1250. //
  1251. // label_P3Beam
  1252. //
  1253. this->label_P3Beam->AutoSize = true;
  1254. this->label_P3Beam->Location = System::Drawing::Point(2, 57);
  1255. this->label_P3Beam->Name = L"label_P3Beam";
  1256. this->label_P3Beam->Size = System::Drawing::Size(65, 13);
  1257. this->label_P3Beam->TabIndex = 64;
  1258. this->label_P3Beam->Text = L"Beam State:";
  1259. //
  1260. // label_P3Light
  1261. //
  1262. this->label_P3Light->AutoSize = true;
  1263. this->label_P3Light->Location = System::Drawing::Point(2, 40);
  1264. this->label_P3Light->Name = L"label_P3Light";
  1265. this->label_P3Light->Size = System::Drawing::Size(61, 13);
  1266. this->label_P3Light->TabIndex = 63;
  1267. this->label_P3Light->Text = L"Light State:";
  1268. //
  1269. // label_P3Speed
  1270. //
  1271. this->label_P3Speed->AutoSize = true;
  1272. this->label_P3Speed->Location = System::Drawing::Point(2, 6);
  1273. this->label_P3Speed->Name = L"label_P3Speed";
  1274. this->label_P3Speed->Size = System::Drawing::Size(64, 13);
  1275. this->label_P3Speed->TabIndex = 62;
  1276. this->label_P3Speed->Text = L"LEV Speed:";
  1277. //
  1278. // tabPage_Page45
  1279. //
  1280. this->tabPage_Page45->Controls->Add(this->tabControl_Page45);
  1281. this->tabPage_Page45->Location = System::Drawing::Point(4, 22);
  1282. this->tabPage_Page45->Name = L"tabPage_Page45";
  1283. this->tabPage_Page45->Padding = System::Windows::Forms::Padding(3);
  1284. this->tabPage_Page45->Size = System::Drawing::Size(389, 111);
  1285. this->tabPage_Page45->TabIndex = 6;
  1286. this->tabPage_Page45->Text = L"Page 4/5";
  1287. this->tabPage_Page45->UseVisualStyleBackColor = true;
  1288. //
  1289. // tabControl_Page45
  1290. //
  1291. this->tabControl_Page45->Controls->Add(this->tabPage_Page4);
  1292. this->tabControl_Page45->Controls->Add(this->tabPage_Page5);
  1293. this->tabControl_Page45->Controls->Add(this->tabPage_RqPage);
  1294. this->tabControl_Page45->Location = System::Drawing::Point(3, 5);
  1295. this->tabControl_Page45->Name = L"tabControl_Page45";
  1296. this->tabControl_Page45->SelectedIndex = 0;
  1297. this->tabControl_Page45->Size = System::Drawing::Size(383, 103);
  1298. this->tabControl_Page45->TabIndex = 3;
  1299. //
  1300. // tabPage_Page4
  1301. //
  1302. this->tabPage_Page4->Controls->Add(this->label_P4DistanceChargeVal);
  1303. this->tabPage_Page4->Controls->Add(this->label_P4FuelVal);
  1304. this->tabPage_Page4->Controls->Add(this->label_P4ChargeCycleVal);
  1305. this->tabPage_Page4->Controls->Add(this->label_P4VoltageVal);
  1306. this->tabPage_Page4->Controls->Add(this->label_P4Voltage);
  1307. this->tabPage_Page4->Controls->Add(this->label_P4DistanceOnCharge);
  1308. this->tabPage_Page4->Controls->Add(this->label_P4FuelConsumption);
  1309. this->tabPage_Page4->Controls->Add(this->label_P4ChargeCycle);
  1310. this->tabPage_Page4->Location = System::Drawing::Point(4, 22);
  1311. this->tabPage_Page4->Name = L"tabPage_Page4";
  1312. this->tabPage_Page4->Padding = System::Windows::Forms::Padding(3);
  1313. this->tabPage_Page4->Size = System::Drawing::Size(375, 77);
  1314. this->tabPage_Page4->TabIndex = 5;
  1315. this->tabPage_Page4->Text = L"Page 4";
  1316. this->tabPage_Page4->UseVisualStyleBackColor = true;
  1317. //
  1318. // label_P4DistanceChargeVal
  1319. //
  1320. this->label_P4DistanceChargeVal->AutoSize = true;
  1321. this->label_P4DistanceChargeVal->Location = System::Drawing::Point(141, 55);
  1322. this->label_P4DistanceChargeVal->Name = L"label_P4DistanceChargeVal";
  1323. this->label_P4DistanceChargeVal->Size = System::Drawing::Size(16, 13);
  1324. this->label_P4DistanceChargeVal->TabIndex = 39;
  1325. this->label_P4DistanceChargeVal->Text = L"---";
  1326. //
  1327. // label_P4FuelVal
  1328. //
  1329. this->label_P4FuelVal->AutoSize = true;
  1330. this->label_P4FuelVal->Location = System::Drawing::Point(153, 32);
  1331. this->label_P4FuelVal->Name = L"label_P4FuelVal";
  1332. this->label_P4FuelVal->Size = System::Drawing::Size(16, 13);
  1333. this->label_P4FuelVal->TabIndex = 38;
  1334. this->label_P4FuelVal->Text = L"---";
  1335. //
  1336. // label_P4ChargeCycleVal
  1337. //
  1338. this->label_P4ChargeCycleVal->AutoSize = true;
  1339. this->label_P4ChargeCycleVal->Location = System::Drawing::Point(126, 8);
  1340. this->label_P4ChargeCycleVal->Name = L"label_P4ChargeCycleVal";
  1341. this->label_P4ChargeCycleVal->Size = System::Drawing::Size(16, 13);
  1342. this->label_P4ChargeCycleVal->TabIndex = 37;
  1343. this->label_P4ChargeCycleVal->Text = L"---";
  1344. //
  1345. // label_P4VoltageVal
  1346. //
  1347. this->label_P4VoltageVal->AutoSize = true;
  1348. this->label_P4VoltageVal->Location = System::Drawing::Point(325, 8);
  1349. this->label_P4VoltageVal->Name = L"label_P4VoltageVal";
  1350. this->label_P4VoltageVal->Size = System::Drawing::Size(16, 13);
  1351. this->label_P4VoltageVal->TabIndex = 36;
  1352. this->label_P4VoltageVal->Text = L"---";
  1353. //
  1354. // label_P4Voltage
  1355. //
  1356. this->label_P4Voltage->AutoSize = true;
  1357. this->label_P4Voltage->Location = System::Drawing::Point(201, 8);
  1358. this->label_P4Voltage->Name = L"label_P4Voltage";
  1359. this->label_P4Voltage->Size = System::Drawing::Size(118, 13);
  1360. this->label_P4Voltage->TabIndex = 35;
  1361. this->label_P4Voltage->Text = L"Battery Voltage (1/4 V):";
  1362. //
  1363. // label_P4DistanceOnCharge
  1364. //
  1365. this->label_P4DistanceOnCharge->AutoSize = true;
  1366. this->label_P4DistanceOnCharge->Location = System::Drawing::Point(8, 55);
  1367. this->label_P4DistanceOnCharge->Name = L"label_P4DistanceOnCharge";
  1368. this->label_P4DistanceOnCharge->Size = System::Drawing::Size(127, 13);
  1369. this->label_P4DistanceOnCharge->TabIndex = 11;
  1370. this->label_P4DistanceOnCharge->Text = L"Distance on Charge (km):";
  1371. //
  1372. // label_P4FuelConsumption
  1373. //
  1374. this->label_P4FuelConsumption->AutoSize = true;
  1375. this->label_P4FuelConsumption->Location = System::Drawing::Point(8, 32);
  1376. this->label_P4FuelConsumption->Name = L"label_P4FuelConsumption";
  1377. this->label_P4FuelConsumption->Size = System::Drawing::Size(139, 13);
  1378. this->label_P4FuelConsumption->TabIndex = 8;
  1379. this->label_P4FuelConsumption->Text = L"Fuel Consumption (Wh/km):";
  1380. //
  1381. // label_P4ChargeCycle
  1382. //
  1383. this->label_P4ChargeCycle->AutoSize = true;
  1384. this->label_P4ChargeCycle->Location = System::Drawing::Point(8, 8);
  1385. this->label_P4ChargeCycle->Name = L"label_P4ChargeCycle";
  1386. this->label_P4ChargeCycle->Size = System::Drawing::Size(112, 13);
  1387. this->label_P4ChargeCycle->TabIndex = 0;
  1388. this->label_P4ChargeCycle->Text = L"Charging Cycle Count:";
  1389. //
  1390. // tabPage_Page5
  1391. //
  1392. this->tabPage_Page5->Controls->Add(this->label_P5CircumVal);
  1393. this->tabPage_Page5->Controls->Add(this->label_P5NumRegenVal);
  1394. this->tabPage_Page5->Controls->Add(this->label_P5NumAssistVal);
  1395. this->tabPage_Page5->Controls->Add(this->label_P5NumRegen);
  1396. this->tabPage_Page5->Controls->Add(this->label_P5NumAssist);
  1397. this->tabPage_Page5->Controls->Add(this->label_P5Circum);
  1398. this->tabPage_Page5->Location = System::Drawing::Point(4, 22);
  1399. this->tabPage_Page5->Name = L"tabPage_Page5";
  1400. this->tabPage_Page5->Padding = System::Windows::Forms::Padding(3);
  1401. this->tabPage_Page5->Size = System::Drawing::Size(375, 77);
  1402. this->tabPage_Page5->TabIndex = 6;
  1403. this->tabPage_Page5->Text = L"Page 5";
  1404. this->tabPage_Page5->UseVisualStyleBackColor = true;
  1405. //
  1406. // label_P5CircumVal
  1407. //
  1408. this->label_P5CircumVal->AutoSize = true;
  1409. this->label_P5CircumVal->Location = System::Drawing::Point(314, 14);
  1410. this->label_P5CircumVal->Name = L"label_P5CircumVal";
  1411. this->label_P5CircumVal->Size = System::Drawing::Size(16, 13);
  1412. this->label_P5CircumVal->TabIndex = 53;
  1413. this->label_P5CircumVal->Text = L"---";
  1414. //
  1415. // label_P5NumRegenVal
  1416. //
  1417. this->label_P5NumRegenVal->AutoSize = true;
  1418. this->label_P5NumRegenVal->Location = System::Drawing::Point(99, 42);
  1419. this->label_P5NumRegenVal->Name = L"label_P5NumRegenVal";
  1420. this->label_P5NumRegenVal->Size = System::Drawing::Size(16, 13);
  1421. this->label_P5NumRegenVal->TabIndex = 52;
  1422. this->label_P5NumRegenVal->Text = L"---";
  1423. //
  1424. // label_P5NumAssistVal
  1425. //
  1426. this->label_P5NumAssistVal->AutoSize = true;
  1427. this->label_P5NumAssistVal->Location = System::Drawing::Point(99, 14);
  1428. this->label_P5NumAssistVal->Name = L"label_P5NumAssistVal";
  1429. this->label_P5NumAssistVal->Size = System::Drawing::Size(16, 13);
  1430. this->label_P5NumAssistVal->TabIndex = 51;
  1431. this->label_P5NumAssistVal->Text = L"---";
  1432. //
  1433. // label_P5NumRegen
  1434. //
  1435. this->label_P5NumRegen->AutoSize = true;
  1436. this->label_P5NumRegen->Location = System::Drawing::Point(6, 42);
  1437. this->label_P5NumRegen->Name = L"label_P5NumRegen";
  1438. this->label_P5NumRegen->Size = System::Drawing::Size(87, 13);
  1439. this->label_P5NumRegen->TabIndex = 50;
  1440. this->label_P5NumRegen->Text = L"# Regen Modes:";
  1441. //
  1442. // label_P5NumAssist
  1443. //
  1444. this->label_P5NumAssist->AutoSize = true;
  1445. this->label_P5NumAssist->Location = System::Drawing::Point(6, 14);
  1446. this->label_P5NumAssist->Name = L"label_P5NumAssist";
  1447. this->label_P5NumAssist->Size = System::Drawing::Size(82, 13);
  1448. this->label_P5NumAssist->TabIndex = 49;
  1449. this->label_P5NumAssist->Text = L"# Assist Modes:";
  1450. //
  1451. // label_P5Circum
  1452. //
  1453. this->label_P5Circum->AutoSize = true;
  1454. this->label_P5Circum->Location = System::Drawing::Point(171, 14);
  1455. this->label_P5Circum->Name = L"label_P5Circum";
  1456. this->label_P5Circum->Size = System::Drawing::Size(137, 13);
  1457. this->label_P5Circum->TabIndex = 16;
  1458. this->label_P5Circum->Text = L"Wheel Circumference (mm):";
  1459. //
  1460. // tabPage_RqPage
  1461. //
  1462. this->tabPage_RqPage->Controls->Add(this->button_SendRequest);
  1463. this->tabPage_RqPage->Controls->Add(this->label_PageToRequest);
  1464. this->tabPage_RqPage->Controls->Add(this->groupBox_Request);
  1465. this->tabPage_RqPage->Controls->Add(this->comboBox_PageToRequest);
  1466. this->tabPage_RqPage->Location = System::Drawing::Point(4, 22);
  1467. this->tabPage_RqPage->Name = L"tabPage_RqPage";
  1468. this->tabPage_RqPage->Padding = System::Windows::Forms::Padding(3);
  1469. this->tabPage_RqPage->Size = System::Drawing::Size(375, 77);
  1470. this->tabPage_RqPage->TabIndex = 7;
  1471. this->tabPage_RqPage->Text = L"Request";
  1472. this->tabPage_RqPage->UseVisualStyleBackColor = true;
  1473. //
  1474. // button_SendRequest
  1475. //
  1476. this->button_SendRequest->Location = System::Drawing::Point(18, 31);
  1477. this->button_SendRequest->Name = L"button_SendRequest";
  1478. this->button_SendRequest->Size = System::Drawing::Size(86, 23);
  1479. this->button_SendRequest->TabIndex = 28;
  1480. this->button_SendRequest->Text = L"Send Request";
  1481. this->button_SendRequest->UseVisualStyleBackColor = true;
  1482. this->button_SendRequest->Click += gcnew System::EventHandler(this, &LEVDisplay::button_SendRequest_Click);
  1483. //
  1484. // label_PageToRequest
  1485. //
  1486. this->label_PageToRequest->AutoSize = true;
  1487. this->label_PageToRequest->Location = System::Drawing::Point(125, 14);
  1488. this->label_PageToRequest->Name = L"label_PageToRequest";
  1489. this->label_PageToRequest->Size = System::Drawing::Size(90, 13);
  1490. this->label_PageToRequest->TabIndex = 27;
  1491. this->label_PageToRequest->Text = L"Page to Request:";
  1492. //
  1493. // groupBox_Request
  1494. //
  1495. this->groupBox_Request->Controls->Add(this->label_RqTxTimes);
  1496. this->groupBox_Request->Controls->Add(this->numericUpDown_RqTxTimes);
  1497. this->groupBox_Request->Location = System::Drawing::Point(233, 7);
  1498. this->groupBox_Request->Name = L"groupBox_Request";
  1499. this->groupBox_Request->Size = System::Drawing::Size(136, 64);
  1500. this->groupBox_Request->TabIndex = 26;
  1501. this->groupBox_Request->TabStop = false;
  1502. this->groupBox_Request->Text = L"Sensor Reply";
  1503. //
  1504. // label_RqTxTimes
  1505. //
  1506. this->label_RqTxTimes->AutoSize = true;
  1507. this->label_RqTxTimes->Location = System::Drawing::Point(18, 29);
  1508. this->label_RqTxTimes->Name = L"label_RqTxTimes";
  1509. this->label_RqTxTimes->Size = System::Drawing::Size(53, 13);
  1510. this->label_RqTxTimes->TabIndex = 18;
  1511. this->label_RqTxTimes->Text = L"Tx Times:";
  1512. //
  1513. // numericUpDown_RqTxTimes
  1514. //
  1515. this->numericUpDown_RqTxTimes->Location = System::Drawing::Point(77, 27);
  1516. this->numericUpDown_RqTxTimes->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {4, 0, 0, 0});
  1517. this->numericUpDown_RqTxTimes->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
  1518. this->numericUpDown_RqTxTimes->Name = L"numericUpDown_RqTxTimes";
  1519. this->numericUpDown_RqTxTimes->Size = System::Drawing::Size(47, 20);
  1520. this->numericUpDown_RqTxTimes->TabIndex = 17;
  1521. this->numericUpDown_RqTxTimes->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {4, 0, 0, 0});
  1522. this->numericUpDown_RqTxTimes->ValueChanged += gcnew System::EventHandler(this, &LEVDisplay::numericUpDown_RqTxTimes_ValueChanged);
  1523. //
  1524. // comboBox_PageToRequest
  1525. //
  1526. this->comboBox_PageToRequest->FormattingEnabled = true;
  1527. this->comboBox_PageToRequest->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"Data Page 1", L"Data Page 2", L"Data Page 3",
  1528. L"Data Page 4", L"Data Page 5"});
  1529. this->comboBox_PageToRequest->Location = System::Drawing::Point(125, 33);
  1530. this->comboBox_PageToRequest->Name = L"comboBox_PageToRequest";
  1531. this->comboBox_PageToRequest->Size = System::Drawing::Size(91, 21);
  1532. this->comboBox_PageToRequest->TabIndex = 25;
  1533. this->comboBox_PageToRequest->Text = L"Data Page 1";
  1534. this->comboBox_PageToRequest->SelectedIndexChanged += gcnew System::EventHandler(this, &LEVDisplay::comboBox_PageToRequest_SelectedIndexChanged);
  1535. //
  1536. // tabPage_P16
  1537. //
  1538. this->tabPage_P16->Controls->Add(this->tabControl_P16);
  1539. this->tabPage_P16->Location = System::Drawing::Point(4, 22);
  1540. this->tabPage_P16->Name = L"tabPage_P16";
  1541. this->tabPage_P16->Padding = System::Windows::Forms::Padding(3);
  1542. this->tabPage_P16->Size = System::Drawing::Size(389, 111);
  1543. this->tabPage_P16->TabIndex = 7;
  1544. this->tabPage_P16->Text = L"Page 16";
  1545. this->tabPage_P16->UseVisualStyleBackColor = true;
  1546. //
  1547. // tabControl_P16
  1548. //
  1549. this->tabControl_P16->Controls->Add(this->tabPage_P16TravelMode);
  1550. this->tabControl_P16->Controls->Add(this->tabPage_P16Display);
  1551. this->tabControl_P16->Controls->Add(this->tabPage_P16Command);
  1552. this->tabControl_P16->Controls->Add(this->tabPage_P16ManID);
  1553. this->tabControl_P16->Controls->Add(this->tabPage_P16Wheel);
  1554. this->tabControl_P16->Location = System::Drawing::Point(3, 5);
  1555. this->tabControl_P16->Name = L"tabControl_P16";
  1556. this->tabControl_P16->SelectedIndex = 0;
  1557. this->tabControl_P16->Size = System::Drawing::Size(383, 103);
  1558. this->tabControl_P16->TabIndex = 2;
  1559. //
  1560. // tabPage_P16TravelMode
  1561. //
  1562. this->tabPage_P16TravelMode->Controls->Add(this->button_P16Send);
  1563. this->tabPage_P16TravelMode->Location = System::Drawing::Point(4, 22);
  1564. this->tabPage_P16TravelMode->Name = L"tabPage_P16TravelMode";
  1565. this->tabPage_P16TravelMode->Padding = System::Windows::Forms::Padding(3);
  1566. this->tabPage_P16TravelMode->Size = System::Drawing::Size(375, 77);
  1567. this->tabPage_P16TravelMode->TabIndex = 0;
  1568. this->tabPage_P16TravelMode->Text = L"Send";
  1569. this->tabPage_P16TravelMode->UseVisualStyleBackColor = true;
  1570. //
  1571. // button_P16Send
  1572. //
  1573. this->button_P16Send->Location = System::Drawing::Point(97, 27);
  1574. this->button_P16Send->Name = L"button_P16Send";
  1575. this->button_P16Send->Size = System::Drawing::Size(180, 23);
  1576. this->button_P16Send->TabIndex = 23;
  1577. this->button_P16Send->Text = L"Send Page 16 to the Sensor";
  1578. this->button_P16Send->UseVisualStyleBackColor = true;
  1579. this->button_P16Send->Click += gcnew System::EventHandler(this, &LEVDisplay::button_P16Send_Click);
  1580. //
  1581. // tabPage_P16Display
  1582. //
  1583. this->tabPage_P16Display->Controls->Add(this->checkBox_P16TravelModeNotSupported);
  1584. this->tabPage_P16Display->Controls->Add(this->label_P16CurrentRegen);
  1585. this->tabPage_P16Display->Controls->Add(this->label_P16CurrentAssist);
  1586. this->tabPage_P16Display->Controls->Add(this->comboBox_P16Assist);
  1587. this->tabPage_P16Display->Controls->Add(this->comboBox_P16Regen);
  1588. this->tabPage_P16Display->Location = System::Drawing::Point(4, 22);
  1589. this->tabPage_P16Display->Name = L"tabPage_P16Display";
  1590. this->tabPage_P16Display->Padding = System::Windows::Forms::Padding(3);
  1591. this->tabPage_P16Display->Size = System::Drawing::Size(375, 77);
  1592. this->tabPage_P16Display->TabIndex = 1;
  1593. this->tabPage_P16Display->Text = L"Travel Mode";
  1594. this->tabPage_P16Display->UseVisualStyleBackColor = true;
  1595. //
  1596. // checkBox_P16TravelModeNotSupported
  1597. //
  1598. this->checkBox_P16TravelModeNotSupported->AutoSize = true;
  1599. this->checkBox_P16TravelModeNotSupported->Location = System::Drawing::Point(6, 10);
  1600. this->checkBox_P16TravelModeNotSupported->Name = L"checkBox_P16TravelModeNotSupported";
  1601. this->checkBox_P16TravelModeNotSupported->Size = System::Drawing::Size(95, 17);
  1602. this->checkBox_P16TravelModeNotSupported->TabIndex = 27;
  1603. this->checkBox_P16TravelModeNotSupported->Text = L"Not Supported";
  1604. this->checkBox_P16TravelModeNotSupported->UseVisualStyleBackColor = true;
  1605. this->checkBox_P16TravelModeNotSupported->CheckedChanged += gcnew System::EventHandler(this, &LEVDisplay::checkBox_P16TravelModeNotSupported_CheckedChanged);
  1606. //
  1607. // label_P16CurrentRegen
  1608. //
  1609. this->label_P16CurrentRegen->AutoSize = true;
  1610. this->label_P16CurrentRegen->Location = System::Drawing::Point(195, 30);
  1611. this->label_P16CurrentRegen->Name = L"label_P16CurrentRegen";
  1612. this->label_P16CurrentRegen->Size = System::Drawing::Size(140, 13);
  1613. this->label_P16CurrentRegen->TabIndex = 26;
  1614. this->label_P16CurrentRegen->Text = L"Current Regenerative Level:";
  1615. //
  1616. // label_P16CurrentAssist
  1617. //
  1618. this->label_P16CurrentAssist->AutoSize = true;
  1619. this->label_P16CurrentAssist->Location = System::Drawing::Point(63, 30);
  1620. this->label_P16CurrentAssist->Name = L"label_P16CurrentAssist";
  1621. this->label_P16CurrentAssist->Size = System::Drawing::Size(103, 13);
  1622. this->label_P16CurrentAssist->TabIndex = 25;
  1623. this->label_P16CurrentAssist->Text = L"Current Assist Level:";
  1624. //
  1625. // comboBox_P16Assist
  1626. //
  1627. this->comboBox_P16Assist->FormattingEnabled = true;
  1628. this->comboBox_P16Assist->Items->AddRange(gcnew cli::array< System::Object^ >(8) {L"Assist Off", L"Assist 1", L"Assist 2",
  1629. L"Assist 3", L"Assist 4", L"Assist 5", L"Assist 6", L"Assist 7"});
  1630. this->comboBox_P16Assist->Location = System::Drawing::Point(66, 46);
  1631. this->comboBox_P16Assist->Name = L"comboBox_P16Assist";
  1632. this->comboBox_P16Assist->Size = System::Drawing::Size(110, 21);
  1633. this->comboBox_P16Assist->TabIndex = 24;
  1634. this->comboBox_P16Assist->Text = L"Assist Off";
  1635. this->comboBox_P16Assist->SelectedIndexChanged += gcnew System::EventHandler(this, &LEVDisplay::comboBox_P16Assist_SelectedIndexChanged);
  1636. //
  1637. // comboBox_P16Regen
  1638. //
  1639. this->comboBox_P16Regen->FormattingEnabled = true;
  1640. this->comboBox_P16Regen->Items->AddRange(gcnew cli::array< System::Object^ >(8) {L"Regenerative Off", L"Regenerative 1",
  1641. L"Regenerative 2", L"Regenerative 3", L"Regenerative 4", L"Regenerative 5", L"Regenerative 6", L"Regenerative 7"});
  1642. this->comboBox_P16Regen->Location = System::Drawing::Point(198, 46);
  1643. this->comboBox_P16Regen->Name = L"comboBox_P16Regen";
  1644. this->comboBox_P16Regen->Size = System::Drawing::Size(110, 21);
  1645. this->comboBox_P16Regen->TabIndex = 23;
  1646. this->comboBox_P16Regen->Text = L"Regenerative Off";
  1647. this->comboBox_P16Regen->SelectedIndexChanged += gcnew System::EventHandler(this, &LEVDisplay::comboBox_P16Regen_SelectedIndexChanged);
  1648. //
  1649. // tabPage_P16Command
  1650. //
  1651. this->tabPage_P16Command->Controls->Add(this->groupBox_P16CurrentGear);
  1652. this->tabPage_P16Command->Controls->Add(this->checkBox_P16RightSignalOn);
  1653. this->tabPage_P16Command->Controls->Add(this->checkBox_P16LeftSignalOn);
  1654. this->tabPage_P16Command->Controls->Add(this->checkBox_P16HighBeamOn);
  1655. this->tabPage_P16Command->Controls->Add(this->checkBox_P16LightOn);
  1656. this->tabPage_P16Command->Location = System::Drawing::Point(4, 22);
  1657. this->tabPage_P16Command->Name = L"tabPage_P16Command";
  1658. this->tabPage_P16Command->Padding = System::Windows::Forms::Padding(3);
  1659. this->tabPage_P16Command->Size = System::Drawing::Size(375, 77);
  1660. this->tabPage_P16Command->TabIndex = 2;
  1661. this->tabPage_P16Command->Text = L"Display Command";
  1662. this->tabPage_P16Command->UseVisualStyleBackColor = true;
  1663. //
  1664. // groupBox_P16CurrentGear
  1665. //
  1666. this->groupBox_P16CurrentGear->Controls->Add(this->label_P16Front);
  1667. this->groupBox_P16CurrentGear->Controls->Add(this->comboBox_P16FrontGear);
  1668. this->groupBox_P16CurrentGear->Controls->Add(this->label_P16Rear);
  1669. this->groupBox_P16CurrentGear->Controls->Add(this->comboBox_P16RearGear);
  1670. this->groupBox_P16CurrentGear->Location = System::Drawing::Point(4, 5);
  1671. this->groupBox_P16CurrentGear->Name = L"groupBox_P16CurrentGear";
  1672. this->groupBox_P16CurrentGear->Size = System::Drawing::Size(133, 67);
  1673. this->groupBox_P16CurrentGear->TabIndex = 32;
  1674. this->groupBox_P16CurrentGear->TabStop = false;
  1675. this->groupBox_P16CurrentGear->Text = L"Current Gear";
  1676. //
  1677. // label_P16Front
  1678. //
  1679. this->label_P16Front->AutoSize = true;
  1680. this->label_P16Front->Location = System::Drawing::Point(7, 18);
  1681. this->label_P16Front->Name = L"label_P16Front";
  1682. this->label_P16Front->Size = System::Drawing::Size(60, 13);
  1683. this->label_P16Front->TabIndex = 21;
  1684. this->label_P16Front->Text = L"Front Gear:";
  1685. //
  1686. // comboBox_P16FrontGear
  1687. //
  1688. this->comboBox_P16FrontGear->FormattingEnabled = true;
  1689. this->comboBox_P16FrontGear->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"none", L"1", L"2", L"3"});
  1690. this->comboBox_P16FrontGear->Location = System::Drawing::Point(73, 15);
  1691. this->comboBox_P16FrontGear->Name = L"comboBox_P16FrontGear";
  1692. this->comboBox_P16FrontGear->Size = System::Drawing::Size(47, 21);
  1693. this->comboBox_P16FrontGear->TabIndex = 19;
  1694. this->comboBox_P16FrontGear->Text = L"none";
  1695. this->comboBox_P16FrontGear->SelectedIndexChanged += gcnew System::EventHandler(this, &LEVDisplay::comboBox_P16FrontGear_SelectedIndexChanged);
  1696. //
  1697. // label_P16Rear
  1698. //
  1699. this->label_P16Rear->AutoSize = true;
  1700. this->label_P16Rear->Location = System::Drawing::Point(8, 43);
  1701. this->label_P16Rear->Name = L"label_P16Rear";
  1702. this->label_P16Rear->Size = System::Drawing::Size(59, 13);
  1703. this->label_P16Rear->TabIndex = 22;
  1704. this->label_P16Rear->Text = L"Rear Gear:";
  1705. //
  1706. // comboBox_P16RearGear
  1707. //
  1708. this->comboBox_P16RearGear->FormattingEnabled = true;
  1709. this->comboBox_P16RearGear->Items->AddRange(gcnew cli::array< System::Object^ >(16) {L"none", L"1", L"2", L"3", L"4", L"5",
  1710. L"6", L"7", L"8", L"9", L"10", L"11", L"12", L"13", L"14", L"15"});
  1711. this->comboBox_P16RearGear->Location = System::Drawing::Point(73, 40);
  1712. this->comboBox_P16RearGear->Name = L"comboBox_P16RearGear";
  1713. this->comboBox_P16RearGear->Size = System::Drawing::Size(47, 21);
  1714. this->comboBox_P16RearGear->TabIndex = 20;
  1715. this->comboBox_P16RearGear->Text = L"none";
  1716. this->comboBox_P16RearGear->SelectedIndexChanged += gcnew System::EventHandler(this, &LEVDisplay::comboBox_P16RearGear_SelectedIndexChanged);
  1717. //
  1718. // checkBox_P16RightSignalOn
  1719. //
  1720. this->checkBox_P16RightSignalOn->AutoSize = true;
  1721. this->checkBox_P16RightSignalOn->Location = System::Drawing::Point(245, 43);
  1722. this->checkBox_P16RightSignalOn->Name = L"checkBox_P16RightSignalOn";
  1723. this->checkBox_P16RightSignalOn->Size = System::Drawing::Size(125, 17);
  1724. this->checkBox_P16RightSignalOn->TabIndex = 31;
  1725. this->checkBox_P16RightSignalOn->Text = L"Right Turn Signal On";
  1726. this->checkBox_P16RightSignalOn->UseVisualStyleBackColor = true;
  1727. this->checkBox_P16RightSignalOn->CheckedChanged += gcnew System::EventHandler(this, &LEVDisplay::checkBox_P16RightSignalOn_CheckedChanged);
  1728. //
  1729. // checkBox_P16LeftSignalOn
  1730. //
  1731. this->checkBox_P16LeftSignalOn->AutoSize = true;
  1732. this->checkBox_P16LeftSignalOn->Location = System::Drawing::Point(245, 20);
  1733. this->checkBox_P16LeftSignalOn->Name = L"checkBox_P16LeftSignalOn";
  1734. this->checkBox_P16LeftSignalOn->Size = System::Drawing::Size(118, 17);
  1735. this->checkBox_P16LeftSignalOn->TabIndex = 30;
  1736. this->checkBox_P16LeftSignalOn->Text = L"Left Turn Signal On";
  1737. this->checkBox_P16LeftSignalOn->UseVisualStyleBackColor = true;
  1738. this->checkBox_P16LeftSignalOn->CheckedChanged += gcnew System::EventHandler(this, &LEVDisplay::checkBox_P16LeftSignalOn_CheckedChanged);
  1739. //
  1740. // checkBox_P16HighBeamOn
  1741. //
  1742. this->checkBox_P16HighBeamOn->AutoSize = true;
  1743. this->checkBox_P16HighBeamOn->Location = System::Drawing::Point(147, 20);
  1744. this->checkBox_P16HighBeamOn->Name = L"checkBox_P16HighBeamOn";
  1745. this->checkBox_P16HighBeamOn->Size = System::Drawing::Size(95, 17);
  1746. this->checkBox_P16HighBeamOn->TabIndex = 29;
  1747. this->checkBox_P16HighBeamOn->Text = L"High Beam On";
  1748. this->checkBox_P16HighBeamOn->UseVisualStyleBackColor = true;
  1749. this->checkBox_P16HighBeamOn->CheckedChanged += gcnew System::EventHandler(this, &LEVDisplay::checkBox_P16HighBeamOn_CheckedChanged);
  1750. //
  1751. // checkBox_P16LightOn
  1752. //
  1753. this->checkBox_P16LightOn->AutoSize = true;
  1754. this->checkBox_P16LightOn->Location = System::Drawing::Point(147, 43);
  1755. this->checkBox_P16LightOn->Name = L"checkBox_P16LightOn";
  1756. this->checkBox_P16LightOn->Size = System::Drawing::Size(66, 17);
  1757. this->checkBox_P16LightOn->TabIndex = 28;
  1758. this->checkBox_P16LightOn->Text = L"Light On";
  1759. this->checkBox_P16LightOn->UseVisualStyleBackColor = true;
  1760. this->checkBox_P16LightOn->CheckedChanged += gcnew System::EventHandler(this, &LEVDisplay::checkBox_P16LightOn_CheckedChanged);
  1761. //
  1762. // tabPage_P16ManID
  1763. //
  1764. this->tabPage_P16ManID->Controls->Add(this->label_P16ManID);
  1765. this->tabPage_P16ManID->Controls->Add(this->numericUpDown_P16ManID);
  1766. this->tabPage_P16ManID->Location = System::Drawing::Point(4, 22);
  1767. this->tabPage_P16ManID->Name = L"tabPage_P16ManID";
  1768. this->tabPage_P16ManID->Padding = System::Windows::Forms::Padding(3);
  1769. this->tabPage_P16ManID->Size = System::Drawing::Size(375, 77);
  1770. this->tabPage_P16ManID->TabIndex = 3;
  1771. this->tabPage_P16ManID->Text = L"Manufacturer ID";
  1772. this->tabPage_P16ManID->UseVisualStyleBackColor = true;
  1773. //
  1774. // label_P16ManID
  1775. //
  1776. this->label_P16ManID->AutoSize = true;
  1777. this->label_P16ManID->Location = System::Drawing::Point(95, 30);
  1778. this->label_P16ManID->Name = L"label_P16ManID";
  1779. this->label_P16ManID->Size = System::Drawing::Size(124, 13);
  1780. this->label_P16ManID->TabIndex = 3;
  1781. this->label_P16ManID->Text = L"Display Manufacturer ID:";
  1782. //
  1783. // numericUpDown_P16ManID
  1784. //
  1785. this->numericUpDown_P16ManID->Location = System::Drawing::Point(225, 28);
  1786. this->numericUpDown_P16ManID->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {65535, 0, 0, 0});
  1787. this->numericUpDown_P16ManID->Name = L"numericUpDown_P16ManID";
  1788. this->numericUpDown_P16ManID->Size = System::Drawing::Size(54, 20);
  1789. this->numericUpDown_P16ManID->TabIndex = 2;
  1790. this->numericUpDown_P16ManID->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {65535, 0, 0, 0});
  1791. this->numericUpDown_P16ManID->ValueChanged += gcnew System::EventHandler(this, &LEVDisplay::numericUpDown_P16ManID_ValueChanged);
  1792. //
  1793. // tabPage_P16Wheel
  1794. //
  1795. this->tabPage_P16Wheel->Controls->Add(this->numericUpDown_P16Circum);
  1796. this->tabPage_P16Wheel->Controls->Add(this->label_P16Circum);
  1797. this->tabPage_P16Wheel->Location = System::Drawing::Point(4, 22);
  1798. this->tabPage_P16Wheel->Name = L"tabPage_P16Wheel";
  1799. this->tabPage_P16Wheel->Padding = System::Windows::Forms::Padding(3);
  1800. this->tabPage_P16Wheel->Size = System::Drawing::Size(375, 77);
  1801. this->tabPage_P16Wheel->TabIndex = 4;
  1802. this->tabPage_P16Wheel->Text = L"Wheel";
  1803. this->tabPage_P16Wheel->UseVisualStyleBackColor = true;
  1804. //
  1805. // numericUpDown_P16Circum
  1806. //
  1807. this->numericUpDown_P16Circum->Location = System::Drawing::Point(232, 28);
  1808. this->numericUpDown_P16Circum->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {4095, 0, 0, 0});
  1809. this->numericUpDown_P16Circum->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
  1810. this->numericUpDown_P16Circum->Name = L"numericUpDown_P16Circum";
  1811. this->numericUpDown_P16Circum->Size = System::Drawing::Size(54, 20);
  1812. this->numericUpDown_P16Circum->TabIndex = 18;
  1813. this->numericUpDown_P16Circum->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1500, 0, 0, 0});
  1814. this->numericUpDown_P16Circum->ValueChanged += gcnew System::EventHandler(this, &LEVDisplay::numericUpDown_P16Circum_ValueChanged);
  1815. //
  1816. // label_P16Circum
  1817. //
  1818. this->label_P16Circum->AutoSize = true;
  1819. this->label_P16Circum->Location = System::Drawing::Point(89, 30);
  1820. this->label_P16Circum->Name = L"label_P16Circum";
  1821. this->label_P16Circum->Size = System::Drawing::Size(137, 13);
  1822. this->label_P16Circum->TabIndex = 17;
  1823. this->label_P16Circum->Text = L"Wheel Circumference (mm):";
  1824. //
  1825. // tabPage_Common1
  1826. //
  1827. this->tabPage_Common1->Controls->Add(this->label_Common1);
  1828. this->tabPage_Common1->Controls->Add(this->groupBox_P81Rx);
  1829. this->tabPage_Common1->Controls->Add(this->groupBox_P80Rx);
  1830. this->tabPage_Common1->Location = System::Drawing::Point(4, 22);
  1831. this->tabPage_Common1->Name = L"tabPage_Common1";
  1832. this->tabPage_Common1->Padding = System::Windows::Forms::Padding(3);
  1833. this->tabPage_Common1->Size = System::Drawing::Size(389, 111);
  1834. this->tabPage_Common1->TabIndex = 8;
  1835. this->tabPage_Common1->Text = L"Common Rx";
  1836. this->tabPage_Common1->UseVisualStyleBackColor = true;
  1837. //
  1838. // label_Common1
  1839. //
  1840. this->label_Common1->AutoSize = true;
  1841. this->label_Common1->Location = System::Drawing::Point(6, 8);
  1842. this->label_Common1->Name = L"label_Common1";
  1843. this->label_Common1->Size = System::Drawing::Size(136, 13);
  1844. this->label_Common1->TabIndex = 55;
  1845. this->label_Common1->Text = L"LEV Sensor Common Data:";
  1846. //
  1847. // groupBox_P81Rx
  1848. //
  1849. this->groupBox_P81Rx->Controls->Add(this->label_Glb_SoftwareVer);
  1850. this->groupBox_P81Rx->Controls->Add(this->label_Glb_SoftwareVerDisplay);
  1851. this->groupBox_P81Rx->Controls->Add(this->label_Glb_SerialNumDisplay);
  1852. this->groupBox_P81Rx->Controls->Add(this->label_Glb_SerialNum);
  1853. this->groupBox_P81Rx->Location = System::Drawing::Point(197, 26);
  1854. this->groupBox_P81Rx->Name = L"groupBox_P81Rx";
  1855. this->groupBox_P81Rx->Size = System::Drawing::Size(173, 79);
  1856. this->groupBox_P81Rx->TabIndex = 1;
  1857. this->groupBox_P81Rx->TabStop = false;
  1858. this->groupBox_P81Rx->Text = L"Page 81";
  1859. //
  1860. // label_Glb_SoftwareVer
  1861. //
  1862. this->label_Glb_SoftwareVer->AutoSize = true;
  1863. this->label_Glb_SoftwareVer->Location = System::Drawing::Point(15, 42);
  1864. this->label_Glb_SoftwareVer->Name = L"label_Glb_SoftwareVer";
  1865. this->label_Glb_SoftwareVer->Size = System::Drawing::Size(63, 13);
  1866. this->label_Glb_SoftwareVer->TabIndex = 28;
  1867. this->label_Glb_SoftwareVer->Text = L"Sw Version:";
  1868. //
  1869. // label_Glb_SoftwareVerDisplay
  1870. //
  1871. this->label_Glb_SoftwareVerDisplay->AutoSize = true;
  1872. this->label_Glb_SoftwareVerDisplay->Location = System::Drawing::Point(85, 42);
  1873. this->label_Glb_SoftwareVerDisplay->Name = L"label_Glb_SoftwareVerDisplay";
  1874. this->label_Glb_SoftwareVerDisplay->Size = System::Drawing::Size(16, 13);
  1875. this->label_Glb_SoftwareVerDisplay->TabIndex = 30;
  1876. this->label_Glb_SoftwareVerDisplay->Text = L"---";
  1877. //
  1878. // label_Glb_SerialNumDisplay
  1879. //
  1880. this->label_Glb_SerialNumDisplay->AutoSize = true;
  1881. this->label_Glb_SerialNumDisplay->Location = System::Drawing::Point(85, 29);
  1882. this->label_Glb_SerialNumDisplay->Name = L"label_Glb_SerialNumDisplay";
  1883. this->label_Glb_SerialNumDisplay->Size = System::Drawing::Size(16, 13);
  1884. this->label_Glb_SerialNumDisplay->TabIndex = 29;
  1885. this->label_Glb_SerialNumDisplay->Text = L"---";
  1886. //
  1887. // label_Glb_SerialNum
  1888. //
  1889. this->label_Glb_SerialNum->AutoSize = true;
  1890. this->label_Glb_SerialNum->Location = System::Drawing::Point(32, 29);
  1891. this->label_Glb_SerialNum->Name = L"label_Glb_SerialNum";
  1892. this->label_Glb_SerialNum->Size = System::Drawing::Size(46, 13);
  1893. this->label_Glb_SerialNum->TabIndex = 27;
  1894. this->label_Glb_SerialNum->Text = L"Serial #:";
  1895. //
  1896. // groupBox_P80Rx
  1897. //
  1898. this->groupBox_P80Rx->Controls->Add(this->label_Glb_HardwareVer);
  1899. this->groupBox_P80Rx->Controls->Add(this->label_Glb_ModelNum);
  1900. this->groupBox_P80Rx->Controls->Add(this->label_Glb_ManfIDDisplay);
  1901. this->groupBox_P80Rx->Controls->Add(this->label_Glb_ModelNumDisplay);
  1902. this->groupBox_P80Rx->Controls->Add(this->label_Glb_HardwareVerDisplay);
  1903. this->groupBox_P80Rx->Controls->Add(this->label_Glb_ManfID);
  1904. this->groupBox_P80Rx->Location = System::Drawing::Point(21, 26);
  1905. this->groupBox_P80Rx->Name = L"groupBox_P80Rx";
  1906. this->groupBox_P80Rx->Size = System::Drawing::Size(170, 79);
  1907. this->groupBox_P80Rx->TabIndex = 0;
  1908. this->groupBox_P80Rx->TabStop = false;
  1909. this->groupBox_P80Rx->Text = L"Page 80";
  1910. //
  1911. // label_Glb_HardwareVer
  1912. //
  1913. this->label_Glb_HardwareVer->AutoSize = true;
  1914. this->label_Glb_HardwareVer->Location = System::Drawing::Point(13, 49);
  1915. this->label_Glb_HardwareVer->Name = L"label_Glb_HardwareVer";
  1916. this->label_Glb_HardwareVer->Size = System::Drawing::Size(64, 13);
  1917. this->label_Glb_HardwareVer->TabIndex = 27;
  1918. this->label_Glb_HardwareVer->Text = L"Hw Version:";
  1919. //
  1920. // label_Glb_ModelNum
  1921. //
  1922. this->label_Glb_ModelNum->AutoSize = true;
  1923. this->label_Glb_ModelNum->Location = System::Drawing::Point(28, 36);
  1924. this->label_Glb_ModelNum->Name = L"label_Glb_ModelNum";
  1925. this->label_Glb_ModelNum->Size = System::Drawing::Size(49, 13);
  1926. this->label_Glb_ModelNum->TabIndex = 28;
  1927. this->label_Glb_ModelNum->Text = L"Model #:";
  1928. //
  1929. // label_Glb_ManfIDDisplay
  1930. //
  1931. this->label_Glb_ManfIDDisplay->Location = System::Drawing::Point(83, 23);
  1932. this->label_Glb_ManfIDDisplay->Name = L"label_Glb_ManfIDDisplay";
  1933. this->label_Glb_ManfIDDisplay->Size = System::Drawing::Size(50, 13);
  1934. this->label_Glb_ManfIDDisplay->TabIndex = 29;
  1935. this->label_Glb_ManfIDDisplay->Text = L"---";
  1936. //
  1937. // label_Glb_ModelNumDisplay
  1938. //
  1939. this->label_Glb_ModelNumDisplay->Location = System::Drawing::Point(83, 36);
  1940. this->label_Glb_ModelNumDisplay->Name = L"label_Glb_ModelNumDisplay";
  1941. this->label_Glb_ModelNumDisplay->Size = System::Drawing::Size(50, 13);
  1942. this->label_Glb_ModelNumDisplay->TabIndex = 30;
  1943. this->label_Glb_ModelNumDisplay->Text = L"---";
  1944. //
  1945. // label_Glb_HardwareVerDisplay
  1946. //
  1947. this->label_Glb_HardwareVerDisplay->Location = System::Drawing::Point(83, 49);
  1948. this->label_Glb_HardwareVerDisplay->Name = L"label_Glb_HardwareVerDisplay";
  1949. this->label_Glb_HardwareVerDisplay->Size = System::Drawing::Size(27, 13);
  1950. this->label_Glb_HardwareVerDisplay->TabIndex = 31;
  1951. this->label_Glb_HardwareVerDisplay->Text = L"---";
  1952. //
  1953. // label_Glb_ManfID
  1954. //
  1955. this->label_Glb_ManfID->AutoSize = true;
  1956. this->label_Glb_ManfID->Location = System::Drawing::Point(26, 23);
  1957. this->label_Glb_ManfID->Name = L"label_Glb_ManfID";
  1958. this->label_Glb_ManfID->Size = System::Drawing::Size(51, 13);
  1959. this->label_Glb_ManfID->TabIndex = 26;
  1960. this->label_Glb_ManfID->Text = L"Manf. ID:";
  1961. //
  1962. // tabPage_Common2
  1963. //
  1964. this->tabPage_Common2->Controls->Add(this->checkBox_NoSerial);
  1965. this->tabPage_Common2->Controls->Add(this->label_Common2);
  1966. this->tabPage_Common2->Controls->Add(this->label_SoftwareVer);
  1967. this->tabPage_Common2->Controls->Add(this->label_HardwareVer);
  1968. this->tabPage_Common2->Controls->Add(this->button_CommonUpdate);
  1969. this->tabPage_Common2->Controls->Add(this->label_ErrorCommon);
  1970. this->tabPage_Common2->Controls->Add(this->label_ManfID);
  1971. this->tabPage_Common2->Controls->Add(this->label_SerialNum);
  1972. this->tabPage_Common2->Controls->Add(this->textBox_SerialNum);
  1973. this->tabPage_Common2->Controls->Add(this->textBox_SwVersion);
  1974. this->tabPage_Common2->Controls->Add(this->textBox_HwVersion);
  1975. this->tabPage_Common2->Controls->Add(this->textBox_ModelNum);
  1976. this->tabPage_Common2->Controls->Add(this->textBox_MfgID);
  1977. this->tabPage_Common2->Controls->Add(this->label_ModelNum);
  1978. this->tabPage_Common2->Location = System::Drawing::Point(4, 22);
  1979. this->tabPage_Common2->Name = L"tabPage_Common2";
  1980. this->tabPage_Common2->Padding = System::Windows::Forms::Padding(3);
  1981. this->tabPage_Common2->Size = System::Drawing::Size(389, 111);
  1982. this->tabPage_Common2->TabIndex = 9;
  1983. this->tabPage_Common2->Text = L"Common Tx";
  1984. this->tabPage_Common2->UseVisualStyleBackColor = true;
  1985. //
  1986. // label_SoftwareVer
  1987. //
  1988. this->label_SoftwareVer->AutoSize = true;
  1989. this->label_SoftwareVer->Location = System::Drawing::Point(257, 54);
  1990. this->label_SoftwareVer->Name = L"label_SoftwareVer";
  1991. this->label_SoftwareVer->Size = System::Drawing::Size(71, 13);
  1992. this->label_SoftwareVer->TabIndex = 57;
  1993. this->label_SoftwareVer->Text = L"Software Ver:";
  1994. //
  1995. // label_HardwareVer
  1996. //
  1997. this->label_HardwareVer->AutoSize = true;
  1998. this->label_HardwareVer->Location = System::Drawing::Point(253, 28);
  1999. this->label_HardwareVer->Name = L"label_HardwareVer";
  2000. this->label_HardwareVer->Size = System::Drawing::Size(75, 13);
  2001. this->label_HardwareVer->TabIndex = 56;
  2002. this->label_HardwareVer->Text = L"Hardware Ver:";
  2003. //
  2004. // button_CommonUpdate
  2005. //
  2006. this->button_CommonUpdate->Location = System::Drawing::Point(266, 77);
  2007. this->button_CommonUpdate->Name = L"button_CommonUpdate";
  2008. this->button_CommonUpdate->Size = System::Drawing::Size(97, 20);
  2009. this->button_CommonUpdate->TabIndex = 65;
  2010. this->button_CommonUpdate->Text = L"Update All";
  2011. this->button_CommonUpdate->UseVisualStyleBackColor = true;
  2012. this->button_CommonUpdate->Click += gcnew System::EventHandler(this, &LEVDisplay::button_CommonUpdate_Click);
  2013. //
  2014. // label_ErrorCommon
  2015. //
  2016. this->label_ErrorCommon->AutoSize = true;
  2017. this->label_ErrorCommon->Location = System::Drawing::Point(153, 78);
  2018. this->label_ErrorCommon->Name = L"label_ErrorCommon";
  2019. this->label_ErrorCommon->Size = System::Drawing::Size(32, 13);
  2020. this->label_ErrorCommon->TabIndex = 59;
  2021. this->label_ErrorCommon->Text = L"Error:";
  2022. this->label_ErrorCommon->Visible = false;
  2023. //
  2024. // label_ManfID
  2025. //
  2026. this->label_ManfID->AutoSize = true;
  2027. this->label_ManfID->Location = System::Drawing::Point(14, 54);
  2028. this->label_ManfID->Name = L"label_ManfID";
  2029. this->label_ManfID->Size = System::Drawing::Size(51, 13);
  2030. this->label_ManfID->TabIndex = 54;
  2031. this->label_ManfID->Text = L"Manf. ID:";
  2032. //
  2033. // label_SerialNum
  2034. //
  2035. this->label_SerialNum->AutoSize = true;
  2036. this->label_SerialNum->Location = System::Drawing::Point(19, 28);
  2037. this->label_SerialNum->Name = L"label_SerialNum";
  2038. this->label_SerialNum->Size = System::Drawing::Size(46, 13);
  2039. this->label_SerialNum->TabIndex = 55;
  2040. this->label_SerialNum->Text = L"Serial #:";
  2041. //
  2042. // textBox_SerialNum
  2043. //
  2044. this->textBox_SerialNum->Location = System::Drawing::Point(71, 25);
  2045. this->textBox_SerialNum->MaxLength = 10;
  2046. this->textBox_SerialNum->Name = L"textBox_SerialNum";
  2047. this->textBox_SerialNum->Size = System::Drawing::Size(76, 20);
  2048. this->textBox_SerialNum->TabIndex = 62;
  2049. this->textBox_SerialNum->Text = L"1234567890";
  2050. //
  2051. // textBox_SwVersion
  2052. //
  2053. this->textBox_SwVersion->Location = System::Drawing::Point(334, 51);
  2054. this->textBox_SwVersion->MaxLength = 3;
  2055. this->textBox_SwVersion->Name = L"textBox_SwVersion";
  2056. this->textBox_SwVersion->Size = System::Drawing::Size(29, 20);
  2057. this->textBox_SwVersion->TabIndex = 64;
  2058. this->textBox_SwVersion->Text = L"1";
  2059. //
  2060. // textBox_HwVersion
  2061. //
  2062. this->textBox_HwVersion->Location = System::Drawing::Point(334, 25);
  2063. this->textBox_HwVersion->MaxLength = 3;
  2064. this->textBox_HwVersion->Name = L"textBox_HwVersion";
  2065. this->textBox_HwVersion->Size = System::Drawing::Size(29, 20);
  2066. this->textBox_HwVersion->TabIndex = 63;
  2067. this->textBox_HwVersion->Text = L"1";
  2068. //
  2069. // textBox_ModelNum
  2070. //
  2071. this->textBox_ModelNum->Location = System::Drawing::Point(98, 75);
  2072. this->textBox_ModelNum->MaxLength = 5;
  2073. this->textBox_ModelNum->Name = L"textBox_ModelNum";
  2074. this->textBox_ModelNum->Size = System::Drawing::Size(49, 20);
  2075. this->textBox_ModelNum->TabIndex = 61;
  2076. this->textBox_ModelNum->Text = L"33669";
  2077. //
  2078. // textBox_MfgID
  2079. //
  2080. this->textBox_MfgID->Location = System::Drawing::Point(98, 51);
  2081. this->textBox_MfgID->MaxLength = 5;
  2082. this->textBox_MfgID->Name = L"textBox_MfgID";
  2083. this->textBox_MfgID->Size = System::Drawing::Size(49, 20);
  2084. this->textBox_MfgID->TabIndex = 60;
  2085. this->textBox_MfgID->Text = L"54321";
  2086. //
  2087. // label_ModelNum
  2088. //
  2089. this->label_ModelNum->AutoSize = true;
  2090. this->label_ModelNum->Location = System::Drawing::Point(16, 78);
  2091. this->label_ModelNum->Name = L"label_ModelNum";
  2092. this->label_ModelNum->Size = System::Drawing::Size(49, 13);
  2093. this->label_ModelNum->TabIndex = 58;
  2094. this->label_ModelNum->Text = L"Model #:";
  2095. //
  2096. // tabPage_TravelModes
  2097. //
  2098. this->tabPage_TravelModes->Controls->Add(this->numericUpDown_DisplayRegenModes);
  2099. this->tabPage_TravelModes->Controls->Add(this->numericUpDown_DisplayAssistModes);
  2100. this->tabPage_TravelModes->Controls->Add(this->label_RegenModesSupported);
  2101. this->tabPage_TravelModes->Controls->Add(this->label_AssistModesSupported);
  2102. this->tabPage_TravelModes->Controls->Add(this->label_SupportedTravelModes);
  2103. this->tabPage_TravelModes->Location = System::Drawing::Point(4, 22);
  2104. this->tabPage_TravelModes->Name = L"tabPage_TravelModes";
  2105. this->tabPage_TravelModes->Padding = System::Windows::Forms::Padding(3);
  2106. this->tabPage_TravelModes->Size = System::Drawing::Size(389, 111);
  2107. this->tabPage_TravelModes->TabIndex = 10;
  2108. this->tabPage_TravelModes->Text = L"Travel Modes";
  2109. this->tabPage_TravelModes->UseVisualStyleBackColor = true;
  2110. //
  2111. // numericUpDown_DisplayRegenModes
  2112. //
  2113. this->numericUpDown_DisplayRegenModes->Location = System::Drawing::Point(282, 57);
  2114. this->numericUpDown_DisplayRegenModes->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {7, 0, 0, 0});
  2115. this->numericUpDown_DisplayRegenModes->Name = L"numericUpDown_DisplayRegenModes";
  2116. this->numericUpDown_DisplayRegenModes->Size = System::Drawing::Size(36, 20);
  2117. this->numericUpDown_DisplayRegenModes->TabIndex = 4;
  2118. this->numericUpDown_DisplayRegenModes->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {7, 0, 0, 0});
  2119. this->numericUpDown_DisplayRegenModes->ValueChanged += gcnew System::EventHandler(this, &LEVDisplay::numericUpDown_DisplayRegenModes_ValueChanged);
  2120. //
  2121. // numericUpDown_DisplayAssistModes
  2122. //
  2123. this->numericUpDown_DisplayAssistModes->Location = System::Drawing::Point(131, 57);
  2124. this->numericUpDown_DisplayAssistModes->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {7, 0, 0, 0});
  2125. this->numericUpDown_DisplayAssistModes->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
  2126. this->numericUpDown_DisplayAssistModes->Name = L"numericUpDown_DisplayAssistModes";
  2127. this->numericUpDown_DisplayAssistModes->Size = System::Drawing::Size(36, 20);
  2128. this->numericUpDown_DisplayAssistModes->TabIndex = 3;
  2129. this->numericUpDown_DisplayAssistModes->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {7, 0, 0, 0});
  2130. this->numericUpDown_DisplayAssistModes->ValueChanged += gcnew System::EventHandler(this, &LEVDisplay::numericUpDown_DisplayAssistModes_ValueChanged);
  2131. //
  2132. // label_RegenModesSupported
  2133. //
  2134. this->label_RegenModesSupported->AutoSize = true;
  2135. this->label_RegenModesSupported->Location = System::Drawing::Point(189, 59);
  2136. this->label_RegenModesSupported->Name = L"label_RegenModesSupported";
  2137. this->label_RegenModesSupported->Size = System::Drawing::Size(87, 13);
  2138. this->label_RegenModesSupported->TabIndex = 2;
  2139. this->label_RegenModesSupported->Text = L"# Regen Modes:";
  2140. //
  2141. // label_AssistModesSupported
  2142. //
  2143. this->label_AssistModesSupported->AutoSize = true;
  2144. this->label_AssistModesSupported->Location = System::Drawing::Point(43, 59);
  2145. this->label_AssistModesSupported->Name = L"label_AssistModesSupported";
  2146. this->label_AssistModesSupported->Size = System::Drawing::Size(82, 13);
  2147. this->label_AssistModesSupported->TabIndex = 1;
  2148. this->label_AssistModesSupported->Text = L"# Assist Modes:";
  2149. //
  2150. // label_SupportedTravelModes
  2151. //
  2152. this->label_SupportedTravelModes->AutoSize = true;
  2153. this->label_SupportedTravelModes->Location = System::Drawing::Point(98, 19);
  2154. this->label_SupportedTravelModes->Name = L"label_SupportedTravelModes";
  2155. this->label_SupportedTravelModes->Size = System::Drawing::Size(178, 13);
  2156. this->label_SupportedTravelModes->TabIndex = 0;
  2157. this->label_SupportedTravelModes->Text = L"Travel Modes Supported by Display:";
  2158. //
  2159. // label_AckMsgStatus
  2160. //
  2161. this->label_AckMsgStatus->AutoSize = true;
  2162. this->label_AckMsgStatus->Location = System::Drawing::Point(127, 67);
  2163. this->label_AckMsgStatus->Name = L"label_AckMsgStatus";
  2164. this->label_AckMsgStatus->Size = System::Drawing::Size(31, 13);
  2165. this->label_AckMsgStatus->TabIndex = 0;
  2166. this->label_AckMsgStatus->Text = L"-- -- --";
  2167. //
  2168. // panel_Display
  2169. //
  2170. this->panel_Display->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
  2171. this->panel_Display->Controls->Add(this->label_AckMsgStatus);
  2172. this->panel_Display->Controls->Add(this->label_AckStatus);
  2173. this->panel_Display->Controls->Add(this->label_StatusAssistVal);
  2174. this->panel_Display->Controls->Add(this->label_StatusAssist);
  2175. this->panel_Display->Controls->Add(this->label_StatusSpeedVal);
  2176. this->panel_Display->Controls->Add(this->label_StatusSpeed);
  2177. this->panel_Display->Controls->Add(this->label_StatusOdoVal);
  2178. this->panel_Display->Controls->Add(this->label_StatusOdometer);
  2179. this->panel_Display->Controls->Add(this->label_RxStatusBox);
  2180. this->panel_Display->Location = System::Drawing::Point(58, 188);
  2181. this->panel_Display->Name = L"panel_Display";
  2182. this->panel_Display->Size = System::Drawing::Size(200, 90);
  2183. this->panel_Display->TabIndex = 1;
  2184. //
  2185. // label_AckStatus
  2186. //
  2187. this->label_AckStatus->AutoSize = true;
  2188. this->label_AckStatus->Location = System::Drawing::Point(6, 67);
  2189. this->label_AckStatus->Name = L"label_AckStatus";
  2190. this->label_AckStatus->Size = System::Drawing::Size(85, 13);
  2191. this->label_AckStatus->TabIndex = 23;
  2192. this->label_AckStatus->Text = L"Ack Msg Status:";
  2193. //
  2194. // label_StatusAssistVal
  2195. //
  2196. this->label_StatusAssistVal->AutoSize = true;
  2197. this->label_StatusAssistVal->Location = System::Drawing::Point(127, 52);
  2198. this->label_StatusAssistVal->Name = L"label_StatusAssistVal";
  2199. this->label_StatusAssistVal->Size = System::Drawing::Size(16, 13);
  2200. this->label_StatusAssistVal->TabIndex = 22;
  2201. this->label_StatusAssistVal->Text = L"---";
  2202. //
  2203. // label_StatusAssist
  2204. //
  2205. this->label_StatusAssist->AutoSize = true;
  2206. this->label_StatusAssist->Location = System::Drawing::Point(6, 52);
  2207. this->label_StatusAssist->Name = L"label_StatusAssist";
  2208. this->label_StatusAssist->Size = System::Drawing::Size(48, 13);
  2209. this->label_StatusAssist->TabIndex = 21;
  2210. this->label_StatusAssist->Text = L"% Assist:";
  2211. //
  2212. // label_StatusSpeedVal
  2213. //
  2214. this->label_StatusSpeedVal->AutoSize = true;
  2215. this->label_StatusSpeedVal->Location = System::Drawing::Point(127, 22);
  2216. this->label_StatusSpeedVal->Name = L"label_StatusSpeedVal";
  2217. this->label_StatusSpeedVal->Size = System::Drawing::Size(16, 13);
  2218. this->label_StatusSpeedVal->TabIndex = 20;
  2219. this->label_StatusSpeedVal->Text = L"---";
  2220. //
  2221. // label_StatusSpeed
  2222. //
  2223. this->label_StatusSpeed->AutoSize = true;
  2224. this->label_StatusSpeed->Location = System::Drawing::Point(6, 22);
  2225. this->label_StatusSpeed->Name = L"label_StatusSpeed";
  2226. this->label_StatusSpeed->Size = System::Drawing::Size(93, 13);
  2227. this->label_StatusSpeed->TabIndex = 19;
  2228. this->label_StatusSpeed->Text = L"Speed (0.1 km/h):";
  2229. //
  2230. // label_StatusOdoVal
  2231. //
  2232. this->label_StatusOdoVal->AutoSize = true;
  2233. this->label_StatusOdoVal->Location = System::Drawing::Point(127, 37);
  2234. this->label_StatusOdoVal->Name = L"label_StatusOdoVal";
  2235. this->label_StatusOdoVal->Size = System::Drawing::Size(16, 13);
  2236. this->label_StatusOdoVal->TabIndex = 18;
  2237. this->label_StatusOdoVal->Text = L"---";
  2238. //
  2239. // label_StatusOdometer
  2240. //
  2241. this->label_StatusOdometer->AutoSize = true;
  2242. this->label_StatusOdometer->Location = System::Drawing::Point(6, 37);
  2243. this->label_StatusOdometer->Name = L"label_StatusOdometer";
  2244. this->label_StatusOdometer->Size = System::Drawing::Size(103, 13);
  2245. this->label_StatusOdometer->TabIndex = 17;
  2246. this->label_StatusOdometer->Text = L"Odometer (0.01 km):";
  2247. //
  2248. // label_RxStatusBox
  2249. //
  2250. this->label_RxStatusBox->AutoSize = true;
  2251. this->label_RxStatusBox->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  2252. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  2253. this->label_RxStatusBox->Location = System::Drawing::Point(3, 3);
  2254. this->label_RxStatusBox->Name = L"label_RxStatusBox";
  2255. this->label_RxStatusBox->Size = System::Drawing::Size(140, 13);
  2256. this->label_RxStatusBox->TabIndex = 1;
  2257. this->label_RxStatusBox->Text = L"Current LEV Rx Data (Raw):";
  2258. //
  2259. // label_P16FrontGear
  2260. //
  2261. this->label_P16FrontGear->AutoSize = true;
  2262. this->label_P16FrontGear->Location = System::Drawing::Point(7, 18);
  2263. this->label_P16FrontGear->Name = L"label_P16FrontGear";
  2264. this->label_P16FrontGear->Size = System::Drawing::Size(60, 13);
  2265. this->label_P16FrontGear->TabIndex = 21;
  2266. this->label_P16FrontGear->Text = L"Front Gear:";
  2267. //
  2268. // label_P16RearGear
  2269. //
  2270. this->label_P16RearGear->AutoSize = true;
  2271. this->label_P16RearGear->Location = System::Drawing::Point(8, 43);
  2272. this->label_P16RearGear->Name = L"label_P16RearGear";
  2273. this->label_P16RearGear->Size = System::Drawing::Size(59, 13);
  2274. this->label_P16RearGear->TabIndex = 22;
  2275. this->label_P16RearGear->Text = L"Rear Gear:";
  2276. //
  2277. // label_Common2
  2278. //
  2279. this->label_Common2->AutoSize = true;
  2280. this->label_Common2->Location = System::Drawing::Point(6, 8);
  2281. this->label_Common2->Name = L"label_Common2";
  2282. this->label_Common2->Size = System::Drawing::Size(137, 13);
  2283. this->label_Common2->TabIndex = 66;
  2284. this->label_Common2->Text = L"LEV Display Common Data:";
  2285. //
  2286. // checkBox_NoSerial
  2287. //
  2288. this->checkBox_NoSerial->AutoSize = true;
  2289. this->checkBox_NoSerial->Location = System::Drawing::Point(153, 27);
  2290. this->checkBox_NoSerial->Name = L"checkBox_NoSerial";
  2291. this->checkBox_NoSerial->Size = System::Drawing::Size(79, 17);
  2292. this->checkBox_NoSerial->TabIndex = 67;
  2293. this->checkBox_NoSerial->Text = L"No Serial #";
  2294. this->checkBox_NoSerial->UseVisualStyleBackColor = true;
  2295. this->checkBox_NoSerial->CheckedChanged += gcnew System::EventHandler(this, &LEVDisplay::checkBox_NoSerial_CheckedChanged);
  2296. //
  2297. // LEVDisplay
  2298. //
  2299. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  2300. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  2301. this->ClientSize = System::Drawing::Size(794, 351);
  2302. this->Controls->Add(this->panel_Display);
  2303. this->Controls->Add(this->panel_Settings);
  2304. this->Name = L"LEVDisplay";
  2305. this->Text = L"Light Electric Vehicle (LEV)";
  2306. this->panel_Settings->ResumeLayout(false);
  2307. this->tabControl_LEVDisplay->ResumeLayout(false);
  2308. this->tabPage_P1->ResumeLayout(false);
  2309. this->tabPage_P1->PerformLayout();
  2310. this->tabPage_P2->ResumeLayout(false);
  2311. this->tabPage_P2->PerformLayout();
  2312. this->tabPage_P3->ResumeLayout(false);
  2313. this->tabPage_P3->PerformLayout();
  2314. this->tabPage_Page45->ResumeLayout(false);
  2315. this->tabControl_Page45->ResumeLayout(false);
  2316. this->tabPage_Page4->ResumeLayout(false);
  2317. this->tabPage_Page4->PerformLayout();
  2318. this->tabPage_Page5->ResumeLayout(false);
  2319. this->tabPage_Page5->PerformLayout();
  2320. this->tabPage_RqPage->ResumeLayout(false);
  2321. this->tabPage_RqPage->PerformLayout();
  2322. this->groupBox_Request->ResumeLayout(false);
  2323. this->groupBox_Request->PerformLayout();
  2324. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_RqTxTimes))->EndInit();
  2325. this->tabPage_P16->ResumeLayout(false);
  2326. this->tabControl_P16->ResumeLayout(false);
  2327. this->tabPage_P16TravelMode->ResumeLayout(false);
  2328. this->tabPage_P16Display->ResumeLayout(false);
  2329. this->tabPage_P16Display->PerformLayout();
  2330. this->tabPage_P16Command->ResumeLayout(false);
  2331. this->tabPage_P16Command->PerformLayout();
  2332. this->groupBox_P16CurrentGear->ResumeLayout(false);
  2333. this->groupBox_P16CurrentGear->PerformLayout();
  2334. this->tabPage_P16ManID->ResumeLayout(false);
  2335. this->tabPage_P16ManID->PerformLayout();
  2336. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_P16ManID))->EndInit();
  2337. this->tabPage_P16Wheel->ResumeLayout(false);
  2338. this->tabPage_P16Wheel->PerformLayout();
  2339. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_P16Circum))->EndInit();
  2340. this->tabPage_Common1->ResumeLayout(false);
  2341. this->tabPage_Common1->PerformLayout();
  2342. this->groupBox_P81Rx->ResumeLayout(false);
  2343. this->groupBox_P81Rx->PerformLayout();
  2344. this->groupBox_P80Rx->ResumeLayout(false);
  2345. this->groupBox_P80Rx->PerformLayout();
  2346. this->tabPage_Common2->ResumeLayout(false);
  2347. this->tabPage_Common2->PerformLayout();
  2348. this->tabPage_TravelModes->ResumeLayout(false);
  2349. this->tabPage_TravelModes->PerformLayout();
  2350. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_DisplayRegenModes))->EndInit();
  2351. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_DisplayAssistModes))->EndInit();
  2352. this->panel_Display->ResumeLayout(false);
  2353. this->panel_Display->PerformLayout();
  2354. this->ResumeLayout(false);
  2355. }
  2356. #pragma endregion
  2357. };