RacquetSensor.h 86 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967
  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_racquet.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. using namespace System::Timers;
  22. public ref class RacquetSensor : public System::Windows::Forms::Form, public ISimBase{
  23. public:
  24. // The constructor may include the following parameters:
  25. // System::Timers::Timer^ channelTimer: Timer handle, if using a timer (not required in most cases, since getTimerInterval gets called after onTimerTock on each tock)
  26. // dRequestAckMsg^ channelAckMsg: Handle to delegate function to send acknowledged messages (only needed if the device needs to send acknowledged messages)
  27. // These parameters may or may not be included in the constructor, as needed
  28. RacquetSensor(System::Timers::Timer^ channelTimer, dRequestAckMsg^ channelAckMsg){
  29. InitializeComponent();
  30. RacquetData = gcnew AntPlusRacquet();
  31. Common = gcnew CommonData();
  32. requestAckMsg = channelAckMsg;
  33. timerHandle = channelTimer;
  34. InitializeSim();
  35. }
  36. ~RacquetSensor(){
  37. this->panel_Display->Controls->Clear();
  38. this->panel_Settings->Controls->Clear();
  39. delete this->panel_Display;
  40. delete this->panel_Settings;
  41. //clean up floating resources with the garbage collector
  42. GC::Collect(2);
  43. if (components)
  44. {
  45. delete components;
  46. }
  47. }
  48. // Methods required by the interface class
  49. public:
  50. virtual void onTimerTock(USHORT eventTime); // Called every simulator event. Empty function for most receivers (timer is disabled on receivers unless explicitly enabled)
  51. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_); // Channel event state machine
  52. virtual UCHAR getDeviceType(){return AntPlusRacquet::DEVICE_TYPE;} // Eg. BikePower::DEVICE_TYPE, SDM_DEVICE_TYPE
  53. virtual UCHAR getTransmissionType(){return AntPlusRacquet::TX_TYPE;} // Eg. BikePower::TX_TYPE, SDM_TX_TYPE, 0 (for receivers, if wildcarding)
  54. virtual USHORT getTransmitPeriod(){return AntPlusRacquet::MSG_PERIOD;} // Eg. BikePower::MSG_PERIOD, SDM_MSG_PERIOD
  55. virtual DOUBLE getTimerInterval(){return (double) ulTimerInterval;} // Set to any value for receivers not using the timer.
  56. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  57. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  58. // Optional methods (not required by interface class)
  59. private:
  60. // Initialize simulation
  61. void InitializeSim();
  62. // Device Specific Functions
  63. void HandleTransmit(UCHAR* pucTxBuffer_); // Handles data page transmission
  64. void UpdateDisplay(); // Updates the UI
  65. void HandleReceive(UCHAR* pucRxBuffer_); // Handles any back channel data pages
  66. void AddEvent(); // Adds event to previous event array
  67. // GUI Specific Functions
  68. System::Void zoneOne_Click(System::Object^ sender, System::EventArgs^ e);
  69. System::Void zoneTwo_Click(System::Object^ sender, System::EventArgs^ e);
  70. System::Void zoneThree_Click(System::Object^ sender, System::EventArgs^ e);
  71. System::Void zoneFour_Click(System::Object^ sender, System::EventArgs^ e);
  72. System::Void zoneFive_Click(System::Object^ sender, System::EventArgs^ e);
  73. System::Void zoneSix_Click(System::Object^ sender, System::EventArgs^ e);
  74. System::Void zoneSeven_Click(System::Object^ sender, System::EventArgs^ e);
  75. System::Void zoneEight_Click(System::Object^ sender, System::EventArgs^ e);
  76. System::Void zoneNine_Click(System::Object^ sender, System::EventArgs^ e);
  77. System::Void zoneOther_Click(System::Object^ sender, System::EventArgs^ e);
  78. System::Void zoneUnknown_Click(System::Object^ sender, System::EventArgs^ e);
  79. System::Void zoneMiss_Click(System::Object^ sender, System::EventArgs^ e);
  80. System::Void ckInvalidSpeed_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  81. System::Void cbEventCount_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  82. System::Void cbStrokeType_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  83. System::Void cbRacquetZone_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  84. System::Void cbZoneStrokes_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  85. System::Void btUpdateCommon_Click(System::Object^ sender, System::EventArgs^ e);
  86. System::Void cbInvalidSerial_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  87. static System::Void timerSession_Tick(System::Object^ sender, System::Timers::ElapsedEventArgs^ e);
  88. System::Void checkMpS_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  89. System::Void comboBoxBatStatus_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  90. System::Void checkBox_Bat_Voltage_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  91. System::Void numericCoarseVoltage_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  92. System::Void numericFractionalVoltage_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  93. System::Void radioResolution2_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  94. System::Void buttonUpdateTime_Click(System::Object^ sender, System::EventArgs^ e);
  95. System::Void checkANTFS_CheckedChanged (System::Object^ sender, System::EventArgs^ e);
  96. private:
  97. dRequestAckMsg^ requestAckMsg; // Delegate handle (ACK messages, only if used)
  98. System::Timers::Timer^ timerHandle; // Timer handle (only if there is a timer)
  99. ULONG ulTimerInterval; // Timer interval between simulated events (only if there is a timer)
  100. bool bTxRequest;
  101. UCHAR ucRequestCount;
  102. System::Timers::Timer^ timerSession;
  103. // ANT Plus objects
  104. AntPlusRacquet^ RacquetData;
  105. CommonData^ Common;
  106. System::DateTime startTime;
  107. System::DateTime lastTime;
  108. static int time;
  109. ULONG ulTotalTime;
  110. array<array<USHORT>^>^ zones;
  111. public: value struct Event{
  112. Double EventCount;
  113. USHORT EventTime;
  114. UCHAR EventType;
  115. UCHAR RacquetZone;
  116. USHORT BallSpeed;
  117. };
  118. private: array<Event^> ^ StrokeEvents; // Holds the user initiated stroke events
  119. private: System::Windows::Forms::Panel^ panel_Settings;
  120. private: System::Windows::Forms::Panel^ panel_Display;
  121. private: System::Windows::Forms::TabControl^ tabControl1;
  122. private: System::Windows::Forms::TabPage^ tabPage1;
  123. private: System::Windows::Forms::TabPage^ tabPage2;
  124. private: System::Windows::Forms::Button^ zoneEight;
  125. private: System::Windows::Forms::Button^ zoneFive;
  126. private: System::Windows::Forms::Button^ zoneFour;
  127. private: System::Windows::Forms::Button^ zoneSix;
  128. private: System::Windows::Forms::Label^ label3;
  129. private: System::Windows::Forms::Button^ zoneOne;
  130. private: System::Windows::Forms::Button^ zoneSeven;
  131. private: System::Windows::Forms::Label^ lbTime;
  132. private: System::Windows::Forms::Label^ label6;
  133. private: System::Windows::Forms::Label^ label5;
  134. private: System::Windows::Forms::Label^ label4;
  135. private: System::Windows::Forms::ComboBox^ comboType;
  136. private: System::Windows::Forms::NumericUpDown^ valueSpeed;
  137. private: System::Windows::Forms::CheckBox^ ckInvalidSpeed;
  138. private: System::Windows::Forms::Label^ label2;
  139. private: System::Windows::Forms::Label^ label1;
  140. private: System::Windows::Forms::Button^ zoneUnknown;
  141. private: System::Windows::Forms::Button^ zoneOther;
  142. private: System::Windows::Forms::Button^ zoneTwo;
  143. private: System::Windows::Forms::GroupBox^ groupBox2;
  144. private: System::Windows::Forms::Label^ label10;
  145. private: System::Windows::Forms::GroupBox^ groupBox1;
  146. private: System::Windows::Forms::Label^ label9;
  147. private: System::Windows::Forms::ComboBox^ cbStrokeType;
  148. private: System::Windows::Forms::Label^ label8;
  149. private: System::Windows::Forms::ComboBox^ cbZoneStrokes;
  150. private: System::Windows::Forms::ComboBox^ cbRacquetZone;
  151. private: System::Windows::Forms::Label^ label12;
  152. private: System::Windows::Forms::Label^ label11;
  153. private: System::Windows::Forms::TabPage^ tabPage3;
  154. private: System::Windows::Forms::Button^ zoneThree;
  155. private: System::Windows::Forms::Label^ label13;
  156. private: System::Windows::Forms::ComboBox^ cbEventCount;
  157. private: System::Windows::Forms::Label^ lbEventTime;
  158. private: System::Windows::Forms::Label^ lbBallSpeed;
  159. private: System::Windows::Forms::Label^ lbStrokeType;
  160. private: System::Windows::Forms::Label^ label16;
  161. private: System::Windows::Forms::Label^ label15;
  162. private: System::Windows::Forms::Label^ label14;
  163. private: System::Windows::Forms::Button^ zoneNine;
  164. private: System::Windows::Forms::Label^ lbRacquetZone;
  165. private: System::Windows::Forms::Label^ label17;
  166. private: System::Windows::Forms::Button^ zoneMiss;
  167. private: System::Windows::Forms::Label^ lbZoneStrokes;
  168. private: System::Windows::Forms::Label^ lbStrokes;
  169. private: System::Windows::Forms::CheckBox^ cbUnknownZoneCount;
  170. private: System::Windows::Forms::CheckBox^ cbUnknownStrokeCount;
  171. private: System::Windows::Forms::TabPage^ tabPage4;
  172. private: System::Windows::Forms::CheckBox^ cbInvalidSerial;
  173. private: System::Windows::Forms::Button^ btUpdateCommon;
  174. private: System::Windows::Forms::Label^ lbCommonError;
  175. private: System::Windows::Forms::TextBox^ tbHardwareVer;
  176. private: System::Windows::Forms::TextBox^ tbModelNum;
  177. private: System::Windows::Forms::Label^ label_Glb_HardwareVer;
  178. private: System::Windows::Forms::Label^ label_Glb_ManfID;
  179. private: System::Windows::Forms::TextBox^ tbManfId;
  180. private: System::Windows::Forms::Label^ label_Glb_SoftwareVer;
  181. private: System::Windows::Forms::Label^ label_Glb_ModelNum;
  182. private: System::Windows::Forms::TextBox^ tbSerialNumber;
  183. private: System::Windows::Forms::TextBox^ tbSoftwareVer;
  184. private: System::Windows::Forms::Label^ label_Glb_SerialNum;
  185. private: System::Windows::Forms::Label^ label18;
  186. private: System::Windows::Forms::Label^ lbDisplayStroke;
  187. private: System::Windows::Forms::Label^ lbDisplaySpeed;
  188. private: System::Windows::Forms::Label^ lbDisplayZone;
  189. private: System::Windows::Forms::Label^ lbDisplayTime;
  190. private: System::Windows::Forms::Label^ lbDisplayEvent;
  191. private: System::Windows::Forms::Label^ label23;
  192. private: System::Windows::Forms::Label^ label22;
  193. private: System::Windows::Forms::Label^ label21;
  194. private: System::Windows::Forms::Label^ label20;
  195. private: System::Windows::Forms::Label^ label19;
  196. private: System::Windows::Forms::TabPage^ tabPage5;
  197. private: System::Windows::Forms::TabControl^ tabControl2;
  198. private: System::Windows::Forms::Label^ lbOpponentScore;
  199. private: System::Windows::Forms::Label^ lbMyScore;
  200. private: System::Windows::Forms::Label^ lbUserMarker;
  201. private: System::Windows::Forms::Label^ label24;
  202. private: System::Windows::Forms::Label^ lbGameMode;
  203. private: System::Windows::Forms::Label^ label27;
  204. private: System::Windows::Forms::Label^ lbOpponentSessionsWon;
  205. private: System::Windows::Forms::Label^ lbMySessionsWon;
  206. private: System::Windows::Forms::Label^ lbMySetCount;
  207. private: System::Windows::Forms::Label^ lbOpponentGameCount;
  208. private: System::Windows::Forms::Label^ lbMyGameCount;
  209. private: System::Windows::Forms::Label^ lbOpponentSetCount;
  210. public: static System::Windows::Forms::Label^ lbSessionTime;
  211. private:
  212. private:
  213. private:
  214. private:
  215. private: System::Windows::Forms::Label^ label32;
  216. private: System::Windows::Forms::Panel^ panel1;
  217. private: System::Windows::Forms::Label^ label25;
  218. private: System::Windows::Forms::Label^ label7;
  219. private: System::Windows::Forms::Label^ label34;
  220. private: System::Windows::Forms::Label^ label33;
  221. private: System::Windows::Forms::Label^ label26;
  222. private: System::Windows::Forms::Label^ lbGameModeText;
  223. private: System::Windows::Forms::RadioButton^ checkMpS;
  224. private: System::Windows::Forms::TabControl^ tabControl3;
  225. private: System::Windows::Forms::TabPage^ tabPage6;
  226. private: System::Windows::Forms::TabPage^ tabPage7;
  227. private: System::Windows::Forms::Label^ label28;
  228. private: System::Windows::Forms::ComboBox^ comboBoxBatStatus;
  229. private: System::Windows::Forms::Label^ label30;
  230. private: System::Windows::Forms::Label^ label29;
  231. private: System::Windows::Forms::NumericUpDown^ numericCoarseVoltage;
  232. private: System::Windows::Forms::NumericUpDown^ numericFractionalVoltage;
  233. private: System::Windows::Forms::CheckBox^ checkBox_Bat_Voltage;
  234. private: System::Windows::Forms::Label^ labelElpTime;
  235. private: System::Windows::Forms::Label^ label_Bat_ElpTime;
  236. private: System::Windows::Forms::RadioButton^ radioResolution2;
  237. private: System::Windows::Forms::RadioButton^ radioResolution16;
  238. private: System::Windows::Forms::TextBox^ textBoxTime;
  239. private: System::Windows::Forms::Button^ buttonUpdateTime;
  240. private: System::Windows::Forms::Label^ labelTimeError;
  241. private: System::Windows::Forms::Label^ label35;
  242. private: System::Windows::Forms::TabPage^ tabPage10;
  243. private: System::Windows::Forms::Label^ label45;
  244. private: System::Windows::Forms::Label^ lbMaxHRDisplay;
  245. private: System::Windows::Forms::Label^ lbMaxRunSpdDisplay;
  246. private: System::Windows::Forms::Label^ label48;
  247. private: System::Windows::Forms::Label^ label50;
  248. private: System::Windows::Forms::Label^ lbTotDistanceDisplay;
  249. private: System::Windows::Forms::Label^ label36;
  250. private: System::Windows::Forms::Label^ lbAvgRunSpdDisplay;
  251. private: System::Windows::Forms::Label^ lbAvgHRDisplay;
  252. private: System::Windows::Forms::Label^ label49;
  253. private: System::Windows::Forms::Label^ lbTotCaloriesDisplay;
  254. private: System::Windows::Forms::Label^ label37;
  255. private: System::Windows::Forms::CheckBox^ checkANTFS;
  256. private: System::Windows::Forms::RadioButton^ checkKMpH;
  257. private: System::ComponentModel::IContainer^ components;
  258. /// <summary>
  259. /// Required designer variable.a
  260. /// </summary>
  261. #pragma region Windows Form Designer generated code
  262. /// <summary>
  263. /// Required method for Designer support - do not modify
  264. /// the contents of this method with the code editor.
  265. /// </summary>
  266. void InitializeComponent(void)
  267. {
  268. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  269. this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
  270. this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
  271. this->checkMpS = (gcnew System::Windows::Forms::RadioButton());
  272. this->zoneMiss = (gcnew System::Windows::Forms::Button());
  273. this->zoneNine = (gcnew System::Windows::Forms::Button());
  274. this->zoneThree = (gcnew System::Windows::Forms::Button());
  275. this->lbTime = (gcnew System::Windows::Forms::Label());
  276. this->zoneTwo = (gcnew System::Windows::Forms::Button());
  277. this->zoneUnknown = (gcnew System::Windows::Forms::Button());
  278. this->zoneOther = (gcnew System::Windows::Forms::Button());
  279. this->label6 = (gcnew System::Windows::Forms::Label());
  280. this->label5 = (gcnew System::Windows::Forms::Label());
  281. this->label4 = (gcnew System::Windows::Forms::Label());
  282. this->label3 = (gcnew System::Windows::Forms::Label());
  283. this->zoneOne = (gcnew System::Windows::Forms::Button());
  284. this->ckInvalidSpeed = (gcnew System::Windows::Forms::CheckBox());
  285. this->label2 = (gcnew System::Windows::Forms::Label());
  286. this->zoneSix = (gcnew System::Windows::Forms::Button());
  287. this->label1 = (gcnew System::Windows::Forms::Label());
  288. this->valueSpeed = (gcnew System::Windows::Forms::NumericUpDown());
  289. this->comboType = (gcnew System::Windows::Forms::ComboBox());
  290. this->zoneFive = (gcnew System::Windows::Forms::Button());
  291. this->zoneFour = (gcnew System::Windows::Forms::Button());
  292. this->zoneEight = (gcnew System::Windows::Forms::Button());
  293. this->zoneSeven = (gcnew System::Windows::Forms::Button());
  294. this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
  295. this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
  296. this->cbUnknownZoneCount = (gcnew System::Windows::Forms::CheckBox());
  297. this->lbZoneStrokes = (gcnew System::Windows::Forms::Label());
  298. this->label12 = (gcnew System::Windows::Forms::Label());
  299. this->label11 = (gcnew System::Windows::Forms::Label());
  300. this->cbZoneStrokes = (gcnew System::Windows::Forms::ComboBox());
  301. this->cbRacquetZone = (gcnew System::Windows::Forms::ComboBox());
  302. this->label10 = (gcnew System::Windows::Forms::Label());
  303. this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
  304. this->cbUnknownStrokeCount = (gcnew System::Windows::Forms::CheckBox());
  305. this->lbStrokes = (gcnew System::Windows::Forms::Label());
  306. this->label9 = (gcnew System::Windows::Forms::Label());
  307. this->cbStrokeType = (gcnew System::Windows::Forms::ComboBox());
  308. this->label8 = (gcnew System::Windows::Forms::Label());
  309. this->tabPage3 = (gcnew System::Windows::Forms::TabPage());
  310. this->lbRacquetZone = (gcnew System::Windows::Forms::Label());
  311. this->label17 = (gcnew System::Windows::Forms::Label());
  312. this->lbEventTime = (gcnew System::Windows::Forms::Label());
  313. this->lbBallSpeed = (gcnew System::Windows::Forms::Label());
  314. this->lbStrokeType = (gcnew System::Windows::Forms::Label());
  315. this->label16 = (gcnew System::Windows::Forms::Label());
  316. this->label15 = (gcnew System::Windows::Forms::Label());
  317. this->label14 = (gcnew System::Windows::Forms::Label());
  318. this->label13 = (gcnew System::Windows::Forms::Label());
  319. this->cbEventCount = (gcnew System::Windows::Forms::ComboBox());
  320. this->tabPage5 = (gcnew System::Windows::Forms::TabPage());
  321. this->panel1 = (gcnew System::Windows::Forms::Panel());
  322. this->lbUserMarker = (gcnew System::Windows::Forms::Label());
  323. this->label24 = (gcnew System::Windows::Forms::Label());
  324. this->lbOpponentSetCount = (gcnew System::Windows::Forms::Label());
  325. this->lbGameModeText = (gcnew System::Windows::Forms::Label());
  326. this->lbOpponentSessionsWon = (gcnew System::Windows::Forms::Label());
  327. this->lbMySetCount = (gcnew System::Windows::Forms::Label());
  328. this->lbOpponentGameCount = (gcnew System::Windows::Forms::Label());
  329. this->lbMySessionsWon = (gcnew System::Windows::Forms::Label());
  330. this->lbOpponentScore = (gcnew System::Windows::Forms::Label());
  331. this->label34 = (gcnew System::Windows::Forms::Label());
  332. this->label33 = (gcnew System::Windows::Forms::Label());
  333. this->lbMyScore = (gcnew System::Windows::Forms::Label());
  334. this->lbMyGameCount = (gcnew System::Windows::Forms::Label());
  335. this->label26 = (gcnew System::Windows::Forms::Label());
  336. this->label25 = (gcnew System::Windows::Forms::Label());
  337. this->label7 = (gcnew System::Windows::Forms::Label());
  338. this->tabControl2 = (gcnew System::Windows::Forms::TabControl());
  339. this->tabPage10 = (gcnew System::Windows::Forms::TabPage());
  340. this->lbTotCaloriesDisplay = (gcnew System::Windows::Forms::Label());
  341. this->label37 = (gcnew System::Windows::Forms::Label());
  342. this->lbTotDistanceDisplay = (gcnew System::Windows::Forms::Label());
  343. this->label36 = (gcnew System::Windows::Forms::Label());
  344. this->lbAvgRunSpdDisplay = (gcnew System::Windows::Forms::Label());
  345. this->lbAvgHRDisplay = (gcnew System::Windows::Forms::Label());
  346. this->label45 = (gcnew System::Windows::Forms::Label());
  347. this->lbMaxHRDisplay = (gcnew System::Windows::Forms::Label());
  348. this->lbMaxRunSpdDisplay = (gcnew System::Windows::Forms::Label());
  349. this->label48 = (gcnew System::Windows::Forms::Label());
  350. this->label49 = (gcnew System::Windows::Forms::Label());
  351. this->label50 = (gcnew System::Windows::Forms::Label());
  352. this->tabPage4 = (gcnew System::Windows::Forms::TabPage());
  353. this->tabControl3 = (gcnew System::Windows::Forms::TabControl());
  354. this->tabPage6 = (gcnew System::Windows::Forms::TabPage());
  355. this->cbInvalidSerial = (gcnew System::Windows::Forms::CheckBox());
  356. this->btUpdateCommon = (gcnew System::Windows::Forms::Button());
  357. this->lbCommonError = (gcnew System::Windows::Forms::Label());
  358. this->label_Glb_SerialNum = (gcnew System::Windows::Forms::Label());
  359. this->tbManfId = (gcnew System::Windows::Forms::TextBox());
  360. this->label_Glb_ManfID = (gcnew System::Windows::Forms::Label());
  361. this->tbHardwareVer = (gcnew System::Windows::Forms::TextBox());
  362. this->label_Glb_ModelNum = (gcnew System::Windows::Forms::Label());
  363. this->tbSoftwareVer = (gcnew System::Windows::Forms::TextBox());
  364. this->tbModelNum = (gcnew System::Windows::Forms::TextBox());
  365. this->label_Glb_HardwareVer = (gcnew System::Windows::Forms::Label());
  366. this->tbSerialNumber = (gcnew System::Windows::Forms::TextBox());
  367. this->label_Glb_SoftwareVer = (gcnew System::Windows::Forms::Label());
  368. this->tabPage7 = (gcnew System::Windows::Forms::TabPage());
  369. this->label35 = (gcnew System::Windows::Forms::Label());
  370. this->radioResolution2 = (gcnew System::Windows::Forms::RadioButton());
  371. this->comboBoxBatStatus = (gcnew System::Windows::Forms::ComboBox());
  372. this->labelTimeError = (gcnew System::Windows::Forms::Label());
  373. this->label28 = (gcnew System::Windows::Forms::Label());
  374. this->radioResolution16 = (gcnew System::Windows::Forms::RadioButton());
  375. this->buttonUpdateTime = (gcnew System::Windows::Forms::Button());
  376. this->textBoxTime = (gcnew System::Windows::Forms::TextBox());
  377. this->labelElpTime = (gcnew System::Windows::Forms::Label());
  378. this->label_Bat_ElpTime = (gcnew System::Windows::Forms::Label());
  379. this->label30 = (gcnew System::Windows::Forms::Label());
  380. this->label29 = (gcnew System::Windows::Forms::Label());
  381. this->numericCoarseVoltage = (gcnew System::Windows::Forms::NumericUpDown());
  382. this->numericFractionalVoltage = (gcnew System::Windows::Forms::NumericUpDown());
  383. this->checkBox_Bat_Voltage = (gcnew System::Windows::Forms::CheckBox());
  384. this->lbGameMode = (gcnew System::Windows::Forms::Label());
  385. this->label27 = (gcnew System::Windows::Forms::Label());
  386. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  387. this->lbSessionTime = (gcnew System::Windows::Forms::Label());
  388. this->label32 = (gcnew System::Windows::Forms::Label());
  389. this->lbDisplayStroke = (gcnew System::Windows::Forms::Label());
  390. this->lbDisplaySpeed = (gcnew System::Windows::Forms::Label());
  391. this->lbDisplayEvent = (gcnew System::Windows::Forms::Label());
  392. this->lbDisplayTime = (gcnew System::Windows::Forms::Label());
  393. this->label19 = (gcnew System::Windows::Forms::Label());
  394. this->label21 = (gcnew System::Windows::Forms::Label());
  395. this->lbDisplayZone = (gcnew System::Windows::Forms::Label());
  396. this->label23 = (gcnew System::Windows::Forms::Label());
  397. this->label22 = (gcnew System::Windows::Forms::Label());
  398. this->label20 = (gcnew System::Windows::Forms::Label());
  399. this->label18 = (gcnew System::Windows::Forms::Label());
  400. this->checkANTFS = (gcnew System::Windows::Forms::CheckBox());
  401. this->checkKMpH = (gcnew System::Windows::Forms::RadioButton());
  402. this->panel_Settings->SuspendLayout();
  403. this->tabControl1->SuspendLayout();
  404. this->tabPage1->SuspendLayout();
  405. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->valueSpeed))->BeginInit();
  406. this->tabPage2->SuspendLayout();
  407. this->groupBox2->SuspendLayout();
  408. this->groupBox1->SuspendLayout();
  409. this->tabPage3->SuspendLayout();
  410. this->tabPage5->SuspendLayout();
  411. this->panel1->SuspendLayout();
  412. this->tabPage10->SuspendLayout();
  413. this->tabPage4->SuspendLayout();
  414. this->tabControl3->SuspendLayout();
  415. this->tabPage6->SuspendLayout();
  416. this->tabPage7->SuspendLayout();
  417. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericCoarseVoltage))->BeginInit();
  418. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericFractionalVoltage))->BeginInit();
  419. this->panel_Display->SuspendLayout();
  420. this->SuspendLayout();
  421. //
  422. // panel_Settings
  423. //
  424. this->panel_Settings->Controls->Add(this->tabControl1);
  425. this->panel_Settings->Location = System::Drawing::Point(322, 50);
  426. this->panel_Settings->Name = L"panel_Settings";
  427. this->panel_Settings->Size = System::Drawing::Size(400, 140);
  428. this->panel_Settings->TabIndex = 0;
  429. //
  430. // tabControl1
  431. //
  432. this->tabControl1->Controls->Add(this->tabPage1);
  433. this->tabControl1->Controls->Add(this->tabPage2);
  434. this->tabControl1->Controls->Add(this->tabPage3);
  435. this->tabControl1->Controls->Add(this->tabPage5);
  436. this->tabControl1->Controls->Add(this->tabPage10);
  437. this->tabControl1->Controls->Add(this->tabPage4);
  438. this->tabControl1->Location = System::Drawing::Point(3, 3);
  439. this->tabControl1->Name = L"tabControl1";
  440. this->tabControl1->SelectedIndex = 0;
  441. this->tabControl1->Size = System::Drawing::Size(394, 134);
  442. this->tabControl1->TabIndex = 0;
  443. //
  444. // tabPage1
  445. //
  446. this->tabPage1->Controls->Add(this->checkANTFS);
  447. this->tabPage1->Controls->Add(this->checkKMpH);
  448. this->tabPage1->Controls->Add(this->checkMpS);
  449. this->tabPage1->Controls->Add(this->zoneMiss);
  450. this->tabPage1->Controls->Add(this->zoneNine);
  451. this->tabPage1->Controls->Add(this->zoneThree);
  452. this->tabPage1->Controls->Add(this->lbTime);
  453. this->tabPage1->Controls->Add(this->zoneTwo);
  454. this->tabPage1->Controls->Add(this->zoneUnknown);
  455. this->tabPage1->Controls->Add(this->zoneOther);
  456. this->tabPage1->Controls->Add(this->label6);
  457. this->tabPage1->Controls->Add(this->label5);
  458. this->tabPage1->Controls->Add(this->label4);
  459. this->tabPage1->Controls->Add(this->label3);
  460. this->tabPage1->Controls->Add(this->zoneOne);
  461. this->tabPage1->Controls->Add(this->ckInvalidSpeed);
  462. this->tabPage1->Controls->Add(this->label2);
  463. this->tabPage1->Controls->Add(this->zoneSix);
  464. this->tabPage1->Controls->Add(this->label1);
  465. this->tabPage1->Controls->Add(this->valueSpeed);
  466. this->tabPage1->Controls->Add(this->comboType);
  467. this->tabPage1->Controls->Add(this->zoneFive);
  468. this->tabPage1->Controls->Add(this->zoneFour);
  469. this->tabPage1->Controls->Add(this->zoneEight);
  470. this->tabPage1->Controls->Add(this->zoneSeven);
  471. this->tabPage1->Location = System::Drawing::Point(4, 22);
  472. this->tabPage1->Name = L"tabPage1";
  473. this->tabPage1->Padding = System::Windows::Forms::Padding(3);
  474. this->tabPage1->Size = System::Drawing::Size(386, 108);
  475. this->tabPage1->TabIndex = 0;
  476. this->tabPage1->Text = L"Current Event";
  477. this->tabPage1->UseVisualStyleBackColor = true;
  478. //
  479. // checkMpS
  480. //
  481. this->checkMpS->AutoSize = true;
  482. this->checkMpS->Checked = true;
  483. this->checkMpS->Location = System::Drawing::Point(245, 70);
  484. this->checkMpS->Name = L"checkMpS";
  485. this->checkMpS->Size = System::Drawing::Size(43, 17);
  486. this->checkMpS->TabIndex = 25;
  487. this->checkMpS->TabStop = true;
  488. this->checkMpS->Text = L"m/s";
  489. this->checkMpS->UseVisualStyleBackColor = true;
  490. this->checkMpS->CheckedChanged += gcnew System::EventHandler(this, &RacquetSensor::checkMpS_CheckedChanged);
  491. //
  492. // zoneMiss
  493. //
  494. this->zoneMiss->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  495. this->zoneMiss->Location = System::Drawing::Point(119, 20);
  496. this->zoneMiss->Name = L"zoneMiss";
  497. this->zoneMiss->Size = System::Drawing::Size(24, 60);
  498. this->zoneMiss->TabIndex = 24;
  499. this->zoneMiss->Text = L"M\r\ni\r\ns\r\ns";
  500. this->zoneMiss->UseVisualStyleBackColor = true;
  501. this->zoneMiss->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneMiss_Click);
  502. //
  503. // zoneNine
  504. //
  505. this->zoneNine->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  506. this->zoneNine->Location = System::Drawing::Point(26, 40);
  507. this->zoneNine->Margin = System::Windows::Forms::Padding(0);
  508. this->zoneNine->Name = L"zoneNine";
  509. this->zoneNine->Size = System::Drawing::Size(30, 20);
  510. this->zoneNine->TabIndex = 23;
  511. this->zoneNine->Text = L"9";
  512. this->zoneNine->UseVisualStyleBackColor = true;
  513. this->zoneNine->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneNine_Click);
  514. //
  515. // zoneThree
  516. //
  517. this->zoneThree->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  518. this->zoneThree->Location = System::Drawing::Point(86, 20);
  519. this->zoneThree->Margin = System::Windows::Forms::Padding(0);
  520. this->zoneThree->Name = L"zoneThree";
  521. this->zoneThree->Size = System::Drawing::Size(30, 20);
  522. this->zoneThree->TabIndex = 22;
  523. this->zoneThree->Text = L"3";
  524. this->zoneThree->UseVisualStyleBackColor = true;
  525. this->zoneThree->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneThree_Click);
  526. //
  527. // lbTime
  528. //
  529. this->lbTime->AutoSize = true;
  530. this->lbTime->Location = System::Drawing::Point(234, 89);
  531. this->lbTime->Name = L"lbTime";
  532. this->lbTime->Size = System::Drawing::Size(19, 13);
  533. this->lbTime->TabIndex = 18;
  534. this->lbTime->Text = L"----";
  535. //
  536. // zoneTwo
  537. //
  538. this->zoneTwo->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  539. this->zoneTwo->Location = System::Drawing::Point(56, 20);
  540. this->zoneTwo->Margin = System::Windows::Forms::Padding(0);
  541. this->zoneTwo->Name = L"zoneTwo";
  542. this->zoneTwo->Size = System::Drawing::Size(30, 20);
  543. this->zoneTwo->TabIndex = 21;
  544. this->zoneTwo->Text = L"2";
  545. this->zoneTwo->UseVisualStyleBackColor = true;
  546. this->zoneTwo->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneTwo_Click);
  547. //
  548. // zoneUnknown
  549. //
  550. this->zoneUnknown->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  551. this->zoneUnknown->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
  552. static_cast<System::Byte>(0)));
  553. this->zoneUnknown->Location = System::Drawing::Point(71, 83);
  554. this->zoneUnknown->Name = L"zoneUnknown";
  555. this->zoneUnknown->Size = System::Drawing::Size(45, 20);
  556. this->zoneUnknown->TabIndex = 20;
  557. this->zoneUnknown->Text = L"UNK";
  558. this->zoneUnknown->UseVisualStyleBackColor = true;
  559. this->zoneUnknown->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneUnknown_Click);
  560. //
  561. // zoneOther
  562. //
  563. this->zoneOther->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  564. this->zoneOther->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
  565. static_cast<System::Byte>(0)));
  566. this->zoneOther->Location = System::Drawing::Point(26, 83);
  567. this->zoneOther->Name = L"zoneOther";
  568. this->zoneOther->Size = System::Drawing::Size(45, 20);
  569. this->zoneOther->TabIndex = 19;
  570. this->zoneOther->Text = L"Other";
  571. this->zoneOther->UseVisualStyleBackColor = true;
  572. this->zoneOther->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneOther_Click);
  573. //
  574. // label6
  575. //
  576. this->label6->AutoSize = true;
  577. this->label6->Location = System::Drawing::Point(167, 89);
  578. this->label6->Name = L"label6";
  579. this->label6->Size = System::Drawing::Size(64, 13);
  580. this->label6->TabIndex = 17;
  581. this->label6->Text = L"Event Time:";
  582. //
  583. // label5
  584. //
  585. this->label5->Location = System::Drawing::Point(144, 20);
  586. this->label5->Name = L"label5";
  587. this->label5->Size = System::Drawing::Size(19, 75);
  588. this->label5->TabIndex = 16;
  589. this->label5->Text = L"B\r\nO\r\nT\r\nT\r\nO\r\nM";
  590. this->label5->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  591. //
  592. // label4
  593. //
  594. this->label4->Location = System::Drawing::Point(6, 22);
  595. this->label4->Name = L"label4";
  596. this->label4->Size = System::Drawing::Size(17, 73);
  597. this->label4->TabIndex = 15;
  598. this->label4->Text = L"T\r\nO\r\nP";
  599. this->label4->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  600. //
  601. // label3
  602. //
  603. this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  604. static_cast<System::Byte>(0)));
  605. this->label3->Location = System::Drawing::Point(26, -3);
  606. this->label3->Name = L"label3";
  607. this->label3->Size = System::Drawing::Size(90, 23);
  608. this->label3->TabIndex = 14;
  609. this->label3->Text = L"Racquet Zone";
  610. this->label3->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  611. //
  612. // zoneOne
  613. //
  614. this->zoneOne->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  615. this->zoneOne->Location = System::Drawing::Point(26, 20);
  616. this->zoneOne->Margin = System::Windows::Forms::Padding(0);
  617. this->zoneOne->Name = L"zoneOne";
  618. this->zoneOne->Size = System::Drawing::Size(30, 20);
  619. this->zoneOne->TabIndex = 9;
  620. this->zoneOne->Text = L"1";
  621. this->zoneOne->UseVisualStyleBackColor = true;
  622. this->zoneOne->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneOne_Click);
  623. //
  624. // ckInvalidSpeed
  625. //
  626. this->ckInvalidSpeed->AutoSize = true;
  627. this->ckInvalidSpeed->Location = System::Drawing::Point(326, 45);
  628. this->ckInvalidSpeed->Name = L"ckInvalidSpeed";
  629. this->ckInvalidSpeed->Size = System::Drawing::Size(60, 17);
  630. this->ckInvalidSpeed->TabIndex = 13;
  631. this->ckInvalidSpeed->Text = L"Invalid ";
  632. this->ckInvalidSpeed->UseVisualStyleBackColor = true;
  633. this->ckInvalidSpeed->CheckedChanged += gcnew System::EventHandler(this, &RacquetSensor::ckInvalidSpeed_CheckedChanged);
  634. //
  635. // label2
  636. //
  637. this->label2->AutoSize = true;
  638. this->label2->Location = System::Drawing::Point(178, 46);
  639. this->label2->Name = L"label2";
  640. this->label2->Size = System::Drawing::Size(61, 13);
  641. this->label2->TabIndex = 12;
  642. this->label2->Text = L"Ball Speed:";
  643. //
  644. // zoneSix
  645. //
  646. this->zoneSix->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  647. this->zoneSix->Location = System::Drawing::Point(56, 40);
  648. this->zoneSix->Margin = System::Windows::Forms::Padding(0);
  649. this->zoneSix->Name = L"zoneSix";
  650. this->zoneSix->Size = System::Drawing::Size(30, 20);
  651. this->zoneSix->TabIndex = 4;
  652. this->zoneSix->Text = L"6";
  653. this->zoneSix->UseVisualStyleBackColor = true;
  654. this->zoneSix->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneSix_Click);
  655. //
  656. // label1
  657. //
  658. this->label1->AutoSize = true;
  659. this->label1->Location = System::Drawing::Point(171, 20);
  660. this->label1->Name = L"label1";
  661. this->label1->Size = System::Drawing::Size(68, 13);
  662. this->label1->TabIndex = 11;
  663. this->label1->Text = L"Stroke Type:";
  664. //
  665. // valueSpeed
  666. //
  667. this->valueSpeed->DecimalPlaces = 2;
  668. this->valueSpeed->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  669. this->valueSpeed->Location = System::Drawing::Point(245, 44);
  670. this->valueSpeed->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {65534, 0, 0, 131072});
  671. this->valueSpeed->Name = L"valueSpeed";
  672. this->valueSpeed->Size = System::Drawing::Size(75, 20);
  673. this->valueSpeed->TabIndex = 10;
  674. this->valueSpeed->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {50, 0, 0, 0});
  675. //
  676. // comboType
  677. //
  678. this->comboType->FormattingEnabled = true;
  679. this->comboType->Items->AddRange(gcnew cli::array< System::Object^ >(7) {L"No Event", L"Other", L"Serve", L"Forehand", L"Backhand",
  680. L"Smash", L"Unknown"});
  681. this->comboType->Location = System::Drawing::Point(245, 17);
  682. this->comboType->Name = L"comboType";
  683. this->comboType->Size = System::Drawing::Size(75, 21);
  684. this->comboType->TabIndex = 9;
  685. this->comboType->Text = L"Serve";
  686. //
  687. // zoneFive
  688. //
  689. this->zoneFive->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  690. this->zoneFive->Location = System::Drawing::Point(86, 60);
  691. this->zoneFive->Margin = System::Windows::Forms::Padding(0);
  692. this->zoneFive->Name = L"zoneFive";
  693. this->zoneFive->Size = System::Drawing::Size(30, 20);
  694. this->zoneFive->TabIndex = 6;
  695. this->zoneFive->Text = L"5";
  696. this->zoneFive->UseVisualStyleBackColor = true;
  697. this->zoneFive->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneFive_Click);
  698. //
  699. // zoneFour
  700. //
  701. this->zoneFour->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  702. this->zoneFour->Location = System::Drawing::Point(86, 40);
  703. this->zoneFour->Margin = System::Windows::Forms::Padding(0);
  704. this->zoneFour->Name = L"zoneFour";
  705. this->zoneFour->Size = System::Drawing::Size(30, 20);
  706. this->zoneFour->TabIndex = 5;
  707. this->zoneFour->Text = L"4";
  708. this->zoneFour->UseVisualStyleBackColor = true;
  709. this->zoneFour->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneFour_Click);
  710. //
  711. // zoneEight
  712. //
  713. this->zoneEight->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  714. this->zoneEight->Location = System::Drawing::Point(26, 60);
  715. this->zoneEight->Margin = System::Windows::Forms::Padding(0);
  716. this->zoneEight->Name = L"zoneEight";
  717. this->zoneEight->Size = System::Drawing::Size(30, 20);
  718. this->zoneEight->TabIndex = 8;
  719. this->zoneEight->Text = L"8";
  720. this->zoneEight->UseVisualStyleBackColor = true;
  721. this->zoneEight->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneEight_Click);
  722. //
  723. // zoneSeven
  724. //
  725. this->zoneSeven->FlatStyle = System::Windows::Forms::FlatStyle::Popup;
  726. this->zoneSeven->Location = System::Drawing::Point(56, 60);
  727. this->zoneSeven->Margin = System::Windows::Forms::Padding(0);
  728. this->zoneSeven->Name = L"zoneSeven";
  729. this->zoneSeven->Size = System::Drawing::Size(30, 20);
  730. this->zoneSeven->TabIndex = 7;
  731. this->zoneSeven->Text = L"7";
  732. this->zoneSeven->UseVisualStyleBackColor = true;
  733. this->zoneSeven->Click += gcnew System::EventHandler(this, &RacquetSensor::zoneSeven_Click);
  734. //
  735. // tabPage2
  736. //
  737. this->tabPage2->Controls->Add(this->groupBox2);
  738. this->tabPage2->Controls->Add(this->groupBox1);
  739. this->tabPage2->Location = System::Drawing::Point(4, 22);
  740. this->tabPage2->Name = L"tabPage2";
  741. this->tabPage2->Padding = System::Windows::Forms::Padding(3);
  742. this->tabPage2->Size = System::Drawing::Size(386, 108);
  743. this->tabPage2->TabIndex = 1;
  744. this->tabPage2->Text = L"Stroke Summary";
  745. this->tabPage2->UseVisualStyleBackColor = true;
  746. //
  747. // groupBox2
  748. //
  749. this->groupBox2->Controls->Add(this->cbUnknownZoneCount);
  750. this->groupBox2->Controls->Add(this->lbZoneStrokes);
  751. this->groupBox2->Controls->Add(this->label12);
  752. this->groupBox2->Controls->Add(this->label11);
  753. this->groupBox2->Controls->Add(this->cbZoneStrokes);
  754. this->groupBox2->Controls->Add(this->cbRacquetZone);
  755. this->groupBox2->Controls->Add(this->label10);
  756. this->groupBox2->Location = System::Drawing::Point(192, 3);
  757. this->groupBox2->Name = L"groupBox2";
  758. this->groupBox2->Size = System::Drawing::Size(188, 102);
  759. this->groupBox2->TabIndex = 2;
  760. this->groupBox2->TabStop = false;
  761. this->groupBox2->Text = L"By Racquet Zone";
  762. //
  763. // cbUnknownZoneCount
  764. //
  765. this->cbUnknownZoneCount->AutoSize = true;
  766. this->cbUnknownZoneCount->Location = System::Drawing::Point(52, 82);
  767. this->cbUnknownZoneCount->Name = L"cbUnknownZoneCount";
  768. this->cbUnknownZoneCount->Size = System::Drawing::Size(123, 17);
  769. this->cbUnknownZoneCount->TabIndex = 8;
  770. this->cbUnknownZoneCount->Text = L"Tx Unknown Counts";
  771. this->cbUnknownZoneCount->UseVisualStyleBackColor = true;
  772. //
  773. // lbZoneStrokes
  774. //
  775. this->lbZoneStrokes->AutoSize = true;
  776. this->lbZoneStrokes->Location = System::Drawing::Point(80, 64);
  777. this->lbZoneStrokes->Name = L"lbZoneStrokes";
  778. this->lbZoneStrokes->Size = System::Drawing::Size(19, 13);
  779. this->lbZoneStrokes->TabIndex = 7;
  780. this->lbZoneStrokes->Text = L"----";
  781. //
  782. // label12
  783. //
  784. this->label12->AutoSize = true;
  785. this->label12->Location = System::Drawing::Point(6, 64);
  786. this->label12->Name = L"label12";
  787. this->label12->Size = System::Drawing::Size(68, 13);
  788. this->label12->TabIndex = 6;
  789. this->label12->Text = L"# of Strokes";
  790. //
  791. // label11
  792. //
  793. this->label11->AutoSize = true;
  794. this->label11->Location = System::Drawing::Point(9, 40);
  795. this->label11->Name = L"label11";
  796. this->label11->Size = System::Drawing::Size(65, 13);
  797. this->label11->TabIndex = 5;
  798. this->label11->Text = L"Stroke Type";
  799. //
  800. // cbZoneStrokes
  801. //
  802. this->cbZoneStrokes->FormattingEnabled = true;
  803. this->cbZoneStrokes->Items->AddRange(gcnew cli::array< System::Object^ >(7) {L"All Strokes", L"Other", L"Serve", L"Forehand",
  804. L"Backhand", L"Smash", L"Unknown"});
  805. this->cbZoneStrokes->Location = System::Drawing::Point(80, 37);
  806. this->cbZoneStrokes->Margin = System::Windows::Forms::Padding(3, 1, 3, 1);
  807. this->cbZoneStrokes->Name = L"cbZoneStrokes";
  808. this->cbZoneStrokes->Size = System::Drawing::Size(95, 21);
  809. this->cbZoneStrokes->TabIndex = 2;
  810. this->cbZoneStrokes->Text = L"Backhand";
  811. this->cbZoneStrokes->SelectedIndexChanged += gcnew System::EventHandler(this, &RacquetSensor::cbZoneStrokes_SelectedIndexChanged);
  812. //
  813. // cbRacquetZone
  814. //
  815. this->cbRacquetZone->FormattingEnabled = true;
  816. this->cbRacquetZone->Items->AddRange(gcnew cli::array< System::Object^ >(12) {L"Miss", L"Top Right", L"Middle Right", L"Bottom Right",
  817. L"Bottom Center", L"Bottom Left", L"Middle Center", L"Middle Left", L"Top Left", L"Top Center", L"Rim/Other", L"Unknown"});
  818. this->cbRacquetZone->Location = System::Drawing::Point(80, 14);
  819. this->cbRacquetZone->Margin = System::Windows::Forms::Padding(3, 3, 3, 1);
  820. this->cbRacquetZone->Name = L"cbRacquetZone";
  821. this->cbRacquetZone->Size = System::Drawing::Size(95, 21);
  822. this->cbRacquetZone->TabIndex = 1;
  823. this->cbRacquetZone->Text = L"Bottom Center";
  824. this->cbRacquetZone->SelectedIndexChanged += gcnew System::EventHandler(this, &RacquetSensor::cbRacquetZone_SelectedIndexChanged);
  825. //
  826. // label10
  827. //
  828. this->label10->AutoSize = true;
  829. this->label10->Location = System::Drawing::Point(42, 17);
  830. this->label10->Name = L"label10";
  831. this->label10->Size = System::Drawing::Size(32, 13);
  832. this->label10->TabIndex = 0;
  833. this->label10->Text = L"Zone";
  834. //
  835. // groupBox1
  836. //
  837. this->groupBox1->Controls->Add(this->cbUnknownStrokeCount);
  838. this->groupBox1->Controls->Add(this->lbStrokes);
  839. this->groupBox1->Controls->Add(this->label9);
  840. this->groupBox1->Controls->Add(this->cbStrokeType);
  841. this->groupBox1->Controls->Add(this->label8);
  842. this->groupBox1->Location = System::Drawing::Point(6, 3);
  843. this->groupBox1->Name = L"groupBox1";
  844. this->groupBox1->Size = System::Drawing::Size(180, 102);
  845. this->groupBox1->TabIndex = 1;
  846. this->groupBox1->TabStop = false;
  847. this->groupBox1->Text = L"By Stroke";
  848. //
  849. // cbUnknownStrokeCount
  850. //
  851. this->cbUnknownStrokeCount->AutoSize = true;
  852. this->cbUnknownStrokeCount->Location = System::Drawing::Point(49, 82);
  853. this->cbUnknownStrokeCount->Name = L"cbUnknownStrokeCount";
  854. this->cbUnknownStrokeCount->Size = System::Drawing::Size(117, 17);
  855. this->cbUnknownStrokeCount->TabIndex = 9;
  856. this->cbUnknownStrokeCount->Text = L"Tx Unkown Counts";
  857. this->cbUnknownStrokeCount->UseVisualStyleBackColor = true;
  858. //
  859. // lbStrokes
  860. //
  861. this->lbStrokes->AutoSize = true;
  862. this->lbStrokes->Location = System::Drawing::Point(77, 57);
  863. this->lbStrokes->Name = L"lbStrokes";
  864. this->lbStrokes->Size = System::Drawing::Size(19, 13);
  865. this->lbStrokes->TabIndex = 8;
  866. this->lbStrokes->Text = L"----";
  867. //
  868. // label9
  869. //
  870. this->label9->AutoSize = true;
  871. this->label9->Location = System::Drawing::Point(6, 57);
  872. this->label9->Name = L"label9";
  873. this->label9->Size = System::Drawing::Size(68, 13);
  874. this->label9->TabIndex = 2;
  875. this->label9->Text = L"# of Strokes";
  876. //
  877. // cbStrokeType
  878. //
  879. this->cbStrokeType->FormattingEnabled = true;
  880. this->cbStrokeType->Items->AddRange(gcnew cli::array< System::Object^ >(7) {L"All Strokes", L"Other", L"Serve", L"Forehand",
  881. L"Backhand", L"Smash", L"Unknown"});
  882. this->cbStrokeType->Location = System::Drawing::Point(76, 24);
  883. this->cbStrokeType->Margin = System::Windows::Forms::Padding(3, 3, 3, 1);
  884. this->cbStrokeType->Name = L"cbStrokeType";
  885. this->cbStrokeType->Size = System::Drawing::Size(90, 21);
  886. this->cbStrokeType->TabIndex = 1;
  887. this->cbStrokeType->Text = L"Backhand";
  888. this->cbStrokeType->SelectedIndexChanged += gcnew System::EventHandler(this, &RacquetSensor::cbStrokeType_SelectedIndexChanged);
  889. //
  890. // label8
  891. //
  892. this->label8->AutoSize = true;
  893. this->label8->Location = System::Drawing::Point(5, 27);
  894. this->label8->Name = L"label8";
  895. this->label8->Size = System::Drawing::Size(65, 13);
  896. this->label8->TabIndex = 0;
  897. this->label8->Text = L"Stroke Type";
  898. //
  899. // tabPage3
  900. //
  901. this->tabPage3->Controls->Add(this->lbRacquetZone);
  902. this->tabPage3->Controls->Add(this->label17);
  903. this->tabPage3->Controls->Add(this->lbEventTime);
  904. this->tabPage3->Controls->Add(this->lbBallSpeed);
  905. this->tabPage3->Controls->Add(this->lbStrokeType);
  906. this->tabPage3->Controls->Add(this->label16);
  907. this->tabPage3->Controls->Add(this->label15);
  908. this->tabPage3->Controls->Add(this->label14);
  909. this->tabPage3->Controls->Add(this->label13);
  910. this->tabPage3->Controls->Add(this->cbEventCount);
  911. this->tabPage3->Location = System::Drawing::Point(4, 22);
  912. this->tabPage3->Margin = System::Windows::Forms::Padding(5);
  913. this->tabPage3->Name = L"tabPage3";
  914. this->tabPage3->Size = System::Drawing::Size(386, 108);
  915. this->tabPage3->TabIndex = 2;
  916. this->tabPage3->Text = L"Previous Events";
  917. this->tabPage3->UseVisualStyleBackColor = true;
  918. //
  919. // lbRacquetZone
  920. //
  921. this->lbRacquetZone->AutoSize = true;
  922. this->lbRacquetZone->Location = System::Drawing::Point(231, 9);
  923. this->lbRacquetZone->Name = L"lbRacquetZone";
  924. this->lbRacquetZone->Size = System::Drawing::Size(19, 13);
  925. this->lbRacquetZone->TabIndex = 9;
  926. this->lbRacquetZone->Text = L"----";
  927. //
  928. // label17
  929. //
  930. this->label17->AutoSize = true;
  931. this->label17->Location = System::Drawing::Point(144, 9);
  932. this->label17->Margin = System::Windows::Forms::Padding(5);
  933. this->label17->Name = L"label17";
  934. this->label17->Size = System::Drawing::Size(79, 13);
  935. this->label17->TabIndex = 8;
  936. this->label17->Text = L"Racquet Zone:";
  937. //
  938. // lbEventTime
  939. //
  940. this->lbEventTime->AutoSize = true;
  941. this->lbEventTime->Location = System::Drawing::Point(231, 78);
  942. this->lbEventTime->Name = L"lbEventTime";
  943. this->lbEventTime->Size = System::Drawing::Size(19, 13);
  944. this->lbEventTime->TabIndex = 7;
  945. this->lbEventTime->Text = L"----";
  946. //
  947. // lbBallSpeed
  948. //
  949. this->lbBallSpeed->AutoSize = true;
  950. this->lbBallSpeed->Location = System::Drawing::Point(231, 55);
  951. this->lbBallSpeed->Name = L"lbBallSpeed";
  952. this->lbBallSpeed->Size = System::Drawing::Size(19, 13);
  953. this->lbBallSpeed->TabIndex = 6;
  954. this->lbBallSpeed->Text = L"----";
  955. //
  956. // lbStrokeType
  957. //
  958. this->lbStrokeType->AutoSize = true;
  959. this->lbStrokeType->Location = System::Drawing::Point(231, 32);
  960. this->lbStrokeType->Name = L"lbStrokeType";
  961. this->lbStrokeType->Size = System::Drawing::Size(19, 13);
  962. this->lbStrokeType->TabIndex = 5;
  963. this->lbStrokeType->Text = L"----";
  964. //
  965. // label16
  966. //
  967. this->label16->AutoSize = true;
  968. this->label16->Location = System::Drawing::Point(159, 78);
  969. this->label16->Margin = System::Windows::Forms::Padding(5);
  970. this->label16->Name = L"label16";
  971. this->label16->Size = System::Drawing::Size(64, 13);
  972. this->label16->TabIndex = 4;
  973. this->label16->Text = L"Event Time:";
  974. //
  975. // label15
  976. //
  977. this->label15->AutoSize = true;
  978. this->label15->Location = System::Drawing::Point(162, 55);
  979. this->label15->Margin = System::Windows::Forms::Padding(5);
  980. this->label15->Name = L"label15";
  981. this->label15->Size = System::Drawing::Size(61, 13);
  982. this->label15->TabIndex = 3;
  983. this->label15->Text = L"Ball Speed:";
  984. //
  985. // label14
  986. //
  987. this->label14->AutoSize = true;
  988. this->label14->Location = System::Drawing::Point(155, 32);
  989. this->label14->Margin = System::Windows::Forms::Padding(5);
  990. this->label14->Name = L"label14";
  991. this->label14->Size = System::Drawing::Size(68, 13);
  992. this->label14->TabIndex = 2;
  993. this->label14->Text = L"Stroke Type:";
  994. //
  995. // label13
  996. //
  997. this->label13->AutoSize = true;
  998. this->label13->Location = System::Drawing::Point(3, 9);
  999. this->label13->Name = L"label13";
  1000. this->label13->Size = System::Drawing::Size(66, 13);
  1001. this->label13->TabIndex = 1;
  1002. this->label13->Text = L"Event Count";
  1003. //
  1004. // cbEventCount
  1005. //
  1006. this->cbEventCount->FormattingEnabled = true;
  1007. this->cbEventCount->Location = System::Drawing::Point(75, 6);
  1008. this->cbEventCount->Name = L"cbEventCount";
  1009. this->cbEventCount->Size = System::Drawing::Size(59, 21);
  1010. this->cbEventCount->TabIndex = 0;
  1011. this->cbEventCount->SelectedIndexChanged += gcnew System::EventHandler(this, &RacquetSensor::cbEventCount_SelectedIndexChanged);
  1012. //
  1013. // tabPage5
  1014. //
  1015. this->tabPage5->Controls->Add(this->panel1);
  1016. this->tabPage5->Controls->Add(this->tabControl2);
  1017. this->tabPage5->Location = System::Drawing::Point(4, 22);
  1018. this->tabPage5->Name = L"tabPage5";
  1019. this->tabPage5->Size = System::Drawing::Size(386, 108);
  1020. this->tabPage5->TabIndex = 4;
  1021. this->tabPage5->Text = L"Scoring";
  1022. this->tabPage5->UseVisualStyleBackColor = true;
  1023. //
  1024. // panel1
  1025. //
  1026. this->panel1->Controls->Add(this->lbUserMarker);
  1027. this->panel1->Controls->Add(this->label24);
  1028. this->panel1->Controls->Add(this->lbOpponentSetCount);
  1029. this->panel1->Controls->Add(this->lbGameModeText);
  1030. this->panel1->Controls->Add(this->lbOpponentSessionsWon);
  1031. this->panel1->Controls->Add(this->lbMySetCount);
  1032. this->panel1->Controls->Add(this->lbOpponentGameCount);
  1033. this->panel1->Controls->Add(this->lbMySessionsWon);
  1034. this->panel1->Controls->Add(this->lbOpponentScore);
  1035. this->panel1->Controls->Add(this->label34);
  1036. this->panel1->Controls->Add(this->label33);
  1037. this->panel1->Controls->Add(this->lbMyScore);
  1038. this->panel1->Controls->Add(this->lbMyGameCount);
  1039. this->panel1->Controls->Add(this->label26);
  1040. this->panel1->Controls->Add(this->label25);
  1041. this->panel1->Controls->Add(this->label7);
  1042. this->panel1->Location = System::Drawing::Point(0, 0);
  1043. this->panel1->Name = L"panel1";
  1044. this->panel1->Size = System::Drawing::Size(386, 108);
  1045. this->panel1->TabIndex = 1;
  1046. //
  1047. // lbUserMarker
  1048. //
  1049. this->lbUserMarker->Location = System::Drawing::Point(279, 30);
  1050. this->lbUserMarker->Name = L"lbUserMarker";
  1051. this->lbUserMarker->Size = System::Drawing::Size(93, 13);
  1052. this->lbUserMarker->TabIndex = 3;
  1053. this->lbUserMarker->Text = L"----";
  1054. this->lbUserMarker->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1055. //
  1056. // label24
  1057. //
  1058. this->label24->AutoSize = true;
  1059. this->label24->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Italic | System::Drawing::FontStyle::Underline)),
  1060. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1061. this->label24->Location = System::Drawing::Point(276, 4);
  1062. this->label24->Name = L"label24";
  1063. this->label24->Size = System::Drawing::Size(96, 13);
  1064. this->label24->TabIndex = 2;
  1065. this->label24->Text = L"User Marker Count";
  1066. //
  1067. // lbOpponentSetCount
  1068. //
  1069. this->lbOpponentSetCount->Location = System::Drawing::Point(204, 68);
  1070. this->lbOpponentSetCount->Name = L"lbOpponentSetCount";
  1071. this->lbOpponentSetCount->Size = System::Drawing::Size(54, 13);
  1072. this->lbOpponentSetCount->TabIndex = 3;
  1073. this->lbOpponentSetCount->Text = L"----";
  1074. this->lbOpponentSetCount->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1075. //
  1076. // lbGameModeText
  1077. //
  1078. this->lbGameModeText->Location = System::Drawing::Point(-4, 87);
  1079. this->lbGameModeText->Margin = System::Windows::Forms::Padding(3);
  1080. this->lbGameModeText->Name = L"lbGameModeText";
  1081. this->lbGameModeText->Size = System::Drawing::Size(142, 13);
  1082. this->lbGameModeText->TabIndex = 8;
  1083. this->lbGameModeText->Text = L"Session Count (Session)";
  1084. this->lbGameModeText->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  1085. //
  1086. // lbOpponentSessionsWon
  1087. //
  1088. this->lbOpponentSessionsWon->Location = System::Drawing::Point(204, 87);
  1089. this->lbOpponentSessionsWon->Name = L"lbOpponentSessionsWon";
  1090. this->lbOpponentSessionsWon->Size = System::Drawing::Size(54, 13);
  1091. this->lbOpponentSessionsWon->TabIndex = 3;
  1092. this->lbOpponentSessionsWon->Text = L"----";
  1093. this->lbOpponentSessionsWon->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1094. //
  1095. // lbMySetCount
  1096. //
  1097. this->lbMySetCount->Location = System::Drawing::Point(144, 68);
  1098. this->lbMySetCount->Name = L"lbMySetCount";
  1099. this->lbMySetCount->Size = System::Drawing::Size(54, 13);
  1100. this->lbMySetCount->TabIndex = 2;
  1101. this->lbMySetCount->Text = L"----";
  1102. this->lbMySetCount->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1103. //
  1104. // lbOpponentGameCount
  1105. //
  1106. this->lbOpponentGameCount->Location = System::Drawing::Point(204, 49);
  1107. this->lbOpponentGameCount->Name = L"lbOpponentGameCount";
  1108. this->lbOpponentGameCount->Size = System::Drawing::Size(54, 13);
  1109. this->lbOpponentGameCount->TabIndex = 7;
  1110. this->lbOpponentGameCount->Text = L"----";
  1111. this->lbOpponentGameCount->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1112. //
  1113. // lbMySessionsWon
  1114. //
  1115. this->lbMySessionsWon->Location = System::Drawing::Point(144, 87);
  1116. this->lbMySessionsWon->Name = L"lbMySessionsWon";
  1117. this->lbMySessionsWon->Size = System::Drawing::Size(54, 13);
  1118. this->lbMySessionsWon->TabIndex = 2;
  1119. this->lbMySessionsWon->Text = L"----";
  1120. this->lbMySessionsWon->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1121. //
  1122. // lbOpponentScore
  1123. //
  1124. this->lbOpponentScore->Location = System::Drawing::Point(204, 30);
  1125. this->lbOpponentScore->Name = L"lbOpponentScore";
  1126. this->lbOpponentScore->Size = System::Drawing::Size(54, 13);
  1127. this->lbOpponentScore->TabIndex = 7;
  1128. this->lbOpponentScore->Text = L"----";
  1129. this->lbOpponentScore->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1130. //
  1131. // label34
  1132. //
  1133. this->label34->Location = System::Drawing::Point(19, 68);
  1134. this->label34->Margin = System::Windows::Forms::Padding(3);
  1135. this->label34->Name = L"label34";
  1136. this->label34->Size = System::Drawing::Size(119, 13);
  1137. this->label34->TabIndex = 4;
  1138. this->label34->Text = L"Set Count (Lap)";
  1139. this->label34->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  1140. //
  1141. // label33
  1142. //
  1143. this->label33->Location = System::Drawing::Point(19, 49);
  1144. this->label33->Margin = System::Windows::Forms::Padding(3);
  1145. this->label33->Name = L"label33";
  1146. this->label33->Size = System::Drawing::Size(119, 13);
  1147. this->label33->TabIndex = 3;
  1148. this->label33->Text = L"Game Count (Length)";
  1149. this->label33->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  1150. //
  1151. // lbMyScore
  1152. //
  1153. this->lbMyScore->Location = System::Drawing::Point(144, 30);
  1154. this->lbMyScore->Name = L"lbMyScore";
  1155. this->lbMyScore->Size = System::Drawing::Size(54, 13);
  1156. this->lbMyScore->TabIndex = 6;
  1157. this->lbMyScore->Text = L"----";
  1158. this->lbMyScore->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1159. //
  1160. // lbMyGameCount
  1161. //
  1162. this->lbMyGameCount->Location = System::Drawing::Point(144, 49);
  1163. this->lbMyGameCount->Name = L"lbMyGameCount";
  1164. this->lbMyGameCount->Size = System::Drawing::Size(54, 13);
  1165. this->lbMyGameCount->TabIndex = 6;
  1166. this->lbMyGameCount->Text = L"----";
  1167. this->lbMyGameCount->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1168. //
  1169. // label26
  1170. //
  1171. this->label26->Location = System::Drawing::Point(19, 30);
  1172. this->label26->Margin = System::Windows::Forms::Padding(3);
  1173. this->label26->Name = L"label26";
  1174. this->label26->Size = System::Drawing::Size(119, 13);
  1175. this->label26->TabIndex = 2;
  1176. this->label26->Text = L"Points (Event)";
  1177. this->label26->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  1178. //
  1179. // label25
  1180. //
  1181. this->label25->AutoSize = true;
  1182. this->label25->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Italic | System::Drawing::FontStyle::Underline)),
  1183. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1184. this->label25->Location = System::Drawing::Point(204, 4);
  1185. this->label25->Name = L"label25";
  1186. this->label25->Size = System::Drawing::Size(54, 13);
  1187. this->label25->TabIndex = 1;
  1188. this->label25->Text = L"Opponent";
  1189. //
  1190. // label7
  1191. //
  1192. this->label7->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Italic | System::Drawing::FontStyle::Underline)),
  1193. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1194. this->label7->Location = System::Drawing::Point(144, 4);
  1195. this->label7->Name = L"label7";
  1196. this->label7->Size = System::Drawing::Size(51, 13);
  1197. this->label7->TabIndex = 0;
  1198. this->label7->Text = L"Player";
  1199. this->label7->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1200. //
  1201. // tabControl2
  1202. //
  1203. this->tabControl2->Location = System::Drawing::Point(0, 0);
  1204. this->tabControl2->Name = L"tabControl2";
  1205. this->tabControl2->SelectedIndex = 0;
  1206. this->tabControl2->Size = System::Drawing::Size(390, 112);
  1207. this->tabControl2->TabIndex = 0;
  1208. //
  1209. // tabPage10
  1210. //
  1211. this->tabPage10->Controls->Add(this->lbTotCaloriesDisplay);
  1212. this->tabPage10->Controls->Add(this->label37);
  1213. this->tabPage10->Controls->Add(this->lbTotDistanceDisplay);
  1214. this->tabPage10->Controls->Add(this->label36);
  1215. this->tabPage10->Controls->Add(this->lbAvgRunSpdDisplay);
  1216. this->tabPage10->Controls->Add(this->lbAvgHRDisplay);
  1217. this->tabPage10->Controls->Add(this->label45);
  1218. this->tabPage10->Controls->Add(this->lbMaxHRDisplay);
  1219. this->tabPage10->Controls->Add(this->lbMaxRunSpdDisplay);
  1220. this->tabPage10->Controls->Add(this->label48);
  1221. this->tabPage10->Controls->Add(this->label49);
  1222. this->tabPage10->Controls->Add(this->label50);
  1223. this->tabPage10->Location = System::Drawing::Point(4, 22);
  1224. this->tabPage10->Name = L"tabPage10";
  1225. this->tabPage10->Size = System::Drawing::Size(386, 108);
  1226. this->tabPage10->TabIndex = 5;
  1227. this->tabPage10->Text = L"Stats";
  1228. this->tabPage10->UseVisualStyleBackColor = true;
  1229. //
  1230. // lbTotCaloriesDisplay
  1231. //
  1232. this->lbTotCaloriesDisplay->Location = System::Drawing::Point(277, 87);
  1233. this->lbTotCaloriesDisplay->Name = L"lbTotCaloriesDisplay";
  1234. this->lbTotCaloriesDisplay->Size = System::Drawing::Size(93, 13);
  1235. this->lbTotCaloriesDisplay->TabIndex = 25;
  1236. this->lbTotCaloriesDisplay->Text = L"----";
  1237. this->lbTotCaloriesDisplay->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1238. //
  1239. // label37
  1240. //
  1241. this->label37->AutoSize = true;
  1242. this->label37->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Italic | System::Drawing::FontStyle::Underline)),
  1243. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1244. this->label37->Location = System::Drawing::Point(285, 61);
  1245. this->label37->Name = L"label37";
  1246. this->label37->Size = System::Drawing::Size(71, 13);
  1247. this->label37->TabIndex = 24;
  1248. this->label37->Text = L"Total Calories";
  1249. //
  1250. // lbTotDistanceDisplay
  1251. //
  1252. this->lbTotDistanceDisplay->Location = System::Drawing::Point(277, 42);
  1253. this->lbTotDistanceDisplay->Name = L"lbTotDistanceDisplay";
  1254. this->lbTotDistanceDisplay->Size = System::Drawing::Size(93, 13);
  1255. this->lbTotDistanceDisplay->TabIndex = 17;
  1256. this->lbTotDistanceDisplay->Text = L"----";
  1257. this->lbTotDistanceDisplay->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1258. //
  1259. // label36
  1260. //
  1261. this->label36->AutoSize = true;
  1262. this->label36->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Italic | System::Drawing::FontStyle::Underline)),
  1263. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1264. this->label36->Location = System::Drawing::Point(285, 16);
  1265. this->label36->Name = L"label36";
  1266. this->label36->Size = System::Drawing::Size(76, 13);
  1267. this->label36->TabIndex = 14;
  1268. this->label36->Text = L"Total Distance";
  1269. //
  1270. // lbAvgRunSpdDisplay
  1271. //
  1272. this->lbAvgRunSpdDisplay->Location = System::Drawing::Point(202, 61);
  1273. this->lbAvgRunSpdDisplay->Name = L"lbAvgRunSpdDisplay";
  1274. this->lbAvgRunSpdDisplay->Size = System::Drawing::Size(54, 13);
  1275. this->lbAvgRunSpdDisplay->TabIndex = 22;
  1276. this->lbAvgRunSpdDisplay->Text = L"----";
  1277. this->lbAvgRunSpdDisplay->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1278. //
  1279. // lbAvgHRDisplay
  1280. //
  1281. this->lbAvgHRDisplay->Location = System::Drawing::Point(202, 42);
  1282. this->lbAvgHRDisplay->Name = L"lbAvgHRDisplay";
  1283. this->lbAvgHRDisplay->Size = System::Drawing::Size(54, 13);
  1284. this->lbAvgHRDisplay->TabIndex = 23;
  1285. this->lbAvgHRDisplay->Text = L"----";
  1286. this->lbAvgHRDisplay->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1287. //
  1288. // label45
  1289. //
  1290. this->label45->Location = System::Drawing::Point(17, 61);
  1291. this->label45->Margin = System::Windows::Forms::Padding(3);
  1292. this->label45->Name = L"label45";
  1293. this->label45->Size = System::Drawing::Size(119, 13);
  1294. this->label45->TabIndex = 15;
  1295. this->label45->Text = L"Running Speed (mm/s)";
  1296. this->label45->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  1297. //
  1298. // lbMaxHRDisplay
  1299. //
  1300. this->lbMaxHRDisplay->Location = System::Drawing::Point(142, 42);
  1301. this->lbMaxHRDisplay->Name = L"lbMaxHRDisplay";
  1302. this->lbMaxHRDisplay->Size = System::Drawing::Size(54, 13);
  1303. this->lbMaxHRDisplay->TabIndex = 21;
  1304. this->lbMaxHRDisplay->Text = L"----";
  1305. this->lbMaxHRDisplay->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1306. //
  1307. // lbMaxRunSpdDisplay
  1308. //
  1309. this->lbMaxRunSpdDisplay->Location = System::Drawing::Point(142, 61);
  1310. this->lbMaxRunSpdDisplay->Name = L"lbMaxRunSpdDisplay";
  1311. this->lbMaxRunSpdDisplay->Size = System::Drawing::Size(54, 13);
  1312. this->lbMaxRunSpdDisplay->TabIndex = 20;
  1313. this->lbMaxRunSpdDisplay->Text = L"----";
  1314. this->lbMaxRunSpdDisplay->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1315. //
  1316. // label48
  1317. //
  1318. this->label48->Location = System::Drawing::Point(17, 42);
  1319. this->label48->Margin = System::Windows::Forms::Padding(3);
  1320. this->label48->Name = L"label48";
  1321. this->label48->Size = System::Drawing::Size(119, 13);
  1322. this->label48->TabIndex = 13;
  1323. this->label48->Text = L"Heart Rate (bpm)";
  1324. this->label48->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  1325. //
  1326. // label49
  1327. //
  1328. this->label49->AutoSize = true;
  1329. this->label49->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Italic | System::Drawing::FontStyle::Underline)),
  1330. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1331. this->label49->Location = System::Drawing::Point(202, 16);
  1332. this->label49->Name = L"label49";
  1333. this->label49->Size = System::Drawing::Size(47, 13);
  1334. this->label49->TabIndex = 10;
  1335. this->label49->Text = L"Average";
  1336. //
  1337. // label50
  1338. //
  1339. this->label50->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, static_cast<System::Drawing::FontStyle>((System::Drawing::FontStyle::Italic | System::Drawing::FontStyle::Underline)),
  1340. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1341. this->label50->Location = System::Drawing::Point(142, 16);
  1342. this->label50->Name = L"label50";
  1343. this->label50->Size = System::Drawing::Size(51, 13);
  1344. this->label50->TabIndex = 9;
  1345. this->label50->Text = L"Maximum";
  1346. this->label50->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  1347. //
  1348. // tabPage4
  1349. //
  1350. this->tabPage4->Controls->Add(this->tabControl3);
  1351. this->tabPage4->Location = System::Drawing::Point(4, 22);
  1352. this->tabPage4->Name = L"tabPage4";
  1353. this->tabPage4->Size = System::Drawing::Size(386, 108);
  1354. this->tabPage4->TabIndex = 3;
  1355. this->tabPage4->Text = L"Common Data";
  1356. this->tabPage4->UseVisualStyleBackColor = true;
  1357. //
  1358. // tabControl3
  1359. //
  1360. this->tabControl3->Controls->Add(this->tabPage6);
  1361. this->tabControl3->Controls->Add(this->tabPage7);
  1362. this->tabControl3->Location = System::Drawing::Point(0, 3);
  1363. this->tabControl3->Name = L"tabControl3";
  1364. this->tabControl3->SelectedIndex = 0;
  1365. this->tabControl3->Size = System::Drawing::Size(390, 105);
  1366. this->tabControl3->TabIndex = 0;
  1367. //
  1368. // tabPage6
  1369. //
  1370. this->tabPage6->Controls->Add(this->cbInvalidSerial);
  1371. this->tabPage6->Controls->Add(this->btUpdateCommon);
  1372. this->tabPage6->Controls->Add(this->lbCommonError);
  1373. this->tabPage6->Controls->Add(this->label_Glb_SerialNum);
  1374. this->tabPage6->Controls->Add(this->tbManfId);
  1375. this->tabPage6->Controls->Add(this->label_Glb_ManfID);
  1376. this->tabPage6->Controls->Add(this->tbHardwareVer);
  1377. this->tabPage6->Controls->Add(this->label_Glb_ModelNum);
  1378. this->tabPage6->Controls->Add(this->tbSoftwareVer);
  1379. this->tabPage6->Controls->Add(this->tbModelNum);
  1380. this->tabPage6->Controls->Add(this->label_Glb_HardwareVer);
  1381. this->tabPage6->Controls->Add(this->tbSerialNumber);
  1382. this->tabPage6->Controls->Add(this->label_Glb_SoftwareVer);
  1383. this->tabPage6->Location = System::Drawing::Point(4, 22);
  1384. this->tabPage6->Name = L"tabPage6";
  1385. this->tabPage6->Padding = System::Windows::Forms::Padding(3);
  1386. this->tabPage6->Size = System::Drawing::Size(382, 79);
  1387. this->tabPage6->TabIndex = 0;
  1388. this->tabPage6->Text = L"Product/Manf. Info";
  1389. this->tabPage6->UseVisualStyleBackColor = true;
  1390. //
  1391. // cbInvalidSerial
  1392. //
  1393. this->cbInvalidSerial->AutoSize = true;
  1394. this->cbInvalidSerial->Location = System::Drawing::Point(140, 5);
  1395. this->cbInvalidSerial->Name = L"cbInvalidSerial";
  1396. this->cbInvalidSerial->Size = System::Drawing::Size(79, 17);
  1397. this->cbInvalidSerial->TabIndex = 76;
  1398. this->cbInvalidSerial->Text = L"No Serial #";
  1399. this->cbInvalidSerial->UseVisualStyleBackColor = true;
  1400. this->cbInvalidSerial->CheckedChanged += gcnew System::EventHandler(this, &RacquetSensor::cbInvalidSerial_CheckedChanged);
  1401. //
  1402. // btUpdateCommon
  1403. //
  1404. this->btUpdateCommon->Location = System::Drawing::Point(259, 55);
  1405. this->btUpdateCommon->Name = L"btUpdateCommon";
  1406. this->btUpdateCommon->Size = System::Drawing::Size(97, 20);
  1407. this->btUpdateCommon->TabIndex = 75;
  1408. this->btUpdateCommon->Text = L"Update All";
  1409. this->btUpdateCommon->UseVisualStyleBackColor = true;
  1410. this->btUpdateCommon->Click += gcnew System::EventHandler(this, &RacquetSensor::btUpdateCommon_Click);
  1411. //
  1412. // lbCommonError
  1413. //
  1414. this->lbCommonError->AutoSize = true;
  1415. this->lbCommonError->ForeColor = System::Drawing::Color::Red;
  1416. this->lbCommonError->Location = System::Drawing::Point(161, 59);
  1417. this->lbCommonError->Name = L"lbCommonError";
  1418. this->lbCommonError->Size = System::Drawing::Size(92, 13);
  1419. this->lbCommonError->TabIndex = 69;
  1420. this->lbCommonError->Text = L"Error: Invalid input\r\n";
  1421. this->lbCommonError->Visible = false;
  1422. //
  1423. // label_Glb_SerialNum
  1424. //
  1425. this->label_Glb_SerialNum->AutoSize = true;
  1426. this->label_Glb_SerialNum->Location = System::Drawing::Point(6, 6);
  1427. this->label_Glb_SerialNum->Name = L"label_Glb_SerialNum";
  1428. this->label_Glb_SerialNum->Size = System::Drawing::Size(46, 13);
  1429. this->label_Glb_SerialNum->TabIndex = 65;
  1430. this->label_Glb_SerialNum->Text = L"Serial #:";
  1431. //
  1432. // tbManfId
  1433. //
  1434. this->tbManfId->Location = System::Drawing::Point(85, 29);
  1435. this->tbManfId->MaxLength = 5;
  1436. this->tbManfId->Name = L"tbManfId";
  1437. this->tbManfId->Size = System::Drawing::Size(49, 20);
  1438. this->tbManfId->TabIndex = 70;
  1439. this->tbManfId->Text = L"2";
  1440. //
  1441. // label_Glb_ManfID
  1442. //
  1443. this->label_Glb_ManfID->AutoSize = true;
  1444. this->label_Glb_ManfID->Location = System::Drawing::Point(1, 32);
  1445. this->label_Glb_ManfID->Name = L"label_Glb_ManfID";
  1446. this->label_Glb_ManfID->Size = System::Drawing::Size(51, 13);
  1447. this->label_Glb_ManfID->TabIndex = 64;
  1448. this->label_Glb_ManfID->Text = L"Manf. ID:";
  1449. //
  1450. // tbHardwareVer
  1451. //
  1452. this->tbHardwareVer->Location = System::Drawing::Point(327, 3);
  1453. this->tbHardwareVer->MaxLength = 3;
  1454. this->tbHardwareVer->Name = L"tbHardwareVer";
  1455. this->tbHardwareVer->Size = System::Drawing::Size(29, 20);
  1456. this->tbHardwareVer->TabIndex = 72;
  1457. this->tbHardwareVer->Text = L"1";
  1458. //
  1459. // label_Glb_ModelNum
  1460. //
  1461. this->label_Glb_ModelNum->AutoSize = true;
  1462. this->label_Glb_ModelNum->Location = System::Drawing::Point(3, 60);
  1463. this->label_Glb_ModelNum->Name = L"label_Glb_ModelNum";
  1464. this->label_Glb_ModelNum->Size = System::Drawing::Size(49, 13);
  1465. this->label_Glb_ModelNum->TabIndex = 68;
  1466. this->label_Glb_ModelNum->Text = L"Model #:";
  1467. //
  1468. // tbSoftwareVer
  1469. //
  1470. this->tbSoftwareVer->Location = System::Drawing::Point(327, 32);
  1471. this->tbSoftwareVer->MaxLength = 3;
  1472. this->tbSoftwareVer->Name = L"tbSoftwareVer";
  1473. this->tbSoftwareVer->Size = System::Drawing::Size(29, 20);
  1474. this->tbSoftwareVer->TabIndex = 74;
  1475. this->tbSoftwareVer->Text = L"1";
  1476. //
  1477. // tbModelNum
  1478. //
  1479. this->tbModelNum->Location = System::Drawing::Point(85, 57);
  1480. this->tbModelNum->MaxLength = 5;
  1481. this->tbModelNum->Name = L"tbModelNum";
  1482. this->tbModelNum->Size = System::Drawing::Size(49, 20);
  1483. this->tbModelNum->TabIndex = 71;
  1484. this->tbModelNum->Text = L"33669";
  1485. //
  1486. // label_Glb_HardwareVer
  1487. //
  1488. this->label_Glb_HardwareVer->AutoSize = true;
  1489. this->label_Glb_HardwareVer->Location = System::Drawing::Point(246, 6);
  1490. this->label_Glb_HardwareVer->Name = L"label_Glb_HardwareVer";
  1491. this->label_Glb_HardwareVer->Size = System::Drawing::Size(75, 13);
  1492. this->label_Glb_HardwareVer->TabIndex = 66;
  1493. this->label_Glb_HardwareVer->Text = L"Hardware Ver:";
  1494. //
  1495. // tbSerialNumber
  1496. //
  1497. this->tbSerialNumber->Location = System::Drawing::Point(58, 3);
  1498. this->tbSerialNumber->MaxLength = 10;
  1499. this->tbSerialNumber->Name = L"tbSerialNumber";
  1500. this->tbSerialNumber->Size = System::Drawing::Size(76, 20);
  1501. this->tbSerialNumber->TabIndex = 73;
  1502. this->tbSerialNumber->Text = L"1234567890";
  1503. //
  1504. // label_Glb_SoftwareVer
  1505. //
  1506. this->label_Glb_SoftwareVer->AutoSize = true;
  1507. this->label_Glb_SoftwareVer->Location = System::Drawing::Point(250, 32);
  1508. this->label_Glb_SoftwareVer->Name = L"label_Glb_SoftwareVer";
  1509. this->label_Glb_SoftwareVer->Size = System::Drawing::Size(71, 13);
  1510. this->label_Glb_SoftwareVer->TabIndex = 67;
  1511. this->label_Glb_SoftwareVer->Text = L"Software Ver:";
  1512. //
  1513. // tabPage7
  1514. //
  1515. this->tabPage7->Controls->Add(this->label35);
  1516. this->tabPage7->Controls->Add(this->radioResolution2);
  1517. this->tabPage7->Controls->Add(this->comboBoxBatStatus);
  1518. this->tabPage7->Controls->Add(this->labelTimeError);
  1519. this->tabPage7->Controls->Add(this->label28);
  1520. this->tabPage7->Controls->Add(this->radioResolution16);
  1521. this->tabPage7->Controls->Add(this->buttonUpdateTime);
  1522. this->tabPage7->Controls->Add(this->textBoxTime);
  1523. this->tabPage7->Controls->Add(this->labelElpTime);
  1524. this->tabPage7->Controls->Add(this->label_Bat_ElpTime);
  1525. this->tabPage7->Controls->Add(this->label30);
  1526. this->tabPage7->Controls->Add(this->label29);
  1527. this->tabPage7->Controls->Add(this->numericCoarseVoltage);
  1528. this->tabPage7->Controls->Add(this->numericFractionalVoltage);
  1529. this->tabPage7->Controls->Add(this->checkBox_Bat_Voltage);
  1530. this->tabPage7->Location = System::Drawing::Point(4, 22);
  1531. this->tabPage7->Name = L"tabPage7";
  1532. this->tabPage7->Padding = System::Windows::Forms::Padding(3);
  1533. this->tabPage7->Size = System::Drawing::Size(382, 79);
  1534. this->tabPage7->TabIndex = 1;
  1535. this->tabPage7->Text = L"Battery Status";
  1536. this->tabPage7->UseVisualStyleBackColor = true;
  1537. //
  1538. // label35
  1539. //
  1540. this->label35->AutoSize = true;
  1541. this->label35->Location = System::Drawing::Point(222, 30);
  1542. this->label35->Name = L"label35";
  1543. this->label35->Size = System::Drawing::Size(74, 13);
  1544. this->label35->TabIndex = 92;
  1545. this->label35->Text = L"Resolution (s):";
  1546. //
  1547. // radioResolution2
  1548. //
  1549. this->radioResolution2->AutoSize = true;
  1550. this->radioResolution2->Checked = true;
  1551. this->radioResolution2->Location = System::Drawing::Point(302, 28);
  1552. this->radioResolution2->Name = L"radioResolution2";
  1553. this->radioResolution2->Size = System::Drawing::Size(31, 17);
  1554. this->radioResolution2->TabIndex = 58;
  1555. this->radioResolution2->TabStop = true;
  1556. this->radioResolution2->Text = L"2";
  1557. this->radioResolution2->UseVisualStyleBackColor = true;
  1558. this->radioResolution2->CheckedChanged += gcnew System::EventHandler(this, &RacquetSensor::radioResolution2_CheckedChanged);
  1559. //
  1560. // comboBoxBatStatus
  1561. //
  1562. this->comboBoxBatStatus->FormattingEnabled = true;
  1563. this->comboBoxBatStatus->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"New", L"Good", L"Ok", L"Low", L"Critical",
  1564. L"Invalid"});
  1565. this->comboBoxBatStatus->Location = System::Drawing::Point(110, 30);
  1566. this->comboBoxBatStatus->Name = L"comboBoxBatStatus";
  1567. this->comboBoxBatStatus->Size = System::Drawing::Size(60, 21);
  1568. this->comboBoxBatStatus->TabIndex = 80;
  1569. this->comboBoxBatStatus->Text = L"Ok";
  1570. this->comboBoxBatStatus->SelectedIndexChanged += gcnew System::EventHandler(this, &RacquetSensor::comboBoxBatStatus_SelectedIndexChanged);
  1571. //
  1572. // labelTimeError
  1573. //
  1574. this->labelTimeError->AutoSize = true;
  1575. this->labelTimeError->ForeColor = System::Drawing::Color::Red;
  1576. this->labelTimeError->Location = System::Drawing::Point(185, 58);
  1577. this->labelTimeError->Name = L"labelTimeError";
  1578. this->labelTimeError->Size = System::Drawing::Size(32, 13);
  1579. this->labelTimeError->TabIndex = 91;
  1580. this->labelTimeError->Text = L"Error!";
  1581. this->labelTimeError->Visible = false;
  1582. //
  1583. // label28
  1584. //
  1585. this->label28->AutoSize = true;
  1586. this->label28->Location = System::Drawing::Point(28, 30);
  1587. this->label28->Name = L"label28";
  1588. this->label28->Size = System::Drawing::Size(76, 13);
  1589. this->label28->TabIndex = 81;
  1590. this->label28->Text = L"Battery Status:";
  1591. //
  1592. // radioResolution16
  1593. //
  1594. this->radioResolution16->AutoSize = true;
  1595. this->radioResolution16->Location = System::Drawing::Point(339, 28);
  1596. this->radioResolution16->Name = L"radioResolution16";
  1597. this->radioResolution16->Size = System::Drawing::Size(37, 17);
  1598. this->radioResolution16->TabIndex = 59;
  1599. this->radioResolution16->Text = L"16";
  1600. this->radioResolution16->UseVisualStyleBackColor = true;
  1601. //
  1602. // buttonUpdateTime
  1603. //
  1604. this->buttonUpdateTime->Location = System::Drawing::Point(223, 53);
  1605. this->buttonUpdateTime->Name = L"buttonUpdateTime";
  1606. this->buttonUpdateTime->Size = System::Drawing::Size(84, 20);
  1607. this->buttonUpdateTime->TabIndex = 90;
  1608. this->buttonUpdateTime->Text = L"Update Time";
  1609. this->buttonUpdateTime->UseVisualStyleBackColor = true;
  1610. this->buttonUpdateTime->Click += gcnew System::EventHandler(this, &RacquetSensor::buttonUpdateTime_Click);
  1611. //
  1612. // textBoxTime
  1613. //
  1614. this->textBoxTime->Location = System::Drawing::Point(313, 53);
  1615. this->textBoxTime->MaxLength = 9;
  1616. this->textBoxTime->Name = L"textBoxTime";
  1617. this->textBoxTime->Size = System::Drawing::Size(63, 20);
  1618. this->textBoxTime->TabIndex = 89;
  1619. this->textBoxTime->Text = L"0";
  1620. this->textBoxTime->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
  1621. //
  1622. // labelElpTime
  1623. //
  1624. this->labelElpTime->Location = System::Drawing::Point(315, 4);
  1625. this->labelElpTime->Name = L"labelElpTime";
  1626. this->labelElpTime->Size = System::Drawing::Size(62, 13);
  1627. this->labelElpTime->TabIndex = 87;
  1628. this->labelElpTime->Text = L"0";
  1629. this->labelElpTime->TextAlign = System::Drawing::ContentAlignment::BottomRight;
  1630. //
  1631. // label_Bat_ElpTime
  1632. //
  1633. this->label_Bat_ElpTime->AutoSize = true;
  1634. this->label_Bat_ElpTime->Location = System::Drawing::Point(221, 3);
  1635. this->label_Bat_ElpTime->Name = L"label_Bat_ElpTime";
  1636. this->label_Bat_ElpTime->Size = System::Drawing::Size(88, 13);
  1637. this->label_Bat_ElpTime->TabIndex = 86;
  1638. this->label_Bat_ElpTime->Text = L"Elapsed Time (s):";
  1639. //
  1640. // label30
  1641. //
  1642. this->label30->AutoSize = true;
  1643. this->label30->Location = System::Drawing::Point(6, 4);
  1644. this->label30->Name = L"label30";
  1645. this->label30->Size = System::Drawing::Size(98, 13);
  1646. this->label30->TabIndex = 2;
  1647. this->label30->Text = L"Coarse Voltage (V):";
  1648. //
  1649. // label29
  1650. //
  1651. this->label29->AutoSize = true;
  1652. this->label29->Location = System::Drawing::Point(-1, 58);
  1653. this->label29->Name = L"label29";
  1654. this->label29->Size = System::Drawing::Size(121, 13);
  1655. this->label29->TabIndex = 85;
  1656. this->label29->Text = L"Frac. Voltage (1/256 V):";
  1657. //
  1658. // numericCoarseVoltage
  1659. //
  1660. this->numericCoarseVoltage->Location = System::Drawing::Point(110, 4);
  1661. this->numericCoarseVoltage->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {14, 0, 0, 0});
  1662. this->numericCoarseVoltage->Name = L"numericCoarseVoltage";
  1663. this->numericCoarseVoltage->Size = System::Drawing::Size(42, 20);
  1664. this->numericCoarseVoltage->TabIndex = 82;
  1665. this->numericCoarseVoltage->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {3, 0, 0, 0});
  1666. this->numericCoarseVoltage->ValueChanged += gcnew System::EventHandler(this, &RacquetSensor::numericCoarseVoltage_ValueChanged);
  1667. //
  1668. // numericFractionalVoltage
  1669. //
  1670. this->numericFractionalVoltage->Location = System::Drawing::Point(128, 56);
  1671. this->numericFractionalVoltage->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
  1672. this->numericFractionalVoltage->Name = L"numericFractionalVoltage";
  1673. this->numericFractionalVoltage->Size = System::Drawing::Size(42, 20);
  1674. this->numericFractionalVoltage->TabIndex = 83;
  1675. this->numericFractionalVoltage->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {85, 0, 0, 0});
  1676. this->numericFractionalVoltage->ValueChanged += gcnew System::EventHandler(this, &RacquetSensor::numericFractionalVoltage_ValueChanged);
  1677. //
  1678. // checkBox_Bat_Voltage
  1679. //
  1680. this->checkBox_Bat_Voltage->AutoSize = true;
  1681. this->checkBox_Bat_Voltage->Location = System::Drawing::Point(158, 4);
  1682. this->checkBox_Bat_Voltage->Name = L"checkBox_Bat_Voltage";
  1683. this->checkBox_Bat_Voltage->Size = System::Drawing::Size(57, 17);
  1684. this->checkBox_Bat_Voltage->TabIndex = 84;
  1685. this->checkBox_Bat_Voltage->Text = L"Invalid";
  1686. this->checkBox_Bat_Voltage->UseVisualStyleBackColor = true;
  1687. this->checkBox_Bat_Voltage->CheckedChanged += gcnew System::EventHandler(this, &RacquetSensor::checkBox_Bat_Voltage_CheckedChanged);
  1688. //
  1689. // lbGameMode
  1690. //
  1691. this->lbGameMode->AutoSize = true;
  1692. this->lbGameMode->Location = System::Drawing::Point(130, 72);
  1693. this->lbGameMode->Name = L"lbGameMode";
  1694. this->lbGameMode->Size = System::Drawing::Size(19, 13);
  1695. this->lbGameMode->TabIndex = 1;
  1696. this->lbGameMode->Text = L"----";
  1697. //
  1698. // label27
  1699. //
  1700. this->label27->AutoSize = true;
  1701. this->label27->Location = System::Drawing::Point(56, 72);
  1702. this->label27->Name = L"label27";
  1703. this->label27->Size = System::Drawing::Size(68, 13);
  1704. this->label27->TabIndex = 0;
  1705. this->label27->Text = L"Game Mode:";
  1706. //
  1707. // panel_Display
  1708. //
  1709. this->panel_Display->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
  1710. this->panel_Display->Controls->Add(this->lbSessionTime);
  1711. this->panel_Display->Controls->Add(this->label32);
  1712. this->panel_Display->Controls->Add(this->lbGameMode);
  1713. this->panel_Display->Controls->Add(this->lbDisplayStroke);
  1714. this->panel_Display->Controls->Add(this->label27);
  1715. this->panel_Display->Controls->Add(this->lbDisplaySpeed);
  1716. this->panel_Display->Controls->Add(this->lbDisplayEvent);
  1717. this->panel_Display->Controls->Add(this->lbDisplayTime);
  1718. this->panel_Display->Controls->Add(this->label19);
  1719. this->panel_Display->Controls->Add(this->label21);
  1720. this->panel_Display->Controls->Add(this->lbDisplayZone);
  1721. this->panel_Display->Controls->Add(this->label23);
  1722. this->panel_Display->Controls->Add(this->label22);
  1723. this->panel_Display->Controls->Add(this->label20);
  1724. this->panel_Display->Controls->Add(this->label18);
  1725. this->panel_Display->Location = System::Drawing::Point(45, 182);
  1726. this->panel_Display->Name = L"panel_Display";
  1727. this->panel_Display->Size = System::Drawing::Size(222, 105);
  1728. this->panel_Display->TabIndex = 1;
  1729. //
  1730. // lbSessionTime
  1731. //
  1732. this->lbSessionTime->AutoSize = true;
  1733. this->lbSessionTime->Location = System::Drawing::Point(130, 88);
  1734. this->lbSessionTime->Name = L"lbSessionTime";
  1735. this->lbSessionTime->Size = System::Drawing::Size(49, 13);
  1736. this->lbSessionTime->TabIndex = 11;
  1737. this->lbSessionTime->Text = L"00:00:00";
  1738. //
  1739. // label32
  1740. //
  1741. this->label32->AutoSize = true;
  1742. this->label32->Location = System::Drawing::Point(62, 88);
  1743. this->label32->Name = L"label32";
  1744. this->label32->Size = System::Drawing::Size(62, 13);
  1745. this->label32->TabIndex = 10;
  1746. this->label32->Text = L"Timer Time:";
  1747. //
  1748. // lbDisplayStroke
  1749. //
  1750. this->lbDisplayStroke->AutoSize = true;
  1751. this->lbDisplayStroke->Location = System::Drawing::Point(44, 37);
  1752. this->lbDisplayStroke->Name = L"lbDisplayStroke";
  1753. this->lbDisplayStroke->Size = System::Drawing::Size(19, 13);
  1754. this->lbDisplayStroke->TabIndex = 9;
  1755. this->lbDisplayStroke->Text = L"----";
  1756. //
  1757. // lbDisplaySpeed
  1758. //
  1759. this->lbDisplaySpeed->AutoSize = true;
  1760. this->lbDisplaySpeed->Location = System::Drawing::Point(44, 53);
  1761. this->lbDisplaySpeed->Name = L"lbDisplaySpeed";
  1762. this->lbDisplaySpeed->Size = System::Drawing::Size(19, 13);
  1763. this->lbDisplaySpeed->TabIndex = 8;
  1764. this->lbDisplaySpeed->Text = L"----";
  1765. //
  1766. // lbDisplayEvent
  1767. //
  1768. this->lbDisplayEvent->AutoSize = true;
  1769. this->lbDisplayEvent->Location = System::Drawing::Point(156, 37);
  1770. this->lbDisplayEvent->Name = L"lbDisplayEvent";
  1771. this->lbDisplayEvent->Size = System::Drawing::Size(19, 13);
  1772. this->lbDisplayEvent->TabIndex = 5;
  1773. this->lbDisplayEvent->Text = L"----";
  1774. //
  1775. // lbDisplayTime
  1776. //
  1777. this->lbDisplayTime->AutoSize = true;
  1778. this->lbDisplayTime->Location = System::Drawing::Point(156, 21);
  1779. this->lbDisplayTime->Name = L"lbDisplayTime";
  1780. this->lbDisplayTime->Size = System::Drawing::Size(19, 13);
  1781. this->lbDisplayTime->TabIndex = 6;
  1782. this->lbDisplayTime->Text = L"----";
  1783. //
  1784. // label19
  1785. //
  1786. this->label19->AutoSize = true;
  1787. this->label19->Location = System::Drawing::Point(109, 37);
  1788. this->label19->Margin = System::Windows::Forms::Padding(3, 2, 3, 2);
  1789. this->label19->Name = L"label19";
  1790. this->label19->Size = System::Drawing::Size(48, 13);
  1791. this->label19->TabIndex = 1;
  1792. this->label19->Text = L"Event #:";
  1793. //
  1794. // label21
  1795. //
  1796. this->label21->AutoSize = true;
  1797. this->label21->Location = System::Drawing::Point(124, 21);
  1798. this->label21->Margin = System::Windows::Forms::Padding(3, 2, 3, 2);
  1799. this->label21->Name = L"label21";
  1800. this->label21->Size = System::Drawing::Size(33, 13);
  1801. this->label21->TabIndex = 3;
  1802. this->label21->Text = L"Time:";
  1803. //
  1804. // lbDisplayZone
  1805. //
  1806. this->lbDisplayZone->AutoSize = true;
  1807. this->lbDisplayZone->Location = System::Drawing::Point(44, 21);
  1808. this->lbDisplayZone->Name = L"lbDisplayZone";
  1809. this->lbDisplayZone->Size = System::Drawing::Size(19, 13);
  1810. this->lbDisplayZone->TabIndex = 7;
  1811. this->lbDisplayZone->Text = L"----";
  1812. //
  1813. // label23
  1814. //
  1815. this->label23->AutoSize = true;
  1816. this->label23->Location = System::Drawing::Point(3, 53);
  1817. this->label23->Margin = System::Windows::Forms::Padding(3, 2, 3, 2);
  1818. this->label23->Name = L"label23";
  1819. this->label23->Size = System::Drawing::Size(41, 13);
  1820. this->label23->TabIndex = 3;
  1821. this->label23->Text = L"Speed:";
  1822. //
  1823. // label22
  1824. //
  1825. this->label22->AutoSize = true;
  1826. this->label22->Location = System::Drawing::Point(3, 37);
  1827. this->label22->Margin = System::Windows::Forms::Padding(3, 2, 3, 2);
  1828. this->label22->Name = L"label22";
  1829. this->label22->Size = System::Drawing::Size(41, 13);
  1830. this->label22->TabIndex = 4;
  1831. this->label22->Text = L"Stroke:";
  1832. //
  1833. // label20
  1834. //
  1835. this->label20->AutoSize = true;
  1836. this->label20->Location = System::Drawing::Point(9, 21);
  1837. this->label20->Margin = System::Windows::Forms::Padding(3, 2, 3, 2);
  1838. this->label20->Name = L"label20";
  1839. this->label20->Size = System::Drawing::Size(35, 13);
  1840. this->label20->TabIndex = 2;
  1841. this->label20->Text = L"Zone:";
  1842. //
  1843. // label18
  1844. //
  1845. this->label18->AutoSize = true;
  1846. this->label18->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline, System::Drawing::GraphicsUnit::Point,
  1847. static_cast<System::Byte>(0)));
  1848. this->label18->Location = System::Drawing::Point(3, 2);
  1849. this->label18->Name = L"label18";
  1850. this->label18->Size = System::Drawing::Size(129, 13);
  1851. this->label18->TabIndex = 0;
  1852. this->label18->Text = L"Current Racquet Tx Data:";
  1853. //
  1854. // checkANTFS
  1855. //
  1856. this->checkANTFS->AutoSize = true;
  1857. this->checkANTFS->Location = System::Drawing::Point(278, 88);
  1858. this->checkANTFS->Name = L"checkANTFS";
  1859. this->checkANTFS->Size = System::Drawing::Size(104, 17);
  1860. this->checkANTFS->TabIndex = 29;
  1861. this->checkANTFS->Text = L"ANT-FS Support";
  1862. this->checkANTFS->UseVisualStyleBackColor = true;
  1863. this->checkANTFS->CheckedChanged += gcnew System::EventHandler(this, &RacquetSensor::checkANTFS_CheckedChanged);
  1864. //
  1865. // checkKMpH
  1866. //
  1867. this->checkKMpH->AutoSize = true;
  1868. this->checkKMpH->Location = System::Drawing::Point(294, 70);
  1869. this->checkKMpH->Name = L"checkKMpH";
  1870. this->checkKMpH->Size = System::Drawing::Size(50, 17);
  1871. this->checkKMpH->TabIndex = 26;
  1872. this->checkKMpH->TabStop = true;
  1873. this->checkKMpH->Text = L"km/h";
  1874. this->checkKMpH->UseVisualStyleBackColor = true;
  1875. //
  1876. // RacquetSensor
  1877. //
  1878. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1879. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1880. this->ClientSize = System::Drawing::Size(794, 351);
  1881. this->Controls->Add(this->panel_Display);
  1882. this->Controls->Add(this->panel_Settings);
  1883. this->Name = L"RacquetSensor";
  1884. this->Text = L"Racquet Sensor Simulator";
  1885. this->panel_Settings->ResumeLayout(false);
  1886. this->tabControl1->ResumeLayout(false);
  1887. this->tabPage1->ResumeLayout(false);
  1888. this->tabPage1->PerformLayout();
  1889. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->valueSpeed))->EndInit();
  1890. this->tabPage2->ResumeLayout(false);
  1891. this->groupBox2->ResumeLayout(false);
  1892. this->groupBox2->PerformLayout();
  1893. this->groupBox1->ResumeLayout(false);
  1894. this->groupBox1->PerformLayout();
  1895. this->tabPage3->ResumeLayout(false);
  1896. this->tabPage3->PerformLayout();
  1897. this->tabPage5->ResumeLayout(false);
  1898. this->panel1->ResumeLayout(false);
  1899. this->panel1->PerformLayout();
  1900. this->tabPage10->ResumeLayout(false);
  1901. this->tabPage10->PerformLayout();
  1902. this->tabPage4->ResumeLayout(false);
  1903. this->tabControl3->ResumeLayout(false);
  1904. this->tabPage6->ResumeLayout(false);
  1905. this->tabPage6->PerformLayout();
  1906. this->tabPage7->ResumeLayout(false);
  1907. this->tabPage7->PerformLayout();
  1908. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericCoarseVoltage))->EndInit();
  1909. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericFractionalVoltage))->EndInit();
  1910. this->panel_Display->ResumeLayout(false);
  1911. this->panel_Display->PerformLayout();
  1912. this->ResumeLayout(false);
  1913. }
  1914. #pragma endregion
  1915. };