BikePowerDisplay.h 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808
  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_bikepower.h"
  12. #include "antplus_common.h"
  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 BikePowerDisplay : public System::Windows::Forms::Form, public ISimBase{
  22. public:
  23. BikePowerDisplay(dRequestAckMsg^ channelAckMsg){
  24. requestAckMsg = channelAckMsg;
  25. commonPages = gcnew CommonData();
  26. bpPages = gcnew BikePower();
  27. InitializeComponent();
  28. InitializeSim();
  29. }
  30. ~BikePowerDisplay(){
  31. delete this->panel_Display;
  32. delete this->panel_Settings;
  33. //clean up floating resources with the garbage collector
  34. GC::Collect(2);
  35. //Deletion of designer component
  36. if (components)
  37. {
  38. delete components;
  39. }
  40. if(bpPages)
  41. delete bpPages;
  42. if(commonPages)
  43. delete commonPages;
  44. }
  45. public:
  46. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_);
  47. virtual UCHAR getDeviceType(){return BikePower::DEVICE_TYPE;}
  48. virtual UCHAR getTransmissionType(){return 0;} // Set to 0 for a pairing search and future compatibility
  49. virtual USHORT getTransmitPeriod(){return BikePower::MSG_PERIOD;}
  50. virtual DOUBLE getTimerInterval(){return 3600000;} // Set interval to one hour, as timer is not used in the simulation
  51. virtual void onTimerTock(USHORT eventTime){} // Do nothing
  52. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  53. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  54. private:
  55. void InitializeSim();
  56. void HandleReceive(UCHAR* pucRxBuffer_);
  57. BOOL HandleRetransmit();
  58. void SendMessage(UCHAR ucMsgCode_);
  59. void UpdateDisplay(UCHAR ucPageNum_);
  60. void UpdateDisplayAckStatus(UCHAR ucStatus_);
  61. void ChangeSensorType();
  62. System::Void button_Cal_Calibrate_Click(System::Object^ sender, System::EventArgs^ e);
  63. System::Void button_Cal_AutoZeroSet_Click(System::Object^ sender, System::EventArgs^ e);
  64. System::Void button_Cal_CTFSerialSet_Click(System::Object^ sender, System::EventArgs^ e);
  65. System::Void button_Cal_CTFSlopeSet_Click(System::Object^ sender, System::EventArgs^ e);
  66. System::Void numericUpDown_Cal_WheelCircum_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  67. System::Void radioButton_Cal_AZ_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  68. System::Void numericUpDown_Cal_CTFSerial_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  69. System::Void numericUpDown_Cal_CTFSlope_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  70. System::Void button_GetCrankStatus_Click(System::Object^ sender, System::EventArgs^ e);
  71. System::Void button_SetCrankStatus_Click(System::Object^ sender, System::EventArgs^ e);
  72. System::Void checkBox_InvalidCrankLength_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  73. System::Void checkBox_AutoCrank_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  74. template< typename T>
  75. T GetDifference(T CurrentVal, T PreviousVal);
  76. private: // Implementation specific constants
  77. static const UCHAR ACK_SUCCESS = 0;
  78. static const UCHAR ACK_RETRY = 1;
  79. static const UCHAR ACK_FAIL = 2;
  80. static const UCHAR MAX_RETRIES = 40; // Maximum number of retransmissions for each message
  81. static const USHORT PI256 = 804; // Pi * 256
  82. private:
  83. dRequestAckMsg^ requestAckMsg; // Delegate for handling Ack data
  84. CommonData^ commonPages; // Handle to common data pages
  85. BikePower^ bpPages; // Handle to bike power data pages
  86. // Pages received so far
  87. BOOL bSeenPower; // Standard power
  88. BOOL bSeenWheelTorque; // Wheel torque
  89. BOOL bSeenCrankTorque; // Crank torque
  90. BOOL bSeenCTF; // Crank torque frequency
  91. BikePower::SensorType ePrevType; // Previous sensor type
  92. BOOL bRequestCalibration; // Used to determine which ack message to send
  93. ULONG ulAveragePower256; // Average power
  94. // Power-only sensors
  95. ULONG ulAcumPowerEventCount; // Cumulative power event count
  96. // Torque sensors (Wheel or Crank)
  97. ULONG ulAcumTorqueEventCount; // Cumulative torque event count
  98. ULONG ulAcumTicks; // Cumulative revolutions (wheel or torque)
  99. ULONG ulSpeed; // Average speed (meters/h)
  100. ULONG ulDistance100; // Distance (cm)
  101. ULONG ulAngularVelocity256; // Angular velocity (1/100 rad/s)
  102. ULONG ulAverageTorque32; // Average torque (1/32 Nm)
  103. ULONG ulAverageCadence; // Average cadence (rpm)
  104. UCHAR ucWheelCircumference100; // Wheel circumference (cm)
  105. // Crank Torque Frequency Sensors
  106. ULONG ulAcumCTFEventCount; // Cumulative crank torque frequency event count
  107. USHORT usCTFOffset; // Calibration offset
  108. // Calibration
  109. BOOL bAZOn; // Auto Zero Status (set on display)
  110. USHORT usCalSerialToSend; // Serial number to send on CTF message (set on display)
  111. USHORT usCalSlopeToSend; // Slope to send on CTF message (set on display)
  112. BOOL bAutoZeroInvalid; // Bad auto zero status received
  113. BOOL bBadCalPage; // Bad calibration page received
  114. UCHAR ucMsgExpectingAck; // Message pending to be acknowledged
  115. UCHAR ucAckRetryCount; // Number of retries for an acknowledged message
  116. // Special conditions
  117. BOOL bCoasting; // Bike is coasting
  118. BOOL bStopped; // Bike stopped
  119. private: System::Windows::Forms::Panel^ panel_Settings;
  120. private: System::Windows::Forms::Panel^ panel_Display;
  121. private: System::Windows::Forms::Label^ label_Trn_EventCount;
  122. private: System::Windows::Forms::Label^ label_Trn_EventCountDisplay;
  123. private: System::Windows::Forms::Label^ label_Trn_DisplayTitle;
  124. private: System::Windows::Forms::Label^ label_Trn_AccumOneDisplay;
  125. private: System::Windows::Forms::Label^ label_Trn_AccumOne;
  126. private: System::Windows::Forms::Label^ label_Trn_CadenceDisplay;
  127. private: System::Windows::Forms::Label^ label_Trn_Cadence;
  128. private: System::Windows::Forms::Label^ label_Trn_PageDisplay;
  129. private: System::Windows::Forms::Label^ label_Trn_Page;
  130. private: System::Windows::Forms::Label^ label_Trn_UpdateCountDisplay;
  131. private: System::Windows::Forms::Label^ label_Trn_UpdateCount;
  132. private: System::Windows::Forms::Label^ label_Trn_AccumTitle;
  133. private: System::Windows::Forms::Label^ label_Trn_AccumTwo;
  134. private: System::Windows::Forms::Label^ label_Trn_AccumTwoDisplay;
  135. private: System::Windows::Forms::TabControl^ tabControl_Settings;
  136. private: System::Windows::Forms::Label^ label_Cal_TorqOffset;
  137. private: System::Windows::Forms::Label^ label_Cal_RawTorq;
  138. private: System::Windows::Forms::Label^ label_Cal_AZStatus;
  139. private: System::Windows::Forms::ListBox^ listBox_Cal_AZStatus;
  140. private: System::Windows::Forms::TabPage^ tabPage_GlobalBattery;
  141. private: System::Windows::Forms::Label^ label_Bat_Volts;
  142. private: System::Windows::Forms::Label^ label_Bat_Status;
  143. private: System::Windows::Forms::ListBox^ listBox_Bat_Status;
  144. private: System::Windows::Forms::Label^ label_Bat_ElpTimeDisplay;
  145. private: System::Windows::Forms::Label^ label_Bat_ElpTime;
  146. private: System::Windows::Forms::Label^ label_Dat_Stopped;
  147. private: System::Windows::Forms::Label^ label_Dat_PageRec;
  148. private: System::Windows::Forms::Label^ label_Cal_CalNum;
  149. private: System::Windows::Forms::Label^ label_Glb_SerialNum;
  150. private: System::Windows::Forms::Label^ label_Glb_SerialNumDisplay;
  151. private: System::Windows::Forms::Label^ label_Glb_SoftwareVerDisplay;
  152. private: System::Windows::Forms::Label^ label_Glb_SoftwareVer;
  153. private: System::Windows::Forms::Label^ label_Glb_ManfID;
  154. private: System::Windows::Forms::Label^ label_Glb_ManfIDDisplay;
  155. private: System::Windows::Forms::Label^ label_Glb_ModelNumDisplay;
  156. private: System::Windows::Forms::Label^ label_Glb_HardwareVerDisplay;
  157. private: System::Windows::Forms::Label^ label_Glb_HardwareVer;
  158. private: System::Windows::Forms::Label^ label_Glb_ModelNum;
  159. private: System::Windows::Forms::Label^ label_Bat_SecPrecis;
  160. private: System::Windows::Forms::TabPage^ tabPage_Calibration;
  161. private: System::Windows::Forms::TabPage^ tabPage_Data;
  162. private: System::Windows::Forms::Button^ button_Cal_Calibrate;
  163. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Cal_WheelCircum;
  164. private: System::Windows::Forms::Label^ label_Cal_WheelCircum;
  165. private: System::Windows::Forms::Label^ label_Dat_Coasting;
  166. private: System::Windows::Forms::Label^ label_Cal_CalNumberDisplay;
  167. private: System::Windows::Forms::Label^ label_Bat_VoltsDisplay;
  168. private: System::Windows::Forms::Label^ label_Dat_PageRecDisplay;
  169. private: System::Windows::Forms::Label^ label_Dat_CalcPower;
  170. private: System::Windows::Forms::Label^ label_Dat_EventCount;
  171. private: System::Windows::Forms::Label^ label_Dat_UpdateCount;
  172. private: System::Windows::Forms::Label^ label_Dat_InstCadence;
  173. private: System::Windows::Forms::Label^ label_Dat_CalcRPM;
  174. private: System::Windows::Forms::Label^ label_Dat_EventCountDisplay;
  175. private: System::Windows::Forms::Label^ label_Dat_UpdateCountDisplay;
  176. private: System::Windows::Forms::Label^ label_Dat_Dist;
  177. private: System::Windows::Forms::Label^ label_Dat_Speed;
  178. private: System::Windows::Forms::Label^ label_Dat_Torque;
  179. private: System::Windows::Forms::Label^ label_Dat_AngVel;
  180. private: System::Windows::Forms::Label^ label_Dat_DistDisplay;
  181. private: System::Windows::Forms::Label^ label_Dat_SpeedDisplay;
  182. private: System::Windows::Forms::Label^ label_Dat_CalcRPMDisplay;
  183. private: System::Windows::Forms::Label^ label_Dat_CalcPowerDisplay;
  184. private: System::Windows::Forms::Label^ label_Dat_TorqueDisplay;
  185. private: System::Windows::Forms::Label^ label_Dat_AngVelDisplay;
  186. private: System::Windows::Forms::Label^ label_Dat_InstCadenceDisplay;
  187. private: System::Windows::Forms::Label^ label_Dat_InstPower;
  188. private: System::Windows::Forms::Label^ label_Dat_InstPowerDisplay;
  189. private: System::Windows::Forms::Label^ label_Trn_AccumPowerDisplay;
  190. private: System::Windows::Forms::Label^ label_Trn_AccumPower;
  191. private: System::Windows::Forms::Label^ label_InstPower;
  192. private: System::Windows::Forms::Label^ label_Trn_InstPowerDisplay;
  193. private: System::Windows::Forms::Label^ label_Cal_RawTorqueDisplay;
  194. private: System::Windows::Forms::Label^ label_Cal_OffsetTorqueDisplay;
  195. private: System::Windows::Forms::Label^ label_Trn_Slope;
  196. private: System::Windows::Forms::Label^ label_Trn_SlopeDisplay;
  197. private: System::Windows::Forms::Label^ label_Dat_Slope;
  198. private: System::Windows::Forms::Label^ label_Dat_SlopeDisplay;
  199. private: System::Windows::Forms::RadioButton^ radioButton_Cal_AZoff;
  200. private: System::Windows::Forms::Label^ label_Dat_CTFOffsetDisplay;
  201. private: System::Windows::Forms::Label^ label_Dat_CTFOffset;
  202. private: System::Windows::Forms::RadioButton^ radioButton_Cal_AZon;
  203. private: System::Windows::Forms::Button^ button_Cal_AutoZeroSet;
  204. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Cal_CTFSerial;
  205. private: System::Windows::Forms::Button^ button_Cal_CTFSlopeSet;
  206. private: System::Windows::Forms::Button^ button_Cal_CTFSerialSet;
  207. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Cal_CTFSlope;
  208. private: System::Windows::Forms::Label^ label_Cal_SetLabel;
  209. private: System::Windows::Forms::Panel^ panel1;
  210. private: System::Windows::Forms::Label^ label_Cal_Status;
  211. private: System::Windows::Forms::Label^ label_Cal_StatusDisplay;
  212. private: System::Windows::Forms::Label^ label_Trn_PedalPwr;
  213. private: System::Windows::Forms::Label^ label_Trn_PedalDisplay;
  214. private: System::Windows::Forms::Label^ label_Trn_PedalPwrDisplay;
  215. private: System::Windows::Forms::Label^ label_Dat_PedalDisplay;
  216. private: System::Windows::Forms::Label^ label_Dat_PedalPwrDisplay;
  217. private: System::Windows::Forms::Label^ label_Dat_PedalPwr;
  218. private: System::Windows::Forms::TabPage^ tabPage1;
  219. private: System::Windows::Forms::Button^ button_SetCrankStatus;
  220. private: System::Windows::Forms::Button^ button_GetCrankStatus;
  221. private: System::Windows::Forms::NumericUpDown^ numericUpDown_CrankLength;
  222. private: System::Windows::Forms::Label^ label1;
  223. private: System::Windows::Forms::CheckBox^ checkBox_AutoCrank;
  224. private: System::Windows::Forms::CheckBox^ checkBox_InvalidCrankLength;
  225. private: System::Windows::Forms::Label^ label_CrankLengthStatus;
  226. private: System::Windows::Forms::Label^ label_CrankLength;
  227. private: System::Windows::Forms::Label^ label_SensorStatus;
  228. private: System::Windows::Forms::Label^ label6;
  229. private: System::Windows::Forms::Label^ label5;
  230. private: System::Windows::Forms::Label^ label4;
  231. private: System::Windows::Forms::Label^ label_SWMistmatchStatus;
  232. private: System::Windows::Forms::Label^ label2;
  233. private: System::Windows::Forms::Label^ label_AutoCrankLength;
  234. private: System::Windows::Forms::Label^ label10;
  235. private: System::Windows::Forms::Label^ label3;
  236. private: System::Windows::Forms::NumericUpDown^ numericUpDown_TransResponse;
  237. private: System::Windows::Forms::Label^ label7;
  238. private: System::Windows::Forms::TabPage^ tabControl_TEPS;
  239. private: System::Windows::Forms::Label^ label11;
  240. private: System::Windows::Forms::Label^ label12;
  241. private: System::Windows::Forms::Label^ label9;
  242. private: System::Windows::Forms::Label^ label8;
  243. private: System::Windows::Forms::Label^ label_RightPedalSmoothness;
  244. private: System::Windows::Forms::Label^ label_LeftPedalSmoothness;
  245. private: System::Windows::Forms::Label^ label_RightTorqueEffectiveness;
  246. private: System::Windows::Forms::Label^ label_LeftTorqueEffectiveness;
  247. private:
  248. /// <summary>
  249. /// Required designer variable.
  250. /// </summary>
  251. System::ComponentModel::Container ^components;
  252. #pragma region Windows Form Designer generated code
  253. /// <summary>
  254. /// Required method for Designer support - do not modify
  255. /// the contents of this method with the code editor.
  256. /// </summary>
  257. void InitializeComponent(void)
  258. {
  259. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  260. this->tabControl_Settings = (gcnew System::Windows::Forms::TabControl());
  261. this->tabPage_Data = (gcnew System::Windows::Forms::TabPage());
  262. this->label_Dat_PedalDisplay = (gcnew System::Windows::Forms::Label());
  263. this->label_Dat_PedalPwrDisplay = (gcnew System::Windows::Forms::Label());
  264. this->label_Dat_PedalPwr = (gcnew System::Windows::Forms::Label());
  265. this->label_Dat_CTFOffsetDisplay = (gcnew System::Windows::Forms::Label());
  266. this->label_Dat_CTFOffset = (gcnew System::Windows::Forms::Label());
  267. this->label_Dat_SlopeDisplay = (gcnew System::Windows::Forms::Label());
  268. this->label_Dat_Slope = (gcnew System::Windows::Forms::Label());
  269. this->label_Dat_InstCadenceDisplay = (gcnew System::Windows::Forms::Label());
  270. this->label_Dat_InstCadence = (gcnew System::Windows::Forms::Label());
  271. this->label_Dat_DistDisplay = (gcnew System::Windows::Forms::Label());
  272. this->label_Dat_Dist = (gcnew System::Windows::Forms::Label());
  273. this->label_Dat_SpeedDisplay = (gcnew System::Windows::Forms::Label());
  274. this->label_Dat_Speed = (gcnew System::Windows::Forms::Label());
  275. this->label_Dat_CalcRPMDisplay = (gcnew System::Windows::Forms::Label());
  276. this->label_Dat_CalcRPM = (gcnew System::Windows::Forms::Label());
  277. this->label_Dat_InstPowerDisplay = (gcnew System::Windows::Forms::Label());
  278. this->label_Dat_InstPower = (gcnew System::Windows::Forms::Label());
  279. this->label_Dat_CalcPowerDisplay = (gcnew System::Windows::Forms::Label());
  280. this->label_Dat_EventCountDisplay = (gcnew System::Windows::Forms::Label());
  281. this->label_Dat_UpdateCountDisplay = (gcnew System::Windows::Forms::Label());
  282. this->label_Dat_CalcPower = (gcnew System::Windows::Forms::Label());
  283. this->label_Dat_EventCount = (gcnew System::Windows::Forms::Label());
  284. this->label_Dat_UpdateCount = (gcnew System::Windows::Forms::Label());
  285. this->label_Dat_Coasting = (gcnew System::Windows::Forms::Label());
  286. this->label_Dat_Stopped = (gcnew System::Windows::Forms::Label());
  287. this->label_Dat_PageRec = (gcnew System::Windows::Forms::Label());
  288. this->label_Dat_TorqueDisplay = (gcnew System::Windows::Forms::Label());
  289. this->label_Dat_Torque = (gcnew System::Windows::Forms::Label());
  290. this->label_Dat_AngVelDisplay = (gcnew System::Windows::Forms::Label());
  291. this->label_Dat_AngVel = (gcnew System::Windows::Forms::Label());
  292. this->label_Dat_PageRecDisplay = (gcnew System::Windows::Forms::Label());
  293. this->tabPage_Calibration = (gcnew System::Windows::Forms::TabPage());
  294. this->label_Cal_StatusDisplay = (gcnew System::Windows::Forms::Label());
  295. this->label_Cal_Status = (gcnew System::Windows::Forms::Label());
  296. this->panel1 = (gcnew System::Windows::Forms::Panel());
  297. this->button_Cal_CTFSlopeSet = (gcnew System::Windows::Forms::Button());
  298. this->radioButton_Cal_AZoff = (gcnew System::Windows::Forms::RadioButton());
  299. this->button_Cal_AutoZeroSet = (gcnew System::Windows::Forms::Button());
  300. this->numericUpDown_Cal_CTFSlope = (gcnew System::Windows::Forms::NumericUpDown());
  301. this->radioButton_Cal_AZon = (gcnew System::Windows::Forms::RadioButton());
  302. this->button_Cal_CTFSerialSet = (gcnew System::Windows::Forms::Button());
  303. this->numericUpDown_Cal_CTFSerial = (gcnew System::Windows::Forms::NumericUpDown());
  304. this->label_Cal_RawTorqueDisplay = (gcnew System::Windows::Forms::Label());
  305. this->label_Cal_OffsetTorqueDisplay = (gcnew System::Windows::Forms::Label());
  306. this->label_Cal_CalNumberDisplay = (gcnew System::Windows::Forms::Label());
  307. this->numericUpDown_Cal_WheelCircum = (gcnew System::Windows::Forms::NumericUpDown());
  308. this->button_Cal_Calibrate = (gcnew System::Windows::Forms::Button());
  309. this->label_Cal_WheelCircum = (gcnew System::Windows::Forms::Label());
  310. this->label_Cal_TorqOffset = (gcnew System::Windows::Forms::Label());
  311. this->label_Cal_AZStatus = (gcnew System::Windows::Forms::Label());
  312. this->listBox_Cal_AZStatus = (gcnew System::Windows::Forms::ListBox());
  313. this->label_Cal_CalNum = (gcnew System::Windows::Forms::Label());
  314. this->label_Cal_RawTorq = (gcnew System::Windows::Forms::Label());
  315. this->label_Cal_SetLabel = (gcnew System::Windows::Forms::Label());
  316. this->tabPage_GlobalBattery = (gcnew System::Windows::Forms::TabPage());
  317. this->label_Bat_VoltsDisplay = (gcnew System::Windows::Forms::Label());
  318. this->label_Glb_SoftwareVer = (gcnew System::Windows::Forms::Label());
  319. this->label_Bat_SecPrecis = (gcnew System::Windows::Forms::Label());
  320. this->label_Bat_Volts = (gcnew System::Windows::Forms::Label());
  321. this->label_Glb_HardwareVer = (gcnew System::Windows::Forms::Label());
  322. this->label_Bat_Status = (gcnew System::Windows::Forms::Label());
  323. this->listBox_Bat_Status = (gcnew System::Windows::Forms::ListBox());
  324. this->label_Glb_SoftwareVerDisplay = (gcnew System::Windows::Forms::Label());
  325. this->label_Bat_ElpTimeDisplay = (gcnew System::Windows::Forms::Label());
  326. this->label_Bat_ElpTime = (gcnew System::Windows::Forms::Label());
  327. this->label_Glb_SerialNumDisplay = (gcnew System::Windows::Forms::Label());
  328. this->label_Glb_ModelNum = (gcnew System::Windows::Forms::Label());
  329. this->label_Glb_ManfIDDisplay = (gcnew System::Windows::Forms::Label());
  330. this->label_Glb_SerialNum = (gcnew System::Windows::Forms::Label());
  331. this->label_Glb_ModelNumDisplay = (gcnew System::Windows::Forms::Label());
  332. this->label_Glb_HardwareVerDisplay = (gcnew System::Windows::Forms::Label());
  333. this->label_Glb_ManfID = (gcnew System::Windows::Forms::Label());
  334. this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
  335. this->label7 = (gcnew System::Windows::Forms::Label());
  336. this->label3 = (gcnew System::Windows::Forms::Label());
  337. this->numericUpDown_TransResponse = (gcnew System::Windows::Forms::NumericUpDown());
  338. this->label_AutoCrankLength = (gcnew System::Windows::Forms::Label());
  339. this->label10 = (gcnew System::Windows::Forms::Label());
  340. this->label_CrankLengthStatus = (gcnew System::Windows::Forms::Label());
  341. this->label_CrankLength = (gcnew System::Windows::Forms::Label());
  342. this->label_SensorStatus = (gcnew System::Windows::Forms::Label());
  343. this->label6 = (gcnew System::Windows::Forms::Label());
  344. this->label5 = (gcnew System::Windows::Forms::Label());
  345. this->label4 = (gcnew System::Windows::Forms::Label());
  346. this->label_SWMistmatchStatus = (gcnew System::Windows::Forms::Label());
  347. this->label2 = (gcnew System::Windows::Forms::Label());
  348. this->checkBox_AutoCrank = (gcnew System::Windows::Forms::CheckBox());
  349. this->checkBox_InvalidCrankLength = (gcnew System::Windows::Forms::CheckBox());
  350. this->label1 = (gcnew System::Windows::Forms::Label());
  351. this->numericUpDown_CrankLength = (gcnew System::Windows::Forms::NumericUpDown());
  352. this->button_SetCrankStatus = (gcnew System::Windows::Forms::Button());
  353. this->button_GetCrankStatus = (gcnew System::Windows::Forms::Button());
  354. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  355. this->label_Trn_PedalDisplay = (gcnew System::Windows::Forms::Label());
  356. this->label_Trn_PedalPwrDisplay = (gcnew System::Windows::Forms::Label());
  357. this->label_Trn_PedalPwr = (gcnew System::Windows::Forms::Label());
  358. this->label_Trn_AccumPowerDisplay = (gcnew System::Windows::Forms::Label());
  359. this->label_Trn_AccumPower = (gcnew System::Windows::Forms::Label());
  360. this->label_Trn_AccumTwo = (gcnew System::Windows::Forms::Label());
  361. this->label_Trn_AccumOneDisplay = (gcnew System::Windows::Forms::Label());
  362. this->label_Trn_AccumOne = (gcnew System::Windows::Forms::Label());
  363. this->label_Trn_AccumTwoDisplay = (gcnew System::Windows::Forms::Label());
  364. this->label_Trn_AccumTitle = (gcnew System::Windows::Forms::Label());
  365. this->label_Trn_Slope = (gcnew System::Windows::Forms::Label());
  366. this->label_Trn_SlopeDisplay = (gcnew System::Windows::Forms::Label());
  367. this->label_Trn_UpdateCountDisplay = (gcnew System::Windows::Forms::Label());
  368. this->label_Trn_UpdateCount = (gcnew System::Windows::Forms::Label());
  369. this->label_Trn_EventCountDisplay = (gcnew System::Windows::Forms::Label());
  370. this->label_Trn_EventCount = (gcnew System::Windows::Forms::Label());
  371. this->label_Trn_InstPowerDisplay = (gcnew System::Windows::Forms::Label());
  372. this->label_InstPower = (gcnew System::Windows::Forms::Label());
  373. this->label_Trn_CadenceDisplay = (gcnew System::Windows::Forms::Label());
  374. this->label_Trn_Cadence = (gcnew System::Windows::Forms::Label());
  375. this->label_Trn_PageDisplay = (gcnew System::Windows::Forms::Label());
  376. this->label_Trn_Page = (gcnew System::Windows::Forms::Label());
  377. this->label_Trn_DisplayTitle = (gcnew System::Windows::Forms::Label());
  378. this->tabControl_TEPS = (gcnew System::Windows::Forms::TabPage());
  379. this->label8 = (gcnew System::Windows::Forms::Label());
  380. this->label9 = (gcnew System::Windows::Forms::Label());
  381. this->label11 = (gcnew System::Windows::Forms::Label());
  382. this->label12 = (gcnew System::Windows::Forms::Label());
  383. this->label_LeftTorqueEffectiveness = (gcnew System::Windows::Forms::Label());
  384. this->label_RightTorqueEffectiveness = (gcnew System::Windows::Forms::Label());
  385. this->label_LeftPedalSmoothness = (gcnew System::Windows::Forms::Label());
  386. this->label_RightPedalSmoothness = (gcnew System::Windows::Forms::Label());
  387. this->panel_Settings->SuspendLayout();
  388. this->tabControl_Settings->SuspendLayout();
  389. this->tabPage_Data->SuspendLayout();
  390. this->tabPage_Calibration->SuspendLayout();
  391. this->panel1->SuspendLayout();
  392. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Cal_CTFSlope))->BeginInit();
  393. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Cal_CTFSerial))->BeginInit();
  394. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Cal_WheelCircum))->BeginInit();
  395. this->tabPage_GlobalBattery->SuspendLayout();
  396. this->tabPage1->SuspendLayout();
  397. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_TransResponse))->BeginInit();
  398. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_CrankLength))->BeginInit();
  399. this->panel_Display->SuspendLayout();
  400. this->tabControl_TEPS->SuspendLayout();
  401. this->SuspendLayout();
  402. //
  403. // panel_Settings
  404. //
  405. this->panel_Settings->Controls->Add(this->tabControl_Settings);
  406. this->panel_Settings->Location = System::Drawing::Point(322, 50);
  407. this->panel_Settings->Name = L"panel_Settings";
  408. this->panel_Settings->Size = System::Drawing::Size(400, 140);
  409. this->panel_Settings->TabIndex = 0;
  410. //
  411. // tabControl_Settings
  412. //
  413. this->tabControl_Settings->Controls->Add(this->tabPage_Data);
  414. this->tabControl_Settings->Controls->Add(this->tabPage_Calibration);
  415. this->tabControl_Settings->Controls->Add(this->tabPage_GlobalBattery);
  416. this->tabControl_Settings->Controls->Add(this->tabPage1);
  417. this->tabControl_Settings->Controls->Add(this->tabControl_TEPS);
  418. this->tabControl_Settings->Location = System::Drawing::Point(0, 3);
  419. this->tabControl_Settings->Name = L"tabControl_Settings";
  420. this->tabControl_Settings->SelectedIndex = 0;
  421. this->tabControl_Settings->Size = System::Drawing::Size(397, 137);
  422. this->tabControl_Settings->TabIndex = 10;
  423. //
  424. // tabPage_Data
  425. //
  426. this->tabPage_Data->Controls->Add(this->label_Dat_PedalDisplay);
  427. this->tabPage_Data->Controls->Add(this->label_Dat_PedalPwrDisplay);
  428. this->tabPage_Data->Controls->Add(this->label_Dat_PedalPwr);
  429. this->tabPage_Data->Controls->Add(this->label_Dat_CTFOffsetDisplay);
  430. this->tabPage_Data->Controls->Add(this->label_Dat_CTFOffset);
  431. this->tabPage_Data->Controls->Add(this->label_Dat_SlopeDisplay);
  432. this->tabPage_Data->Controls->Add(this->label_Dat_Slope);
  433. this->tabPage_Data->Controls->Add(this->label_Dat_InstCadenceDisplay);
  434. this->tabPage_Data->Controls->Add(this->label_Dat_InstCadence);
  435. this->tabPage_Data->Controls->Add(this->label_Dat_DistDisplay);
  436. this->tabPage_Data->Controls->Add(this->label_Dat_Dist);
  437. this->tabPage_Data->Controls->Add(this->label_Dat_SpeedDisplay);
  438. this->tabPage_Data->Controls->Add(this->label_Dat_Speed);
  439. this->tabPage_Data->Controls->Add(this->label_Dat_CalcRPMDisplay);
  440. this->tabPage_Data->Controls->Add(this->label_Dat_CalcRPM);
  441. this->tabPage_Data->Controls->Add(this->label_Dat_InstPowerDisplay);
  442. this->tabPage_Data->Controls->Add(this->label_Dat_InstPower);
  443. this->tabPage_Data->Controls->Add(this->label_Dat_CalcPowerDisplay);
  444. this->tabPage_Data->Controls->Add(this->label_Dat_EventCountDisplay);
  445. this->tabPage_Data->Controls->Add(this->label_Dat_UpdateCountDisplay);
  446. this->tabPage_Data->Controls->Add(this->label_Dat_CalcPower);
  447. this->tabPage_Data->Controls->Add(this->label_Dat_EventCount);
  448. this->tabPage_Data->Controls->Add(this->label_Dat_UpdateCount);
  449. this->tabPage_Data->Controls->Add(this->label_Dat_Coasting);
  450. this->tabPage_Data->Controls->Add(this->label_Dat_Stopped);
  451. this->tabPage_Data->Controls->Add(this->label_Dat_PageRec);
  452. this->tabPage_Data->Controls->Add(this->label_Dat_TorqueDisplay);
  453. this->tabPage_Data->Controls->Add(this->label_Dat_Torque);
  454. this->tabPage_Data->Controls->Add(this->label_Dat_AngVelDisplay);
  455. this->tabPage_Data->Controls->Add(this->label_Dat_AngVel);
  456. this->tabPage_Data->Controls->Add(this->label_Dat_PageRecDisplay);
  457. this->tabPage_Data->Location = System::Drawing::Point(4, 22);
  458. this->tabPage_Data->Name = L"tabPage_Data";
  459. this->tabPage_Data->Size = System::Drawing::Size(389, 111);
  460. this->tabPage_Data->TabIndex = 6;
  461. this->tabPage_Data->Text = L"Data";
  462. this->tabPage_Data->UseVisualStyleBackColor = true;
  463. //
  464. // label_Dat_PedalDisplay
  465. //
  466. this->label_Dat_PedalDisplay->AutoSize = true;
  467. this->label_Dat_PedalDisplay->Location = System::Drawing::Point(139, 17);
  468. this->label_Dat_PedalDisplay->Name = L"label_Dat_PedalDisplay";
  469. this->label_Dat_PedalDisplay->Size = System::Drawing::Size(16, 13);
  470. this->label_Dat_PedalDisplay->TabIndex = 55;
  471. this->label_Dat_PedalDisplay->Text = L"---";
  472. //
  473. // label_Dat_PedalPwrDisplay
  474. //
  475. this->label_Dat_PedalPwrDisplay->AutoSize = true;
  476. this->label_Dat_PedalPwrDisplay->Location = System::Drawing::Point(110, 17);
  477. this->label_Dat_PedalPwrDisplay->Name = L"label_Dat_PedalPwrDisplay";
  478. this->label_Dat_PedalPwrDisplay->Size = System::Drawing::Size(16, 13);
  479. this->label_Dat_PedalPwrDisplay->TabIndex = 54;
  480. this->label_Dat_PedalPwrDisplay->Text = L"---";
  481. //
  482. // label_Dat_PedalPwr
  483. //
  484. this->label_Dat_PedalPwr->AutoSize = true;
  485. this->label_Dat_PedalPwr->Location = System::Drawing::Point(27, 17);
  486. this->label_Dat_PedalPwr->Name = L"label_Dat_PedalPwr";
  487. this->label_Dat_PedalPwr->Size = System::Drawing::Size(84, 13);
  488. this->label_Dat_PedalPwr->TabIndex = 53;
  489. this->label_Dat_PedalPwr->Text = L"Pedal Power(%):";
  490. //
  491. // label_Dat_CTFOffsetDisplay
  492. //
  493. this->label_Dat_CTFOffsetDisplay->AutoSize = true;
  494. this->label_Dat_CTFOffsetDisplay->Location = System::Drawing::Point(111, 98);
  495. this->label_Dat_CTFOffsetDisplay->Name = L"label_Dat_CTFOffsetDisplay";
  496. this->label_Dat_CTFOffsetDisplay->Size = System::Drawing::Size(16, 13);
  497. this->label_Dat_CTFOffsetDisplay->TabIndex = 52;
  498. this->label_Dat_CTFOffsetDisplay->Text = L"---";
  499. //
  500. // label_Dat_CTFOffset
  501. //
  502. this->label_Dat_CTFOffset->AutoSize = true;
  503. this->label_Dat_CTFOffset->Location = System::Drawing::Point(44, 97);
  504. this->label_Dat_CTFOffset->Name = L"label_Dat_CTFOffset";
  505. this->label_Dat_CTFOffset->Size = System::Drawing::Size(61, 13);
  506. this->label_Dat_CTFOffset->TabIndex = 51;
  507. this->label_Dat_CTFOffset->Text = L"CTF Offset:";
  508. //
  509. // label_Dat_SlopeDisplay
  510. //
  511. this->label_Dat_SlopeDisplay->AutoSize = true;
  512. this->label_Dat_SlopeDisplay->Location = System::Drawing::Point(111, 85);
  513. this->label_Dat_SlopeDisplay->Name = L"label_Dat_SlopeDisplay";
  514. this->label_Dat_SlopeDisplay->Size = System::Drawing::Size(16, 13);
  515. this->label_Dat_SlopeDisplay->TabIndex = 50;
  516. this->label_Dat_SlopeDisplay->Text = L"---";
  517. //
  518. // label_Dat_Slope
  519. //
  520. this->label_Dat_Slope->AutoSize = true;
  521. this->label_Dat_Slope->Location = System::Drawing::Point(25, 84);
  522. this->label_Dat_Slope->Name = L"label_Dat_Slope";
  523. this->label_Dat_Slope->Size = System::Drawing::Size(80, 13);
  524. this->label_Dat_Slope->TabIndex = 49;
  525. this->label_Dat_Slope->Text = L"Slope (Nm/Hz):";
  526. //
  527. // label_Dat_InstCadenceDisplay
  528. //
  529. this->label_Dat_InstCadenceDisplay->AutoSize = true;
  530. this->label_Dat_InstCadenceDisplay->Location = System::Drawing::Point(111, 72);
  531. this->label_Dat_InstCadenceDisplay->Name = L"label_Dat_InstCadenceDisplay";
  532. this->label_Dat_InstCadenceDisplay->Size = System::Drawing::Size(16, 13);
  533. this->label_Dat_InstCadenceDisplay->TabIndex = 36;
  534. this->label_Dat_InstCadenceDisplay->Text = L"---";
  535. //
  536. // label_Dat_InstCadence
  537. //
  538. this->label_Dat_InstCadence->AutoSize = true;
  539. this->label_Dat_InstCadence->Location = System::Drawing::Point(29, 71);
  540. this->label_Dat_InstCadence->Name = L"label_Dat_InstCadence";
  541. this->label_Dat_InstCadence->Size = System::Drawing::Size(76, 13);
  542. this->label_Dat_InstCadence->TabIndex = 26;
  543. this->label_Dat_InstCadence->Text = L"Inst. Cadence:";
  544. //
  545. // label_Dat_DistDisplay
  546. //
  547. this->label_Dat_DistDisplay->AutoSize = true;
  548. this->label_Dat_DistDisplay->Location = System::Drawing::Point(288, 92);
  549. this->label_Dat_DistDisplay->Name = L"label_Dat_DistDisplay";
  550. this->label_Dat_DistDisplay->Size = System::Drawing::Size(16, 13);
  551. this->label_Dat_DistDisplay->TabIndex = 44;
  552. this->label_Dat_DistDisplay->Text = L"---";
  553. //
  554. // label_Dat_Dist
  555. //
  556. this->label_Dat_Dist->AutoSize = true;
  557. this->label_Dat_Dist->Location = System::Drawing::Point(230, 92);
  558. this->label_Dat_Dist->Name = L"label_Dat_Dist";
  559. this->label_Dat_Dist->Size = System::Drawing::Size(52, 13);
  560. this->label_Dat_Dist->TabIndex = 33;
  561. this->label_Dat_Dist->Text = L"Distance:";
  562. //
  563. // label_Dat_SpeedDisplay
  564. //
  565. this->label_Dat_SpeedDisplay->AutoSize = true;
  566. this->label_Dat_SpeedDisplay->Location = System::Drawing::Point(288, 79);
  567. this->label_Dat_SpeedDisplay->Name = L"label_Dat_SpeedDisplay";
  568. this->label_Dat_SpeedDisplay->Size = System::Drawing::Size(16, 13);
  569. this->label_Dat_SpeedDisplay->TabIndex = 43;
  570. this->label_Dat_SpeedDisplay->Text = L"---";
  571. //
  572. // label_Dat_Speed
  573. //
  574. this->label_Dat_Speed->AutoSize = true;
  575. this->label_Dat_Speed->Location = System::Drawing::Point(214, 79);
  576. this->label_Dat_Speed->Name = L"label_Dat_Speed";
  577. this->label_Dat_Speed->Size = System::Drawing::Size(68, 13);
  578. this->label_Dat_Speed->TabIndex = 32;
  579. this->label_Dat_Speed->Text = L"Speed (kph):";
  580. //
  581. // label_Dat_CalcRPMDisplay
  582. //
  583. this->label_Dat_CalcRPMDisplay->AutoSize = true;
  584. this->label_Dat_CalcRPMDisplay->Location = System::Drawing::Point(288, 66);
  585. this->label_Dat_CalcRPMDisplay->Name = L"label_Dat_CalcRPMDisplay";
  586. this->label_Dat_CalcRPMDisplay->Size = System::Drawing::Size(16, 13);
  587. this->label_Dat_CalcRPMDisplay->TabIndex = 42;
  588. this->label_Dat_CalcRPMDisplay->Text = L"---";
  589. //
  590. // label_Dat_CalcRPM
  591. //
  592. this->label_Dat_CalcRPM->AutoSize = true;
  593. this->label_Dat_CalcRPM->Location = System::Drawing::Point(176, 66);
  594. this->label_Dat_CalcRPM->Name = L"label_Dat_CalcRPM";
  595. this->label_Dat_CalcRPM->Size = System::Drawing::Size(105, 13);
  596. this->label_Dat_CalcRPM->TabIndex = 29;
  597. this->label_Dat_CalcRPM->Text = L"Calc. RPM@Sensor:";
  598. //
  599. // label_Dat_InstPowerDisplay
  600. //
  601. this->label_Dat_InstPowerDisplay->AutoSize = true;
  602. this->label_Dat_InstPowerDisplay->Location = System::Drawing::Point(111, 59);
  603. this->label_Dat_InstPowerDisplay->Name = L"label_Dat_InstPowerDisplay";
  604. this->label_Dat_InstPowerDisplay->Size = System::Drawing::Size(16, 13);
  605. this->label_Dat_InstPowerDisplay->TabIndex = 46;
  606. this->label_Dat_InstPowerDisplay->Text = L"---";
  607. //
  608. // label_Dat_InstPower
  609. //
  610. this->label_Dat_InstPower->AutoSize = true;
  611. this->label_Dat_InstPower->Location = System::Drawing::Point(42, 58);
  612. this->label_Dat_InstPower->Name = L"label_Dat_InstPower";
  613. this->label_Dat_InstPower->Size = System::Drawing::Size(63, 13);
  614. this->label_Dat_InstPower->TabIndex = 45;
  615. this->label_Dat_InstPower->Text = L"Inst. Power:";
  616. //
  617. // label_Dat_CalcPowerDisplay
  618. //
  619. this->label_Dat_CalcPowerDisplay->AutoSize = true;
  620. this->label_Dat_CalcPowerDisplay->Location = System::Drawing::Point(288, 46);
  621. this->label_Dat_CalcPowerDisplay->Name = L"label_Dat_CalcPowerDisplay";
  622. this->label_Dat_CalcPowerDisplay->Size = System::Drawing::Size(16, 13);
  623. this->label_Dat_CalcPowerDisplay->TabIndex = 41;
  624. this->label_Dat_CalcPowerDisplay->Text = L"---";
  625. //
  626. // label_Dat_EventCountDisplay
  627. //
  628. this->label_Dat_EventCountDisplay->AutoSize = true;
  629. this->label_Dat_EventCountDisplay->Location = System::Drawing::Point(111, 46);
  630. this->label_Dat_EventCountDisplay->Name = L"label_Dat_EventCountDisplay";
  631. this->label_Dat_EventCountDisplay->Size = System::Drawing::Size(16, 13);
  632. this->label_Dat_EventCountDisplay->TabIndex = 35;
  633. this->label_Dat_EventCountDisplay->Text = L"---";
  634. //
  635. // label_Dat_UpdateCountDisplay
  636. //
  637. this->label_Dat_UpdateCountDisplay->AutoSize = true;
  638. this->label_Dat_UpdateCountDisplay->Location = System::Drawing::Point(111, 33);
  639. this->label_Dat_UpdateCountDisplay->Name = L"label_Dat_UpdateCountDisplay";
  640. this->label_Dat_UpdateCountDisplay->Size = System::Drawing::Size(16, 13);
  641. this->label_Dat_UpdateCountDisplay->TabIndex = 34;
  642. this->label_Dat_UpdateCountDisplay->Text = L"---";
  643. //
  644. // label_Dat_CalcPower
  645. //
  646. this->label_Dat_CalcPower->AutoSize = true;
  647. this->label_Dat_CalcPower->Location = System::Drawing::Point(189, 46);
  648. this->label_Dat_CalcPower->Name = L"label_Dat_CalcPower";
  649. this->label_Dat_CalcPower->Size = System::Drawing::Size(93, 13);
  650. this->label_Dat_CalcPower->TabIndex = 25;
  651. this->label_Dat_CalcPower->Text = L"Calculated Power:";
  652. //
  653. // label_Dat_EventCount
  654. //
  655. this->label_Dat_EventCount->AutoSize = true;
  656. this->label_Dat_EventCount->Location = System::Drawing::Point(36, 45);
  657. this->label_Dat_EventCount->Name = L"label_Dat_EventCount";
  658. this->label_Dat_EventCount->Size = System::Drawing::Size(69, 13);
  659. this->label_Dat_EventCount->TabIndex = 24;
  660. this->label_Dat_EventCount->Text = L"Event Count:";
  661. //
  662. // label_Dat_UpdateCount
  663. //
  664. this->label_Dat_UpdateCount->AutoSize = true;
  665. this->label_Dat_UpdateCount->Location = System::Drawing::Point(29, 32);
  666. this->label_Dat_UpdateCount->Name = L"label_Dat_UpdateCount";
  667. this->label_Dat_UpdateCount->Size = System::Drawing::Size(76, 13);
  668. this->label_Dat_UpdateCount->TabIndex = 23;
  669. this->label_Dat_UpdateCount->Text = L"Update Count:";
  670. //
  671. // label_Dat_Coasting
  672. //
  673. this->label_Dat_Coasting->AutoSize = true;
  674. this->label_Dat_Coasting->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  675. static_cast<System::Byte>(0)));
  676. this->label_Dat_Coasting->ForeColor = System::Drawing::Color::Red;
  677. this->label_Dat_Coasting->Location = System::Drawing::Point(329, 30);
  678. this->label_Dat_Coasting->Name = L"label_Dat_Coasting";
  679. this->label_Dat_Coasting->Size = System::Drawing::Size(56, 13);
  680. this->label_Dat_Coasting->TabIndex = 21;
  681. this->label_Dat_Coasting->Text = L"Coasting";
  682. //
  683. // label_Dat_Stopped
  684. //
  685. this->label_Dat_Stopped->AutoSize = true;
  686. this->label_Dat_Stopped->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  687. static_cast<System::Byte>(0)));
  688. this->label_Dat_Stopped->ForeColor = System::Drawing::Color::Red;
  689. this->label_Dat_Stopped->Location = System::Drawing::Point(329, 82);
  690. this->label_Dat_Stopped->Name = L"label_Dat_Stopped";
  691. this->label_Dat_Stopped->Size = System::Drawing::Size(54, 13);
  692. this->label_Dat_Stopped->TabIndex = 19;
  693. this->label_Dat_Stopped->Text = L"Stopped";
  694. //
  695. // label_Dat_PageRec
  696. //
  697. this->label_Dat_PageRec->AutoSize = true;
  698. this->label_Dat_PageRec->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  699. static_cast<System::Byte>(0)));
  700. this->label_Dat_PageRec->Location = System::Drawing::Point(4, 3);
  701. this->label_Dat_PageRec->Name = L"label_Dat_PageRec";
  702. this->label_Dat_PageRec->Size = System::Drawing::Size(82, 13);
  703. this->label_Dat_PageRec->TabIndex = 20;
  704. this->label_Dat_PageRec->Text = L"Sensor Type:";
  705. //
  706. // label_Dat_TorqueDisplay
  707. //
  708. this->label_Dat_TorqueDisplay->AutoSize = true;
  709. this->label_Dat_TorqueDisplay->Location = System::Drawing::Point(288, 33);
  710. this->label_Dat_TorqueDisplay->Name = L"label_Dat_TorqueDisplay";
  711. this->label_Dat_TorqueDisplay->Size = System::Drawing::Size(16, 13);
  712. this->label_Dat_TorqueDisplay->TabIndex = 40;
  713. this->label_Dat_TorqueDisplay->Text = L"---";
  714. //
  715. // label_Dat_Torque
  716. //
  717. this->label_Dat_Torque->AutoSize = true;
  718. this->label_Dat_Torque->Location = System::Drawing::Point(238, 33);
  719. this->label_Dat_Torque->Name = L"label_Dat_Torque";
  720. this->label_Dat_Torque->Size = System::Drawing::Size(44, 13);
  721. this->label_Dat_Torque->TabIndex = 31;
  722. this->label_Dat_Torque->Text = L"Torque:";
  723. //
  724. // label_Dat_AngVelDisplay
  725. //
  726. this->label_Dat_AngVelDisplay->AutoSize = true;
  727. this->label_Dat_AngVelDisplay->Location = System::Drawing::Point(288, 20);
  728. this->label_Dat_AngVelDisplay->Name = L"label_Dat_AngVelDisplay";
  729. this->label_Dat_AngVelDisplay->Size = System::Drawing::Size(16, 13);
  730. this->label_Dat_AngVelDisplay->TabIndex = 39;
  731. this->label_Dat_AngVelDisplay->Text = L"---";
  732. //
  733. // label_Dat_AngVel
  734. //
  735. this->label_Dat_AngVel->AutoSize = true;
  736. this->label_Dat_AngVel->Location = System::Drawing::Point(196, 20);
  737. this->label_Dat_AngVel->Name = L"label_Dat_AngVel";
  738. this->label_Dat_AngVel->Size = System::Drawing::Size(86, 13);
  739. this->label_Dat_AngVel->TabIndex = 30;
  740. this->label_Dat_AngVel->Text = L"Angular Velocity:";
  741. //
  742. // label_Dat_PageRecDisplay
  743. //
  744. this->label_Dat_PageRecDisplay->AutoSize = true;
  745. this->label_Dat_PageRecDisplay->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold,
  746. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  747. this->label_Dat_PageRecDisplay->Location = System::Drawing::Point(104, 3);
  748. this->label_Dat_PageRecDisplay->Name = L"label_Dat_PageRecDisplay";
  749. this->label_Dat_PageRecDisplay->Size = System::Drawing::Size(19, 13);
  750. this->label_Dat_PageRecDisplay->TabIndex = 22;
  751. this->label_Dat_PageRecDisplay->Text = L"---";
  752. //
  753. // tabPage_Calibration
  754. //
  755. this->tabPage_Calibration->Controls->Add(this->label_Cal_StatusDisplay);
  756. this->tabPage_Calibration->Controls->Add(this->label_Cal_Status);
  757. this->tabPage_Calibration->Controls->Add(this->panel1);
  758. this->tabPage_Calibration->Controls->Add(this->label_Cal_RawTorqueDisplay);
  759. this->tabPage_Calibration->Controls->Add(this->label_Cal_OffsetTorqueDisplay);
  760. this->tabPage_Calibration->Controls->Add(this->label_Cal_CalNumberDisplay);
  761. this->tabPage_Calibration->Controls->Add(this->numericUpDown_Cal_WheelCircum);
  762. this->tabPage_Calibration->Controls->Add(this->button_Cal_Calibrate);
  763. this->tabPage_Calibration->Controls->Add(this->label_Cal_WheelCircum);
  764. this->tabPage_Calibration->Controls->Add(this->label_Cal_TorqOffset);
  765. this->tabPage_Calibration->Controls->Add(this->label_Cal_AZStatus);
  766. this->tabPage_Calibration->Controls->Add(this->listBox_Cal_AZStatus);
  767. this->tabPage_Calibration->Controls->Add(this->label_Cal_CalNum);
  768. this->tabPage_Calibration->Controls->Add(this->label_Cal_RawTorq);
  769. this->tabPage_Calibration->Controls->Add(this->label_Cal_SetLabel);
  770. this->tabPage_Calibration->Location = System::Drawing::Point(4, 22);
  771. this->tabPage_Calibration->Name = L"tabPage_Calibration";
  772. this->tabPage_Calibration->Size = System::Drawing::Size(389, 111);
  773. this->tabPage_Calibration->TabIndex = 5;
  774. this->tabPage_Calibration->Text = L"Calibration";
  775. this->tabPage_Calibration->UseVisualStyleBackColor = true;
  776. //
  777. // label_Cal_StatusDisplay
  778. //
  779. this->label_Cal_StatusDisplay->AutoSize = true;
  780. this->label_Cal_StatusDisplay->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold,
  781. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  782. this->label_Cal_StatusDisplay->Location = System::Drawing::Point(4, 91);
  783. this->label_Cal_StatusDisplay->Name = L"label_Cal_StatusDisplay";
  784. this->label_Cal_StatusDisplay->Size = System::Drawing::Size(35, 13);
  785. this->label_Cal_StatusDisplay->TabIndex = 70;
  786. this->label_Cal_StatusDisplay->Text = L"none";
  787. //
  788. // label_Cal_Status
  789. //
  790. this->label_Cal_Status->AutoSize = true;
  791. this->label_Cal_Status->Location = System::Drawing::Point(4, 78);
  792. this->label_Cal_Status->Name = L"label_Cal_Status";
  793. this->label_Cal_Status->Size = System::Drawing::Size(37, 13);
  794. this->label_Cal_Status->TabIndex = 71;
  795. this->label_Cal_Status->Text = L"Status";
  796. //
  797. // panel1
  798. //
  799. this->panel1->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
  800. this->panel1->Controls->Add(this->button_Cal_CTFSlopeSet);
  801. this->panel1->Controls->Add(this->radioButton_Cal_AZoff);
  802. this->panel1->Controls->Add(this->button_Cal_AutoZeroSet);
  803. this->panel1->Controls->Add(this->numericUpDown_Cal_CTFSlope);
  804. this->panel1->Controls->Add(this->radioButton_Cal_AZon);
  805. this->panel1->Controls->Add(this->button_Cal_CTFSerialSet);
  806. this->panel1->Controls->Add(this->numericUpDown_Cal_CTFSerial);
  807. this->panel1->Location = System::Drawing::Point(49, 32);
  808. this->panel1->Margin = System::Windows::Forms::Padding(1);
  809. this->panel1->Name = L"panel1";
  810. this->panel1->Size = System::Drawing::Size(184, 56);
  811. this->panel1->TabIndex = 69;
  812. //
  813. // button_Cal_CTFSlopeSet
  814. //
  815. this->button_Cal_CTFSlopeSet->Enabled = false;
  816. this->button_Cal_CTFSlopeSet->Location = System::Drawing::Point(129, 1);
  817. this->button_Cal_CTFSlopeSet->Name = L"button_Cal_CTFSlopeSet";
  818. this->button_Cal_CTFSlopeSet->Size = System::Drawing::Size(48, 23);
  819. this->button_Cal_CTFSlopeSet->TabIndex = 67;
  820. this->button_Cal_CTFSlopeSet->Text = L"Slope";
  821. this->button_Cal_CTFSlopeSet->UseVisualStyleBackColor = true;
  822. this->button_Cal_CTFSlopeSet->Click += gcnew System::EventHandler(this, &BikePowerDisplay::button_Cal_CTFSlopeSet_Click);
  823. //
  824. // radioButton_Cal_AZoff
  825. //
  826. this->radioButton_Cal_AZoff->AutoSize = true;
  827. this->radioButton_Cal_AZoff->Enabled = false;
  828. this->radioButton_Cal_AZoff->Location = System::Drawing::Point(14, 38);
  829. this->radioButton_Cal_AZoff->Name = L"radioButton_Cal_AZoff";
  830. this->radioButton_Cal_AZoff->Size = System::Drawing::Size(39, 17);
  831. this->radioButton_Cal_AZoff->TabIndex = 61;
  832. this->radioButton_Cal_AZoff->Text = L"Off";
  833. this->radioButton_Cal_AZoff->UseVisualStyleBackColor = true;
  834. this->radioButton_Cal_AZoff->CheckedChanged += gcnew System::EventHandler(this, &BikePowerDisplay::radioButton_Cal_AZ_CheckedChanged);
  835. //
  836. // button_Cal_AutoZeroSet
  837. //
  838. this->button_Cal_AutoZeroSet->Enabled = false;
  839. this->button_Cal_AutoZeroSet->Location = System::Drawing::Point(4, 1);
  840. this->button_Cal_AutoZeroSet->Name = L"button_Cal_AutoZeroSet";
  841. this->button_Cal_AutoZeroSet->Size = System::Drawing::Size(63, 23);
  842. this->button_Cal_AutoZeroSet->TabIndex = 63;
  843. this->button_Cal_AutoZeroSet->Text = L"AutoZero";
  844. this->button_Cal_AutoZeroSet->UseVisualStyleBackColor = true;
  845. this->button_Cal_AutoZeroSet->Click += gcnew System::EventHandler(this, &BikePowerDisplay::button_Cal_AutoZeroSet_Click);
  846. //
  847. // numericUpDown_Cal_CTFSlope
  848. //
  849. this->numericUpDown_Cal_CTFSlope->DecimalPlaces = 1;
  850. this->numericUpDown_Cal_CTFSlope->Enabled = false;
  851. this->numericUpDown_Cal_CTFSlope->Location = System::Drawing::Point(128, 24);
  852. this->numericUpDown_Cal_CTFSlope->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {50, 0, 0, 0});
  853. this->numericUpDown_Cal_CTFSlope->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10, 0, 0, 0});
  854. this->numericUpDown_Cal_CTFSlope->Name = L"numericUpDown_Cal_CTFSlope";
  855. this->numericUpDown_Cal_CTFSlope->Size = System::Drawing::Size(49, 20);
  856. this->numericUpDown_Cal_CTFSlope->TabIndex = 65;
  857. this->numericUpDown_Cal_CTFSlope->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {15, 0, 0, 0});
  858. this->numericUpDown_Cal_CTFSlope->ValueChanged += gcnew System::EventHandler(this, &BikePowerDisplay::numericUpDown_Cal_CTFSlope_ValueChanged);
  859. //
  860. // radioButton_Cal_AZon
  861. //
  862. this->radioButton_Cal_AZon->AutoSize = true;
  863. this->radioButton_Cal_AZon->Checked = true;
  864. this->radioButton_Cal_AZon->Enabled = false;
  865. this->radioButton_Cal_AZon->Location = System::Drawing::Point(14, 23);
  866. this->radioButton_Cal_AZon->Name = L"radioButton_Cal_AZon";
  867. this->radioButton_Cal_AZon->Size = System::Drawing::Size(39, 17);
  868. this->radioButton_Cal_AZon->TabIndex = 62;
  869. this->radioButton_Cal_AZon->TabStop = true;
  870. this->radioButton_Cal_AZon->Text = L"On";
  871. this->radioButton_Cal_AZon->UseVisualStyleBackColor = true;
  872. this->radioButton_Cal_AZon->CheckedChanged += gcnew System::EventHandler(this, &BikePowerDisplay::radioButton_Cal_AZ_CheckedChanged);
  873. //
  874. // button_Cal_CTFSerialSet
  875. //
  876. this->button_Cal_CTFSerialSet->Enabled = false;
  877. this->button_Cal_CTFSerialSet->Location = System::Drawing::Point(73, 1);
  878. this->button_Cal_CTFSerialSet->Name = L"button_Cal_CTFSerialSet";
  879. this->button_Cal_CTFSerialSet->Size = System::Drawing::Size(46, 23);
  880. this->button_Cal_CTFSerialSet->TabIndex = 66;
  881. this->button_Cal_CTFSerialSet->Text = L"Serial";
  882. this->button_Cal_CTFSerialSet->UseVisualStyleBackColor = true;
  883. this->button_Cal_CTFSerialSet->Click += gcnew System::EventHandler(this, &BikePowerDisplay::button_Cal_CTFSerialSet_Click);
  884. //
  885. // numericUpDown_Cal_CTFSerial
  886. //
  887. this->numericUpDown_Cal_CTFSerial->Enabled = false;
  888. this->numericUpDown_Cal_CTFSerial->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {123, 0, 0, 0});
  889. this->numericUpDown_Cal_CTFSerial->Location = System::Drawing::Point(69, 24);
  890. this->numericUpDown_Cal_CTFSerial->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {65535, 0, 0, 0});
  891. this->numericUpDown_Cal_CTFSerial->Name = L"numericUpDown_Cal_CTFSerial";
  892. this->numericUpDown_Cal_CTFSerial->Size = System::Drawing::Size(55, 20);
  893. this->numericUpDown_Cal_CTFSerial->TabIndex = 64;
  894. this->numericUpDown_Cal_CTFSerial->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {54321, 0, 0, 0});
  895. this->numericUpDown_Cal_CTFSerial->ValueChanged += gcnew System::EventHandler(this, &BikePowerDisplay::numericUpDown_Cal_CTFSerial_ValueChanged);
  896. //
  897. // label_Cal_RawTorqueDisplay
  898. //
  899. this->label_Cal_RawTorqueDisplay->AutoSize = true;
  900. this->label_Cal_RawTorqueDisplay->Location = System::Drawing::Point(325, 88);
  901. this->label_Cal_RawTorqueDisplay->Name = L"label_Cal_RawTorqueDisplay";
  902. this->label_Cal_RawTorqueDisplay->Size = System::Drawing::Size(16, 13);
  903. this->label_Cal_RawTorqueDisplay->TabIndex = 60;
  904. this->label_Cal_RawTorqueDisplay->Text = L"---";
  905. //
  906. // label_Cal_OffsetTorqueDisplay
  907. //
  908. this->label_Cal_OffsetTorqueDisplay->AutoSize = true;
  909. this->label_Cal_OffsetTorqueDisplay->Location = System::Drawing::Point(250, 88);
  910. this->label_Cal_OffsetTorqueDisplay->Name = L"label_Cal_OffsetTorqueDisplay";
  911. this->label_Cal_OffsetTorqueDisplay->Size = System::Drawing::Size(16, 13);
  912. this->label_Cal_OffsetTorqueDisplay->TabIndex = 59;
  913. this->label_Cal_OffsetTorqueDisplay->Text = L"---";
  914. //
  915. // label_Cal_CalNumberDisplay
  916. //
  917. this->label_Cal_CalNumberDisplay->AutoSize = true;
  918. this->label_Cal_CalNumberDisplay->Location = System::Drawing::Point(202, 13);
  919. this->label_Cal_CalNumberDisplay->Name = L"label_Cal_CalNumberDisplay";
  920. this->label_Cal_CalNumberDisplay->Size = System::Drawing::Size(16, 13);
  921. this->label_Cal_CalNumberDisplay->TabIndex = 58;
  922. this->label_Cal_CalNumberDisplay->Text = L"---";
  923. //
  924. // numericUpDown_Cal_WheelCircum
  925. //
  926. this->numericUpDown_Cal_WheelCircum->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {5, 0, 0, 0});
  927. this->numericUpDown_Cal_WheelCircum->Location = System::Drawing::Point(184, 89);
  928. this->numericUpDown_Cal_WheelCircum->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
  929. this->numericUpDown_Cal_WheelCircum->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
  930. this->numericUpDown_Cal_WheelCircum->Name = L"numericUpDown_Cal_WheelCircum";
  931. this->numericUpDown_Cal_WheelCircum->Size = System::Drawing::Size(47, 20);
  932. this->numericUpDown_Cal_WheelCircum->TabIndex = 56;
  933. this->numericUpDown_Cal_WheelCircum->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {207, 0, 0, 0});
  934. this->numericUpDown_Cal_WheelCircum->ValueChanged += gcnew System::EventHandler(this, &BikePowerDisplay::numericUpDown_Cal_WheelCircum_ValueChanged);
  935. //
  936. // button_Cal_Calibrate
  937. //
  938. this->button_Cal_Calibrate->Location = System::Drawing::Point(27, 8);
  939. this->button_Cal_Calibrate->Name = L"button_Cal_Calibrate";
  940. this->button_Cal_Calibrate->Size = System::Drawing::Size(141, 23);
  941. this->button_Cal_Calibrate->TabIndex = 42;
  942. this->button_Cal_Calibrate->Text = L"Send Calibration Request";
  943. this->button_Cal_Calibrate->UseVisualStyleBackColor = true;
  944. this->button_Cal_Calibrate->Click += gcnew System::EventHandler(this, &BikePowerDisplay::button_Cal_Calibrate_Click);
  945. //
  946. // label_Cal_WheelCircum
  947. //
  948. this->label_Cal_WheelCircum->AutoSize = true;
  949. this->label_Cal_WheelCircum->Location = System::Drawing::Point(49, 91);
  950. this->label_Cal_WheelCircum->Name = L"label_Cal_WheelCircum";
  951. this->label_Cal_WheelCircum->Size = System::Drawing::Size(135, 13);
  952. this->label_Cal_WheelCircum->TabIndex = 57;
  953. this->label_Cal_WheelCircum->Text = L"Wheel Circumference (cm):";
  954. //
  955. // label_Cal_TorqOffset
  956. //
  957. this->label_Cal_TorqOffset->AutoSize = true;
  958. this->label_Cal_TorqOffset->Location = System::Drawing::Point(239, 72);
  959. this->label_Cal_TorqOffset->Name = L"label_Cal_TorqOffset";
  960. this->label_Cal_TorqOffset->Size = System::Drawing::Size(75, 13);
  961. this->label_Cal_TorqOffset->TabIndex = 33;
  962. this->label_Cal_TorqOffset->Text = L"Offset Torque:";
  963. //
  964. // label_Cal_AZStatus
  965. //
  966. this->label_Cal_AZStatus->AutoSize = true;
  967. this->label_Cal_AZStatus->Location = System::Drawing::Point(250, 8);
  968. this->label_Cal_AZStatus->Name = L"label_Cal_AZStatus";
  969. this->label_Cal_AZStatus->Size = System::Drawing::Size(124, 13);
  970. this->label_Cal_AZStatus->TabIndex = 29;
  971. this->label_Cal_AZStatus->Text = L"Current Auto Zero Status";
  972. //
  973. // listBox_Cal_AZStatus
  974. //
  975. this->listBox_Cal_AZStatus->Enabled = false;
  976. this->listBox_Cal_AZStatus->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold,
  977. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  978. this->listBox_Cal_AZStatus->FormattingEnabled = true;
  979. this->listBox_Cal_AZStatus->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"0 - Off", L"1 - On", L"FF- Not Supported"});
  980. this->listBox_Cal_AZStatus->Location = System::Drawing::Point(253, 25);
  981. this->listBox_Cal_AZStatus->Name = L"listBox_Cal_AZStatus";
  982. this->listBox_Cal_AZStatus->Size = System::Drawing::Size(120, 43);
  983. this->listBox_Cal_AZStatus->TabIndex = 39;
  984. //
  985. // label_Cal_CalNum
  986. //
  987. this->label_Cal_CalNum->AutoSize = true;
  988. this->label_Cal_CalNum->Location = System::Drawing::Point(169, 13);
  989. this->label_Cal_CalNum->Name = L"label_Cal_CalNum";
  990. this->label_Cal_CalNum->Size = System::Drawing::Size(35, 13);
  991. this->label_Cal_CalNum->TabIndex = 4;
  992. this->label_Cal_CalNum->Text = L"Cal #:";
  993. //
  994. // label_Cal_RawTorq
  995. //
  996. this->label_Cal_RawTorq->AutoSize = true;
  997. this->label_Cal_RawTorq->Location = System::Drawing::Point(316, 72);
  998. this->label_Cal_RawTorq->Name = L"label_Cal_RawTorq";
  999. this->label_Cal_RawTorq->Size = System::Drawing::Size(69, 13);
  1000. this->label_Cal_RawTorq->TabIndex = 32;
  1001. this->label_Cal_RawTorq->Text = L"Raw Torque:";
  1002. //
  1003. // label_Cal_SetLabel
  1004. //
  1005. this->label_Cal_SetLabel->AutoSize = true;
  1006. this->label_Cal_SetLabel->BorderStyle = System::Windows::Forms::BorderStyle::FixedSingle;
  1007. this->label_Cal_SetLabel->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  1008. static_cast<System::Byte>(0)));
  1009. this->label_Cal_SetLabel->Location = System::Drawing::Point(26, 51);
  1010. this->label_Cal_SetLabel->Margin = System::Windows::Forms::Padding(0);
  1011. this->label_Cal_SetLabel->Name = L"label_Cal_SetLabel";
  1012. this->label_Cal_SetLabel->Size = System::Drawing::Size(28, 15);
  1013. this->label_Cal_SetLabel->TabIndex = 68;
  1014. this->label_Cal_SetLabel->Text = L"Set";
  1015. this->label_Cal_SetLabel->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
  1016. //
  1017. // tabPage_GlobalBattery
  1018. //
  1019. this->tabPage_GlobalBattery->Controls->Add(this->label_Bat_VoltsDisplay);
  1020. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_SoftwareVer);
  1021. this->tabPage_GlobalBattery->Controls->Add(this->label_Bat_SecPrecis);
  1022. this->tabPage_GlobalBattery->Controls->Add(this->label_Bat_Volts);
  1023. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_HardwareVer);
  1024. this->tabPage_GlobalBattery->Controls->Add(this->label_Bat_Status);
  1025. this->tabPage_GlobalBattery->Controls->Add(this->listBox_Bat_Status);
  1026. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_SoftwareVerDisplay);
  1027. this->tabPage_GlobalBattery->Controls->Add(this->label_Bat_ElpTimeDisplay);
  1028. this->tabPage_GlobalBattery->Controls->Add(this->label_Bat_ElpTime);
  1029. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_SerialNumDisplay);
  1030. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_ModelNum);
  1031. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_ManfIDDisplay);
  1032. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_SerialNum);
  1033. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_ModelNumDisplay);
  1034. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_HardwareVerDisplay);
  1035. this->tabPage_GlobalBattery->Controls->Add(this->label_Glb_ManfID);
  1036. this->tabPage_GlobalBattery->Location = System::Drawing::Point(4, 22);
  1037. this->tabPage_GlobalBattery->Name = L"tabPage_GlobalBattery";
  1038. this->tabPage_GlobalBattery->Size = System::Drawing::Size(389, 111);
  1039. this->tabPage_GlobalBattery->TabIndex = 4;
  1040. this->tabPage_GlobalBattery->Text = L"Global Data";
  1041. this->tabPage_GlobalBattery->UseVisualStyleBackColor = true;
  1042. //
  1043. // label_Bat_VoltsDisplay
  1044. //
  1045. this->label_Bat_VoltsDisplay->AutoSize = true;
  1046. this->label_Bat_VoltsDisplay->Location = System::Drawing::Point(338, 87);
  1047. this->label_Bat_VoltsDisplay->Name = L"label_Bat_VoltsDisplay";
  1048. this->label_Bat_VoltsDisplay->Size = System::Drawing::Size(16, 13);
  1049. this->label_Bat_VoltsDisplay->TabIndex = 61;
  1050. this->label_Bat_VoltsDisplay->Text = L"---";
  1051. //
  1052. // label_Glb_SoftwareVer
  1053. //
  1054. this->label_Glb_SoftwareVer->AutoSize = true;
  1055. this->label_Glb_SoftwareVer->Location = System::Drawing::Point(38, 34);
  1056. this->label_Glb_SoftwareVer->Name = L"label_Glb_SoftwareVer";
  1057. this->label_Glb_SoftwareVer->Size = System::Drawing::Size(71, 13);
  1058. this->label_Glb_SoftwareVer->TabIndex = 4;
  1059. this->label_Glb_SoftwareVer->Text = L"Software Ver:";
  1060. //
  1061. // label_Bat_SecPrecis
  1062. //
  1063. this->label_Bat_SecPrecis->AutoSize = true;
  1064. this->label_Bat_SecPrecis->Location = System::Drawing::Point(301, 55);
  1065. this->label_Bat_SecPrecis->Name = L"label_Bat_SecPrecis";
  1066. this->label_Bat_SecPrecis->Size = System::Drawing::Size(87, 13);
  1067. this->label_Bat_SecPrecis->TabIndex = 60;
  1068. this->label_Bat_SecPrecis->Text = L"\?\? Sec Precision";
  1069. //
  1070. // label_Bat_Volts
  1071. //
  1072. this->label_Bat_Volts->AutoSize = true;
  1073. this->label_Bat_Volts->Location = System::Drawing::Point(305, 87);
  1074. this->label_Bat_Volts->Name = L"label_Bat_Volts";
  1075. this->label_Bat_Volts->Size = System::Drawing::Size(36, 13);
  1076. this->label_Bat_Volts->TabIndex = 30;
  1077. this->label_Bat_Volts->Text = L"Volts: ";
  1078. //
  1079. // label_Glb_HardwareVer
  1080. //
  1081. this->label_Glb_HardwareVer->AutoSize = true;
  1082. this->label_Glb_HardwareVer->Location = System::Drawing::Point(34, 91);
  1083. this->label_Glb_HardwareVer->Name = L"label_Glb_HardwareVer";
  1084. this->label_Glb_HardwareVer->Size = System::Drawing::Size(75, 13);
  1085. this->label_Glb_HardwareVer->TabIndex = 3;
  1086. this->label_Glb_HardwareVer->Text = L"Hardware Ver:";
  1087. //
  1088. // label_Bat_Status
  1089. //
  1090. this->label_Bat_Status->AutoSize = true;
  1091. this->label_Bat_Status->Location = System::Drawing::Point(221, 7);
  1092. this->label_Bat_Status->Name = L"label_Bat_Status";
  1093. this->label_Bat_Status->Size = System::Drawing::Size(73, 13);
  1094. this->label_Bat_Status->TabIndex = 27;
  1095. this->label_Bat_Status->Text = L"Battery Status";
  1096. //
  1097. // listBox_Bat_Status
  1098. //
  1099. this->listBox_Bat_Status->Enabled = false;
  1100. this->listBox_Bat_Status->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  1101. static_cast<System::Byte>(0)));
  1102. this->listBox_Bat_Status->FormattingEnabled = true;
  1103. this->listBox_Bat_Status->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"1 - New", L"2 - Good", L"3 - OK", L"4 - Low",
  1104. L"5 - Critical", L"7 - disabled"});
  1105. this->listBox_Bat_Status->Location = System::Drawing::Point(218, 23);
  1106. this->listBox_Bat_Status->Name = L"listBox_Bat_Status";
  1107. this->listBox_Bat_Status->Size = System::Drawing::Size(79, 82);
  1108. this->listBox_Bat_Status->TabIndex = 55;
  1109. //
  1110. // label_Glb_SoftwareVerDisplay
  1111. //
  1112. this->label_Glb_SoftwareVerDisplay->Location = System::Drawing::Point(115, 34);
  1113. this->label_Glb_SoftwareVerDisplay->Name = L"label_Glb_SoftwareVerDisplay";
  1114. this->label_Glb_SoftwareVerDisplay->Size = System::Drawing::Size(27, 13);
  1115. this->label_Glb_SoftwareVerDisplay->TabIndex = 16;
  1116. this->label_Glb_SoftwareVerDisplay->Text = L"---";
  1117. //
  1118. // label_Bat_ElpTimeDisplay
  1119. //
  1120. this->label_Bat_ElpTimeDisplay->Location = System::Drawing::Point(318, 40);
  1121. this->label_Bat_ElpTimeDisplay->Name = L"label_Bat_ElpTimeDisplay";
  1122. this->label_Bat_ElpTimeDisplay->Size = System::Drawing::Size(62, 13);
  1123. this->label_Bat_ElpTimeDisplay->TabIndex = 21;
  1124. this->label_Bat_ElpTimeDisplay->Text = L"---";
  1125. this->label_Bat_ElpTimeDisplay->TextAlign = System::Drawing::ContentAlignment::BottomRight;
  1126. //
  1127. // label_Bat_ElpTime
  1128. //
  1129. this->label_Bat_ElpTime->AutoSize = true;
  1130. this->label_Bat_ElpTime->Location = System::Drawing::Point(303, 24);
  1131. this->label_Bat_ElpTime->Name = L"label_Bat_ElpTime";
  1132. this->label_Bat_ElpTime->Size = System::Drawing::Size(83, 13);
  1133. this->label_Bat_ElpTime->TabIndex = 19;
  1134. this->label_Bat_ElpTime->Text = L"Battery Time (s):";
  1135. //
  1136. // label_Glb_SerialNumDisplay
  1137. //
  1138. this->label_Glb_SerialNumDisplay->Location = System::Drawing::Point(115, 15);
  1139. this->label_Glb_SerialNumDisplay->Name = L"label_Glb_SerialNumDisplay";
  1140. this->label_Glb_SerialNumDisplay->Size = System::Drawing::Size(71, 13);
  1141. this->label_Glb_SerialNumDisplay->TabIndex = 11;
  1142. this->label_Glb_SerialNumDisplay->Text = L"---";
  1143. //
  1144. // label_Glb_ModelNum
  1145. //
  1146. this->label_Glb_ModelNum->AutoSize = true;
  1147. this->label_Glb_ModelNum->Location = System::Drawing::Point(60, 72);
  1148. this->label_Glb_ModelNum->Name = L"label_Glb_ModelNum";
  1149. this->label_Glb_ModelNum->Size = System::Drawing::Size(49, 13);
  1150. this->label_Glb_ModelNum->TabIndex = 5;
  1151. this->label_Glb_ModelNum->Text = L"Model #:";
  1152. //
  1153. // label_Glb_ManfIDDisplay
  1154. //
  1155. this->label_Glb_ManfIDDisplay->Location = System::Drawing::Point(115, 53);
  1156. this->label_Glb_ManfIDDisplay->Name = L"label_Glb_ManfIDDisplay";
  1157. this->label_Glb_ManfIDDisplay->Size = System::Drawing::Size(27, 13);
  1158. this->label_Glb_ManfIDDisplay->TabIndex = 8;
  1159. this->label_Glb_ManfIDDisplay->Text = L"---";
  1160. //
  1161. // label_Glb_SerialNum
  1162. //
  1163. this->label_Glb_SerialNum->AutoSize = true;
  1164. this->label_Glb_SerialNum->Location = System::Drawing::Point(63, 15);
  1165. this->label_Glb_SerialNum->Name = L"label_Glb_SerialNum";
  1166. this->label_Glb_SerialNum->Size = System::Drawing::Size(46, 13);
  1167. this->label_Glb_SerialNum->TabIndex = 2;
  1168. this->label_Glb_SerialNum->Text = L"Serial #:";
  1169. //
  1170. // label_Glb_ModelNumDisplay
  1171. //
  1172. this->label_Glb_ModelNumDisplay->Location = System::Drawing::Point(115, 72);
  1173. this->label_Glb_ModelNumDisplay->Name = L"label_Glb_ModelNumDisplay";
  1174. this->label_Glb_ModelNumDisplay->Size = System::Drawing::Size(42, 13);
  1175. this->label_Glb_ModelNumDisplay->TabIndex = 9;
  1176. this->label_Glb_ModelNumDisplay->Text = L"---";
  1177. //
  1178. // label_Glb_HardwareVerDisplay
  1179. //
  1180. this->label_Glb_HardwareVerDisplay->Location = System::Drawing::Point(115, 91);
  1181. this->label_Glb_HardwareVerDisplay->Name = L"label_Glb_HardwareVerDisplay";
  1182. this->label_Glb_HardwareVerDisplay->Size = System::Drawing::Size(27, 13);
  1183. this->label_Glb_HardwareVerDisplay->TabIndex = 14;
  1184. this->label_Glb_HardwareVerDisplay->Text = L"---";
  1185. //
  1186. // label_Glb_ManfID
  1187. //
  1188. this->label_Glb_ManfID->AutoSize = true;
  1189. this->label_Glb_ManfID->Location = System::Drawing::Point(58, 53);
  1190. this->label_Glb_ManfID->Name = L"label_Glb_ManfID";
  1191. this->label_Glb_ManfID->Size = System::Drawing::Size(51, 13);
  1192. this->label_Glb_ManfID->TabIndex = 1;
  1193. this->label_Glb_ManfID->Text = L"Manf. ID:";
  1194. //
  1195. // tabPage1
  1196. //
  1197. this->tabPage1->Controls->Add(this->label7);
  1198. this->tabPage1->Controls->Add(this->label3);
  1199. this->tabPage1->Controls->Add(this->numericUpDown_TransResponse);
  1200. this->tabPage1->Controls->Add(this->label_AutoCrankLength);
  1201. this->tabPage1->Controls->Add(this->label10);
  1202. this->tabPage1->Controls->Add(this->label_CrankLengthStatus);
  1203. this->tabPage1->Controls->Add(this->label_CrankLength);
  1204. this->tabPage1->Controls->Add(this->label_SensorStatus);
  1205. this->tabPage1->Controls->Add(this->label6);
  1206. this->tabPage1->Controls->Add(this->label5);
  1207. this->tabPage1->Controls->Add(this->label4);
  1208. this->tabPage1->Controls->Add(this->label_SWMistmatchStatus);
  1209. this->tabPage1->Controls->Add(this->label2);
  1210. this->tabPage1->Controls->Add(this->checkBox_AutoCrank);
  1211. this->tabPage1->Controls->Add(this->checkBox_InvalidCrankLength);
  1212. this->tabPage1->Controls->Add(this->label1);
  1213. this->tabPage1->Controls->Add(this->numericUpDown_CrankLength);
  1214. this->tabPage1->Controls->Add(this->button_SetCrankStatus);
  1215. this->tabPage1->Controls->Add(this->button_GetCrankStatus);
  1216. this->tabPage1->Location = System::Drawing::Point(4, 22);
  1217. this->tabPage1->Margin = System::Windows::Forms::Padding(1);
  1218. this->tabPage1->Name = L"tabPage1";
  1219. this->tabPage1->Size = System::Drawing::Size(389, 111);
  1220. this->tabPage1->TabIndex = 7;
  1221. this->tabPage1->Text = L"Get/Set";
  1222. this->tabPage1->UseVisualStyleBackColor = true;
  1223. //
  1224. // label7
  1225. //
  1226. this->label7->AutoSize = true;
  1227. this->label7->Location = System::Drawing::Point(358, 12);
  1228. this->label7->Name = L"label7";
  1229. this->label7->Size = System::Drawing::Size(23, 13);
  1230. this->label7->TabIndex = 18;
  1231. this->label7->Text = L"mm";
  1232. //
  1233. // label3
  1234. //
  1235. this->label3->AutoSize = true;
  1236. this->label3->Location = System::Drawing::Point(197, 88);
  1237. this->label3->Name = L"label3";
  1238. this->label3->Size = System::Drawing::Size(69, 13);
  1239. this->label3->TabIndex = 17;
  1240. this->label3->Text = L"transmissions";
  1241. //
  1242. // numericUpDown_TransResponse
  1243. //
  1244. this->numericUpDown_TransResponse->Location = System::Drawing::Point(147, 86);
  1245. this->numericUpDown_TransResponse->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
  1246. this->numericUpDown_TransResponse->Name = L"numericUpDown_TransResponse";
  1247. this->numericUpDown_TransResponse->Size = System::Drawing::Size(44, 20);
  1248. this->numericUpDown_TransResponse->TabIndex = 16;
  1249. this->numericUpDown_TransResponse->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {4, 0, 0, 0});
  1250. //
  1251. // label_AutoCrankLength
  1252. //
  1253. this->label_AutoCrankLength->AutoSize = true;
  1254. this->label_AutoCrankLength->Location = System::Drawing::Point(121, 66);
  1255. this->label_AutoCrankLength->Name = L"label_AutoCrankLength";
  1256. this->label_AutoCrankLength->Size = System::Drawing::Size(19, 13);
  1257. this->label_AutoCrankLength->TabIndex = 15;
  1258. this->label_AutoCrankLength->Text = L"----";
  1259. //
  1260. // label10
  1261. //
  1262. this->label10->AutoSize = true;
  1263. this->label10->Location = System::Drawing::Point(18, 66);
  1264. this->label10->Margin = System::Windows::Forms::Padding(1);
  1265. this->label10->Name = L"label10";
  1266. this->label10->Size = System::Drawing::Size(99, 13);
  1267. this->label10->TabIndex = 14;
  1268. this->label10->Text = L"Auto Crank Length:";
  1269. //
  1270. // label_CrankLengthStatus
  1271. //
  1272. this->label_CrankLengthStatus->AutoSize = true;
  1273. this->label_CrankLengthStatus->Location = System::Drawing::Point(121, 51);
  1274. this->label_CrankLengthStatus->Name = L"label_CrankLengthStatus";
  1275. this->label_CrankLengthStatus->Size = System::Drawing::Size(19, 13);
  1276. this->label_CrankLengthStatus->TabIndex = 13;
  1277. this->label_CrankLengthStatus->Text = L"----";
  1278. //
  1279. // label_CrankLength
  1280. //
  1281. this->label_CrankLength->AutoSize = true;
  1282. this->label_CrankLength->Location = System::Drawing::Point(121, 6);
  1283. this->label_CrankLength->Name = L"label_CrankLength";
  1284. this->label_CrankLength->Size = System::Drawing::Size(19, 13);
  1285. this->label_CrankLength->TabIndex = 12;
  1286. this->label_CrankLength->Text = L"----";
  1287. //
  1288. // label_SensorStatus
  1289. //
  1290. this->label_SensorStatus->AutoSize = true;
  1291. this->label_SensorStatus->Location = System::Drawing::Point(121, 21);
  1292. this->label_SensorStatus->Name = L"label_SensorStatus";
  1293. this->label_SensorStatus->Size = System::Drawing::Size(19, 13);
  1294. this->label_SensorStatus->TabIndex = 11;
  1295. this->label_SensorStatus->Text = L"----";
  1296. //
  1297. // label6
  1298. //
  1299. this->label6->AutoSize = true;
  1300. this->label6->Location = System::Drawing::Point(5, 36);
  1301. this->label6->Margin = System::Windows::Forms::Padding(1);
  1302. this->label6->Name = L"label6";
  1303. this->label6->Size = System::Drawing::Size(112, 13);
  1304. this->label6->TabIndex = 10;
  1305. this->label6->Text = L"SW Mistmatch Status:";
  1306. //
  1307. // label5
  1308. //
  1309. this->label5->AutoSize = true;
  1310. this->label5->Location = System::Drawing::Point(10, 51);
  1311. this->label5->Margin = System::Windows::Forms::Padding(1);
  1312. this->label5->Name = L"label5";
  1313. this->label5->Size = System::Drawing::Size(107, 13);
  1314. this->label5->TabIndex = 9;
  1315. this->label5->Text = L"Crank Length Status:";
  1316. //
  1317. // label4
  1318. //
  1319. this->label4->AutoSize = true;
  1320. this->label4->Location = System::Drawing::Point(41, 21);
  1321. this->label4->Margin = System::Windows::Forms::Padding(1);
  1322. this->label4->Name = L"label4";
  1323. this->label4->Size = System::Drawing::Size(76, 13);
  1324. this->label4->TabIndex = 8;
  1325. this->label4->Text = L"Sensor Status:";
  1326. //
  1327. // label_SWMistmatchStatus
  1328. //
  1329. this->label_SWMistmatchStatus->AutoSize = true;
  1330. this->label_SWMistmatchStatus->Location = System::Drawing::Point(121, 36);
  1331. this->label_SWMistmatchStatus->Name = L"label_SWMistmatchStatus";
  1332. this->label_SWMistmatchStatus->Size = System::Drawing::Size(19, 13);
  1333. this->label_SWMistmatchStatus->TabIndex = 7;
  1334. this->label_SWMistmatchStatus->Text = L"----";
  1335. //
  1336. // label2
  1337. //
  1338. this->label2->AutoSize = true;
  1339. this->label2->Location = System::Drawing::Point(43, 6);
  1340. this->label2->Margin = System::Windows::Forms::Padding(1);
  1341. this->label2->Name = L"label2";
  1342. this->label2->Size = System::Drawing::Size(74, 13);
  1343. this->label2->TabIndex = 6;
  1344. this->label2->Text = L"Crank Length:";
  1345. //
  1346. // checkBox_AutoCrank
  1347. //
  1348. this->checkBox_AutoCrank->AutoSize = true;
  1349. this->checkBox_AutoCrank->Location = System::Drawing::Point(297, 59);
  1350. this->checkBox_AutoCrank->Name = L"checkBox_AutoCrank";
  1351. this->checkBox_AutoCrank->Size = System::Drawing::Size(79, 17);
  1352. this->checkBox_AutoCrank->TabIndex = 5;
  1353. this->checkBox_AutoCrank->Text = L"Auto Crank";
  1354. this->checkBox_AutoCrank->UseVisualStyleBackColor = true;
  1355. this->checkBox_AutoCrank->CheckedChanged += gcnew System::EventHandler(this, &BikePowerDisplay::checkBox_AutoCrank_CheckedChanged);
  1356. //
  1357. // checkBox_InvalidCrankLength
  1358. //
  1359. this->checkBox_InvalidCrankLength->AutoSize = true;
  1360. this->checkBox_InvalidCrankLength->Location = System::Drawing::Point(297, 36);
  1361. this->checkBox_InvalidCrankLength->Name = L"checkBox_InvalidCrankLength";
  1362. this->checkBox_InvalidCrankLength->Size = System::Drawing::Size(57, 17);
  1363. this->checkBox_InvalidCrankLength->TabIndex = 4;
  1364. this->checkBox_InvalidCrankLength->Text = L"Invalid";
  1365. this->checkBox_InvalidCrankLength->UseVisualStyleBackColor = true;
  1366. this->checkBox_InvalidCrankLength->CheckedChanged += gcnew System::EventHandler(this, &BikePowerDisplay::checkBox_InvalidCrankLength_CheckedChanged);
  1367. //
  1368. // label1
  1369. //
  1370. this->label1->AutoSize = true;
  1371. this->label1->Location = System::Drawing::Point(222, 12);
  1372. this->label1->Name = L"label1";
  1373. this->label1->Size = System::Drawing::Size(71, 13);
  1374. this->label1->TabIndex = 3;
  1375. this->label1->Text = L"Crank Length";
  1376. //
  1377. // numericUpDown_CrankLength
  1378. //
  1379. this->numericUpDown_CrankLength->DecimalPlaces = 1;
  1380. this->numericUpDown_CrankLength->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {5, 0, 0, 65536});
  1381. this->numericUpDown_CrankLength->Location = System::Drawing::Point(297, 10);
  1382. this->numericUpDown_CrankLength->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2365, 0, 0, 65536});
  1383. this->numericUpDown_CrankLength->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1100, 0, 0, 65536});
  1384. this->numericUpDown_CrankLength->Name = L"numericUpDown_CrankLength";
  1385. this->numericUpDown_CrankLength->Size = System::Drawing::Size(60, 20);
  1386. this->numericUpDown_CrankLength->TabIndex = 2;
  1387. this->numericUpDown_CrankLength->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {1725, 0, 0, 65536});
  1388. //
  1389. // button_SetCrankStatus
  1390. //
  1391. this->button_SetCrankStatus->Location = System::Drawing::Point(272, 85);
  1392. this->button_SetCrankStatus->Name = L"button_SetCrankStatus";
  1393. this->button_SetCrankStatus->Size = System::Drawing::Size(114, 23);
  1394. this->button_SetCrankStatus->TabIndex = 1;
  1395. this->button_SetCrankStatus->Text = L"Set Crank Status";
  1396. this->button_SetCrankStatus->UseVisualStyleBackColor = true;
  1397. this->button_SetCrankStatus->Click += gcnew System::EventHandler(this, &BikePowerDisplay::button_SetCrankStatus_Click);
  1398. //
  1399. // button_GetCrankStatus
  1400. //
  1401. this->button_GetCrankStatus->Location = System::Drawing::Point(8, 85);
  1402. this->button_GetCrankStatus->Name = L"button_GetCrankStatus";
  1403. this->button_GetCrankStatus->Size = System::Drawing::Size(132, 23);
  1404. this->button_GetCrankStatus->TabIndex = 0;
  1405. this->button_GetCrankStatus->Text = L"Request Crank Status";
  1406. this->button_GetCrankStatus->UseVisualStyleBackColor = true;
  1407. this->button_GetCrankStatus->Click += gcnew System::EventHandler(this, &BikePowerDisplay::button_GetCrankStatus_Click);
  1408. //
  1409. // panel_Display
  1410. //
  1411. this->panel_Display->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
  1412. this->panel_Display->Controls->Add(this->label_Trn_PedalDisplay);
  1413. this->panel_Display->Controls->Add(this->label_Trn_PedalPwrDisplay);
  1414. this->panel_Display->Controls->Add(this->label_Trn_PedalPwr);
  1415. this->panel_Display->Controls->Add(this->label_Trn_AccumPowerDisplay);
  1416. this->panel_Display->Controls->Add(this->label_Trn_AccumPower);
  1417. this->panel_Display->Controls->Add(this->label_Trn_AccumTwo);
  1418. this->panel_Display->Controls->Add(this->label_Trn_AccumOneDisplay);
  1419. this->panel_Display->Controls->Add(this->label_Trn_AccumOne);
  1420. this->panel_Display->Controls->Add(this->label_Trn_AccumTwoDisplay);
  1421. this->panel_Display->Controls->Add(this->label_Trn_AccumTitle);
  1422. this->panel_Display->Controls->Add(this->label_Trn_Slope);
  1423. this->panel_Display->Controls->Add(this->label_Trn_SlopeDisplay);
  1424. this->panel_Display->Controls->Add(this->label_Trn_UpdateCountDisplay);
  1425. this->panel_Display->Controls->Add(this->label_Trn_UpdateCount);
  1426. this->panel_Display->Controls->Add(this->label_Trn_EventCountDisplay);
  1427. this->panel_Display->Controls->Add(this->label_Trn_EventCount);
  1428. this->panel_Display->Controls->Add(this->label_Trn_InstPowerDisplay);
  1429. this->panel_Display->Controls->Add(this->label_InstPower);
  1430. this->panel_Display->Controls->Add(this->label_Trn_CadenceDisplay);
  1431. this->panel_Display->Controls->Add(this->label_Trn_Cadence);
  1432. this->panel_Display->Controls->Add(this->label_Trn_PageDisplay);
  1433. this->panel_Display->Controls->Add(this->label_Trn_Page);
  1434. this->panel_Display->Controls->Add(this->label_Trn_DisplayTitle);
  1435. this->panel_Display->Location = System::Drawing::Point(53, 188);
  1436. this->panel_Display->Name = L"panel_Display";
  1437. this->panel_Display->Size = System::Drawing::Size(205, 103);
  1438. this->panel_Display->TabIndex = 1;
  1439. //
  1440. // label_Trn_PedalDisplay
  1441. //
  1442. this->label_Trn_PedalDisplay->AutoSize = true;
  1443. this->label_Trn_PedalDisplay->Location = System::Drawing::Point(119, 86);
  1444. this->label_Trn_PedalDisplay->Name = L"label_Trn_PedalDisplay";
  1445. this->label_Trn_PedalDisplay->Size = System::Drawing::Size(16, 13);
  1446. this->label_Trn_PedalDisplay->TabIndex = 26;
  1447. this->label_Trn_PedalDisplay->Text = L"---";
  1448. //
  1449. // label_Trn_PedalPwrDisplay
  1450. //
  1451. this->label_Trn_PedalPwrDisplay->AutoSize = true;
  1452. this->label_Trn_PedalPwrDisplay->Location = System::Drawing::Point(91, 86);
  1453. this->label_Trn_PedalPwrDisplay->Name = L"label_Trn_PedalPwrDisplay";
  1454. this->label_Trn_PedalPwrDisplay->Size = System::Drawing::Size(16, 13);
  1455. this->label_Trn_PedalPwrDisplay->TabIndex = 25;
  1456. this->label_Trn_PedalPwrDisplay->Text = L"---";
  1457. //
  1458. // label_Trn_PedalPwr
  1459. //
  1460. this->label_Trn_PedalPwr->AutoSize = true;
  1461. this->label_Trn_PedalPwr->Location = System::Drawing::Point(1, 86);
  1462. this->label_Trn_PedalPwr->Name = L"label_Trn_PedalPwr";
  1463. this->label_Trn_PedalPwr->Size = System::Drawing::Size(84, 13);
  1464. this->label_Trn_PedalPwr->TabIndex = 24;
  1465. this->label_Trn_PedalPwr->Text = L"Pedal Power(%):";
  1466. //
  1467. // label_Trn_AccumPowerDisplay
  1468. //
  1469. this->label_Trn_AccumPowerDisplay->BackColor = System::Drawing::SystemColors::Control;
  1470. this->label_Trn_AccumPowerDisplay->Location = System::Drawing::Point(157, 71);
  1471. this->label_Trn_AccumPowerDisplay->Name = L"label_Trn_AccumPowerDisplay";
  1472. this->label_Trn_AccumPowerDisplay->Size = System::Drawing::Size(41, 13);
  1473. this->label_Trn_AccumPowerDisplay->TabIndex = 19;
  1474. this->label_Trn_AccumPowerDisplay->Text = L"---";
  1475. //
  1476. // label_Trn_AccumPower
  1477. //
  1478. this->label_Trn_AccumPower->AutoSize = true;
  1479. this->label_Trn_AccumPower->BackColor = System::Drawing::SystemColors::Control;
  1480. this->label_Trn_AccumPower->Location = System::Drawing::Point(118, 71);
  1481. this->label_Trn_AccumPower->Name = L"label_Trn_AccumPower";
  1482. this->label_Trn_AccumPower->Size = System::Drawing::Size(40, 13);
  1483. this->label_Trn_AccumPower->TabIndex = 18;
  1484. this->label_Trn_AccumPower->Text = L"Power:";
  1485. //
  1486. // label_Trn_AccumTwo
  1487. //
  1488. this->label_Trn_AccumTwo->AutoSize = true;
  1489. this->label_Trn_AccumTwo->BackColor = System::Drawing::SystemColors::Control;
  1490. this->label_Trn_AccumTwo->Location = System::Drawing::Point(114, 57);
  1491. this->label_Trn_AccumTwo->Name = L"label_Trn_AccumTwo";
  1492. this->label_Trn_AccumTwo->Size = System::Drawing::Size(44, 13);
  1493. this->label_Trn_AccumTwo->TabIndex = 15;
  1494. this->label_Trn_AccumTwo->Text = L"Torque:";
  1495. //
  1496. // label_Trn_AccumOneDisplay
  1497. //
  1498. this->label_Trn_AccumOneDisplay->BackColor = System::Drawing::SystemColors::Control;
  1499. this->label_Trn_AccumOneDisplay->Location = System::Drawing::Point(157, 43);
  1500. this->label_Trn_AccumOneDisplay->Name = L"label_Trn_AccumOneDisplay";
  1501. this->label_Trn_AccumOneDisplay->Size = System::Drawing::Size(41, 13);
  1502. this->label_Trn_AccumOneDisplay->TabIndex = 8;
  1503. this->label_Trn_AccumOneDisplay->Text = L"---";
  1504. //
  1505. // label_Trn_AccumOne
  1506. //
  1507. this->label_Trn_AccumOne->AutoSize = true;
  1508. this->label_Trn_AccumOne->BackColor = System::Drawing::SystemColors::Control;
  1509. this->label_Trn_AccumOne->Location = System::Drawing::Point(110, 43);
  1510. this->label_Trn_AccumOne->Name = L"label_Trn_AccumOne";
  1511. this->label_Trn_AccumOne->Size = System::Drawing::Size(48, 13);
  1512. this->label_Trn_AccumOne->TabIndex = 7;
  1513. this->label_Trn_AccumOne->Text = L"Crank P:";
  1514. //
  1515. // label_Trn_AccumTwoDisplay
  1516. //
  1517. this->label_Trn_AccumTwoDisplay->BackColor = System::Drawing::SystemColors::Control;
  1518. this->label_Trn_AccumTwoDisplay->Location = System::Drawing::Point(157, 57);
  1519. this->label_Trn_AccumTwoDisplay->Name = L"label_Trn_AccumTwoDisplay";
  1520. this->label_Trn_AccumTwoDisplay->Size = System::Drawing::Size(41, 13);
  1521. this->label_Trn_AccumTwoDisplay->TabIndex = 16;
  1522. this->label_Trn_AccumTwoDisplay->Text = L"---";
  1523. //
  1524. // label_Trn_AccumTitle
  1525. //
  1526. this->label_Trn_AccumTitle->AutoSize = true;
  1527. this->label_Trn_AccumTitle->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Italic,
  1528. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1529. this->label_Trn_AccumTitle->Location = System::Drawing::Point(123, 29);
  1530. this->label_Trn_AccumTitle->Name = L"label_Trn_AccumTitle";
  1531. this->label_Trn_AccumTitle->Size = System::Drawing::Size(71, 13);
  1532. this->label_Trn_AccumTitle->TabIndex = 17;
  1533. this->label_Trn_AccumTitle->Text = L"Accumulates:";
  1534. //
  1535. // label_Trn_Slope
  1536. //
  1537. this->label_Trn_Slope->AutoSize = true;
  1538. this->label_Trn_Slope->Location = System::Drawing::Point(121, 16);
  1539. this->label_Trn_Slope->Name = L"label_Trn_Slope";
  1540. this->label_Trn_Slope->Size = System::Drawing::Size(37, 13);
  1541. this->label_Trn_Slope->TabIndex = 22;
  1542. this->label_Trn_Slope->Text = L"Slope:";
  1543. //
  1544. // label_Trn_SlopeDisplay
  1545. //
  1546. this->label_Trn_SlopeDisplay->BackColor = System::Drawing::SystemColors::Control;
  1547. this->label_Trn_SlopeDisplay->Location = System::Drawing::Point(157, 16);
  1548. this->label_Trn_SlopeDisplay->Name = L"label_Trn_SlopeDisplay";
  1549. this->label_Trn_SlopeDisplay->Size = System::Drawing::Size(41, 13);
  1550. this->label_Trn_SlopeDisplay->TabIndex = 23;
  1551. this->label_Trn_SlopeDisplay->Text = L"---";
  1552. //
  1553. // label_Trn_UpdateCountDisplay
  1554. //
  1555. this->label_Trn_UpdateCountDisplay->BackColor = System::Drawing::Color::Transparent;
  1556. this->label_Trn_UpdateCountDisplay->Location = System::Drawing::Point(73, 71);
  1557. this->label_Trn_UpdateCountDisplay->Name = L"label_Trn_UpdateCountDisplay";
  1558. this->label_Trn_UpdateCountDisplay->Size = System::Drawing::Size(34, 13);
  1559. this->label_Trn_UpdateCountDisplay->TabIndex = 12;
  1560. this->label_Trn_UpdateCountDisplay->Text = L"---";
  1561. //
  1562. // label_Trn_UpdateCount
  1563. //
  1564. this->label_Trn_UpdateCount->AutoSize = true;
  1565. this->label_Trn_UpdateCount->BackColor = System::Drawing::Color::Transparent;
  1566. this->label_Trn_UpdateCount->Location = System::Drawing::Point(24, 71);
  1567. this->label_Trn_UpdateCount->Name = L"label_Trn_UpdateCount";
  1568. this->label_Trn_UpdateCount->Size = System::Drawing::Size(50, 13);
  1569. this->label_Trn_UpdateCount->TabIndex = 11;
  1570. this->label_Trn_UpdateCount->Text = L"Updates:";
  1571. //
  1572. // label_Trn_EventCountDisplay
  1573. //
  1574. this->label_Trn_EventCountDisplay->BackColor = System::Drawing::Color::Transparent;
  1575. this->label_Trn_EventCountDisplay->Location = System::Drawing::Point(73, 57);
  1576. this->label_Trn_EventCountDisplay->Name = L"label_Trn_EventCountDisplay";
  1577. this->label_Trn_EventCountDisplay->Size = System::Drawing::Size(34, 13);
  1578. this->label_Trn_EventCountDisplay->TabIndex = 2;
  1579. this->label_Trn_EventCountDisplay->Text = L"---";
  1580. //
  1581. // label_Trn_EventCount
  1582. //
  1583. this->label_Trn_EventCount->AutoSize = true;
  1584. this->label_Trn_EventCount->BackColor = System::Drawing::Color::Transparent;
  1585. this->label_Trn_EventCount->Location = System::Drawing::Point(31, 57);
  1586. this->label_Trn_EventCount->Name = L"label_Trn_EventCount";
  1587. this->label_Trn_EventCount->Size = System::Drawing::Size(43, 13);
  1588. this->label_Trn_EventCount->TabIndex = 0;
  1589. this->label_Trn_EventCount->Text = L"Events:";
  1590. //
  1591. // label_Trn_InstPowerDisplay
  1592. //
  1593. this->label_Trn_InstPowerDisplay->BackColor = System::Drawing::Color::Transparent;
  1594. this->label_Trn_InstPowerDisplay->Location = System::Drawing::Point(73, 44);
  1595. this->label_Trn_InstPowerDisplay->Name = L"label_Trn_InstPowerDisplay";
  1596. this->label_Trn_InstPowerDisplay->Size = System::Drawing::Size(34, 13);
  1597. this->label_Trn_InstPowerDisplay->TabIndex = 21;
  1598. this->label_Trn_InstPowerDisplay->Text = L"---";
  1599. //
  1600. // label_InstPower
  1601. //
  1602. this->label_InstPower->AutoSize = true;
  1603. this->label_InstPower->BackColor = System::Drawing::Color::Transparent;
  1604. this->label_InstPower->Location = System::Drawing::Point(11, 43);
  1605. this->label_InstPower->Name = L"label_InstPower";
  1606. this->label_InstPower->Size = System::Drawing::Size(63, 13);
  1607. this->label_InstPower->TabIndex = 20;
  1608. this->label_InstPower->Text = L"Inst. Power:";
  1609. //
  1610. // label_Trn_CadenceDisplay
  1611. //
  1612. this->label_Trn_CadenceDisplay->BackColor = System::Drawing::SystemColors::Control;
  1613. this->label_Trn_CadenceDisplay->Location = System::Drawing::Point(73, 30);
  1614. this->label_Trn_CadenceDisplay->Name = L"label_Trn_CadenceDisplay";
  1615. this->label_Trn_CadenceDisplay->Size = System::Drawing::Size(34, 13);
  1616. this->label_Trn_CadenceDisplay->TabIndex = 10;
  1617. this->label_Trn_CadenceDisplay->Text = L"---";
  1618. //
  1619. // label_Trn_Cadence
  1620. //
  1621. this->label_Trn_Cadence->AutoSize = true;
  1622. this->label_Trn_Cadence->BackColor = System::Drawing::SystemColors::Control;
  1623. this->label_Trn_Cadence->Location = System::Drawing::Point(1, 30);
  1624. this->label_Trn_Cadence->Name = L"label_Trn_Cadence";
  1625. this->label_Trn_Cadence->Size = System::Drawing::Size(73, 13);
  1626. this->label_Trn_Cadence->TabIndex = 9;
  1627. this->label_Trn_Cadence->Text = L"Inst.Cadence:";
  1628. //
  1629. // label_Trn_PageDisplay
  1630. //
  1631. this->label_Trn_PageDisplay->BackColor = System::Drawing::SystemColors::Control;
  1632. this->label_Trn_PageDisplay->Location = System::Drawing::Point(73, 16);
  1633. this->label_Trn_PageDisplay->Name = L"label_Trn_PageDisplay";
  1634. this->label_Trn_PageDisplay->Size = System::Drawing::Size(34, 13);
  1635. this->label_Trn_PageDisplay->TabIndex = 14;
  1636. this->label_Trn_PageDisplay->Text = L"---";
  1637. //
  1638. // label_Trn_Page
  1639. //
  1640. this->label_Trn_Page->AutoSize = true;
  1641. this->label_Trn_Page->BackColor = System::Drawing::SystemColors::Control;
  1642. this->label_Trn_Page->Location = System::Drawing::Point(2, 16);
  1643. this->label_Trn_Page->Name = L"label_Trn_Page";
  1644. this->label_Trn_Page->Size = System::Drawing::Size(72, 13);
  1645. this->label_Trn_Page->TabIndex = 13;
  1646. this->label_Trn_Page->Text = L"Current Page:";
  1647. //
  1648. // label_Trn_DisplayTitle
  1649. //
  1650. this->label_Trn_DisplayTitle->AutoSize = true;
  1651. this->label_Trn_DisplayTitle->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1652. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1653. this->label_Trn_DisplayTitle->Location = System::Drawing::Point(2, 2);
  1654. this->label_Trn_DisplayTitle->Name = L"label_Trn_DisplayTitle";
  1655. this->label_Trn_DisplayTitle->Size = System::Drawing::Size(165, 13);
  1656. this->label_Trn_DisplayTitle->TabIndex = 4;
  1657. this->label_Trn_DisplayTitle->Text = L"Current Bike Power Transmission:";
  1658. //
  1659. // tabControl_TEPS
  1660. //
  1661. this->tabControl_TEPS->Controls->Add(this->label_RightPedalSmoothness);
  1662. this->tabControl_TEPS->Controls->Add(this->label_LeftPedalSmoothness);
  1663. this->tabControl_TEPS->Controls->Add(this->label_RightTorqueEffectiveness);
  1664. this->tabControl_TEPS->Controls->Add(this->label_LeftTorqueEffectiveness);
  1665. this->tabControl_TEPS->Controls->Add(this->label11);
  1666. this->tabControl_TEPS->Controls->Add(this->label12);
  1667. this->tabControl_TEPS->Controls->Add(this->label9);
  1668. this->tabControl_TEPS->Controls->Add(this->label8);
  1669. this->tabControl_TEPS->Location = System::Drawing::Point(4, 22);
  1670. this->tabControl_TEPS->Name = L"tabControl_TEPS";
  1671. this->tabControl_TEPS->Padding = System::Windows::Forms::Padding(3);
  1672. this->tabControl_TEPS->Size = System::Drawing::Size(389, 111);
  1673. this->tabControl_TEPS->TabIndex = 8;
  1674. this->tabControl_TEPS->Text = L"TE&PS";
  1675. this->tabControl_TEPS->UseVisualStyleBackColor = true;
  1676. //
  1677. // label8
  1678. //
  1679. this->label8->AutoSize = true;
  1680. this->label8->Location = System::Drawing::Point(43, 15);
  1681. this->label8->Name = L"label8";
  1682. this->label8->Size = System::Drawing::Size(152, 13);
  1683. this->label8->TabIndex = 0;
  1684. this->label8->Text = L"Left Torque Effectiveness (%): ";
  1685. //
  1686. // label9
  1687. //
  1688. this->label9->AutoSize = true;
  1689. this->label9->Location = System::Drawing::Point(36, 35);
  1690. this->label9->Name = L"label9";
  1691. this->label9->Size = System::Drawing::Size(159, 13);
  1692. this->label9->TabIndex = 1;
  1693. this->label9->Text = L"Right Torque Effectiveness (%): ";
  1694. //
  1695. // label11
  1696. //
  1697. this->label11->AutoSize = true;
  1698. this->label11->Location = System::Drawing::Point(52, 75);
  1699. this->label11->Name = L"label11";
  1700. this->label11->Size = System::Drawing::Size(143, 13);
  1701. this->label11->TabIndex = 3;
  1702. this->label11->Text = L"Right Pedal Smoothness (%):";
  1703. //
  1704. // label12
  1705. //
  1706. this->label12->AutoSize = true;
  1707. this->label12->Location = System::Drawing::Point(7, 55);
  1708. this->label12->Name = L"label12";
  1709. this->label12->Size = System::Drawing::Size(188, 13);
  1710. this->label12->TabIndex = 2;
  1711. this->label12->Text = L"Left/Combined Pedal Smoothness (%):";
  1712. //
  1713. // label_LeftTorqueEffectiveness
  1714. //
  1715. this->label_LeftTorqueEffectiveness->AutoSize = true;
  1716. this->label_LeftTorqueEffectiveness->Location = System::Drawing::Point(202, 14);
  1717. this->label_LeftTorqueEffectiveness->Name = L"label_LeftTorqueEffectiveness";
  1718. this->label_LeftTorqueEffectiveness->Size = System::Drawing::Size(13, 13);
  1719. this->label_LeftTorqueEffectiveness->TabIndex = 4;
  1720. this->label_LeftTorqueEffectiveness->Text = L"--";
  1721. //
  1722. // label_RightTorqueEffectiveness
  1723. //
  1724. this->label_RightTorqueEffectiveness->AutoSize = true;
  1725. this->label_RightTorqueEffectiveness->Location = System::Drawing::Point(202, 35);
  1726. this->label_RightTorqueEffectiveness->Name = L"label_RightTorqueEffectiveness";
  1727. this->label_RightTorqueEffectiveness->Size = System::Drawing::Size(13, 13);
  1728. this->label_RightTorqueEffectiveness->TabIndex = 5;
  1729. this->label_RightTorqueEffectiveness->Text = L"--";
  1730. //
  1731. // label_LeftPedalSmoothness
  1732. //
  1733. this->label_LeftPedalSmoothness->AutoSize = true;
  1734. this->label_LeftPedalSmoothness->Location = System::Drawing::Point(202, 55);
  1735. this->label_LeftPedalSmoothness->Name = L"label_LeftPedalSmoothness";
  1736. this->label_LeftPedalSmoothness->Size = System::Drawing::Size(13, 13);
  1737. this->label_LeftPedalSmoothness->TabIndex = 6;
  1738. this->label_LeftPedalSmoothness->Text = L"--";
  1739. //
  1740. // label_RightPedalSmoothness
  1741. //
  1742. this->label_RightPedalSmoothness->AutoSize = true;
  1743. this->label_RightPedalSmoothness->Location = System::Drawing::Point(202, 75);
  1744. this->label_RightPedalSmoothness->Name = L"label_RightPedalSmoothness";
  1745. this->label_RightPedalSmoothness->Size = System::Drawing::Size(13, 13);
  1746. this->label_RightPedalSmoothness->TabIndex = 7;
  1747. this->label_RightPedalSmoothness->Text = L"--";
  1748. //
  1749. // BikePowerDisplay
  1750. //
  1751. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1752. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1753. this->ClientSize = System::Drawing::Size(794, 351);
  1754. this->Controls->Add(this->panel_Display);
  1755. this->Controls->Add(this->panel_Settings);
  1756. this->Name = L"BikePowerDisplay";
  1757. this->Text = L"BikePowerDisplay";
  1758. this->panel_Settings->ResumeLayout(false);
  1759. this->tabControl_Settings->ResumeLayout(false);
  1760. this->tabPage_Data->ResumeLayout(false);
  1761. this->tabPage_Data->PerformLayout();
  1762. this->tabPage_Calibration->ResumeLayout(false);
  1763. this->tabPage_Calibration->PerformLayout();
  1764. this->panel1->ResumeLayout(false);
  1765. this->panel1->PerformLayout();
  1766. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Cal_CTFSlope))->EndInit();
  1767. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Cal_CTFSerial))->EndInit();
  1768. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Cal_WheelCircum))->EndInit();
  1769. this->tabPage_GlobalBattery->ResumeLayout(false);
  1770. this->tabPage_GlobalBattery->PerformLayout();
  1771. this->tabPage1->ResumeLayout(false);
  1772. this->tabPage1->PerformLayout();
  1773. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_TransResponse))->EndInit();
  1774. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_CrankLength))->EndInit();
  1775. this->panel_Display->ResumeLayout(false);
  1776. this->panel_Display->PerformLayout();
  1777. this->tabControl_TEPS->ResumeLayout(false);
  1778. this->tabControl_TEPS->PerformLayout();
  1779. this->ResumeLayout(false);
  1780. }
  1781. #pragma endregion
  1782. };