SDMDisplay.h 57 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198
  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 "sdm.h"
  12. #include "antplus_common.h"
  13. #include "types.h"
  14. #include "antdefines.h"
  15. using namespace System;
  16. using namespace System::ComponentModel;
  17. using namespace System::Collections;
  18. using namespace System::Windows::Forms;
  19. using namespace System::Data;
  20. using namespace System::Drawing;
  21. public ref class SDMDisplay : public System::Windows::Forms::Form, public ISimBase{
  22. public:
  23. SDMDisplay(dRequestAckMsg^ channelAckMsg){
  24. requestAckMsg = channelAckMsg;
  25. commonPages = gcnew CommonData();
  26. InitializeComponent();
  27. InitializeSim();
  28. }
  29. ~SDMDisplay(){
  30. this->panel_Display->Controls->Clear();
  31. this->panel_Settings->Controls->Clear();
  32. delete this->panel_Display;
  33. delete this->panel_Settings;
  34. //clean up floating resources with the garbage collector
  35. GC::Collect(2);
  36. //Deletion of designer component
  37. if (components)
  38. {
  39. delete components;
  40. }
  41. }
  42. public:
  43. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_);
  44. virtual UCHAR getDeviceType(){return SDM_DEVICE_TYPE;}
  45. virtual UCHAR getTransmissionType(){return 0;} // Set transmission type to 0 for future compatibility
  46. virtual USHORT getTransmitPeriod(){return SDM_MSG_PERIOD;}
  47. virtual DOUBLE getTimerInterval(){return 3600000;} // Set interval to one hour, so timer events are not frequent (timer should be disabled tho)
  48. virtual void onTimerTock(USHORT eventTime){} // Do nothing
  49. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  50. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  51. private:
  52. void InitializeSim();
  53. void HandleReceive(UCHAR* pucRxBuffer_);
  54. void UpdateDisplay(UCHAR ucPageNum_);
  55. void SendRequestMsg(UCHAR ucMsgCode_);
  56. BOOL HandleRetransmit();
  57. void UpdateDisplayAckStatus(UCHAR ucStatus_);
  58. void EncodeRequestMsg(UCHAR ucPageID_, UCHAR* pucTxBuffer_);
  59. System::Void button_RequestPage16_Click(System::Object^ sender, System::EventArgs^ e);
  60. System::Void button_RequestPage22_Click(System::Object^ sender, System::EventArgs^ e);
  61. System::Void numericUpDown_RqTxTimes_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  62. System::Void checkBox_RqAckReply_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  63. System::Void checkBox_RqTxUntilAck_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  64. private: // Implementation specific constants
  65. static const UCHAR ACK_SUCCESS = 0;
  66. static const UCHAR ACK_RETRY = 1;
  67. static const UCHAR ACK_FAIL = 2;
  68. static const UCHAR MAX_RETRIES = 40; // Maximum number of retransmissions for each message
  69. private:
  70. dRequestAckMsg^ requestAckMsg; // Delegate for handling Ack data
  71. CommonData^ commonPages; // Handle to common data pages
  72. // Simulator data
  73. UCHAR ucLatency32; // Latency (1/32 seconds)
  74. USHORT usSpeed256; // Instantaneous speed (1/256 m/s)
  75. USHORT usCadence16; // Instantaneous cadence (1/16 m/s)
  76. SDMStatus sStatusFlags; // SDM status flags (individual fields)
  77. UCHAR ucPreviousStrideCount; // Previous stride count (strides)
  78. UCHAR ucStrideCount; // Cumulative stride count (strides)
  79. USHORT usPreviousTime200; // Previous time (1/256 seconds)
  80. USHORT usTime200; // Time of last speed/distance computation (1/200 seconds)
  81. USHORT usPreviousDistance16; // Previous distance (1/16 seconds)
  82. USHORT usDistance16; // Distance (1/16 m)
  83. UCHAR ucCapabFlags; // Capabilities (Page 22) status flags (encoded)
  84. UCHAR ucPreviousCalCount; // Previous calorie count (kcal)
  85. UCHAR ucCalCount; // Cumulative calorie count (kcal)
  86. ULONG ulStridesAccum; // Total accumulated strides, one increment for 2 steps, rollover at 16777216
  87. ULONG ulDistanceAccum; // Total accumulated distance (1/256 m)
  88. // Calculated data
  89. ULONG ulAcumStrideCount; // Cumulative stride count
  90. ULONG ulAcumDistance16; // Cumulative distance (1/16 m)
  91. ULONG ulAcumTime200; // Cumulative time (1/256 seconds)
  92. ULONG ulAcumCalCount; // Cumulative calories count
  93. // Tx Request Messages
  94. UCHAR ucMsgExpectingAck; // Message pending to be acknowledged
  95. UCHAR ucAckRetryCount; // Number of retries for an acknowledged message
  96. UCHAR ucRqTxTimes; // Number of times for the sensor to send response
  97. BOOL bRqAckReply; // Flag for whether the sensor should use ACK messagess to reply
  98. BOOL bRqTxUntilAck; // Flag for whether the sensor should repeat ACK messages until it gets a response
  99. BOOL bInitialized; // Flag to only set previous values at the beginning
  100. BOOL bCalInitialized; // Flag to only set previous values at the beginning
  101. private: System::Windows::Forms::Panel^ panel_Settings;
  102. private: System::Windows::Forms::TabControl^ tabControl_Settings;
  103. private: System::Windows::Forms::Panel^ panel_Display;
  104. private: System::Windows::Forms::Label^ label_TransStrideCount;
  105. private: System::Windows::Forms::Label^ label_TransInstSpeed;
  106. private: System::Windows::Forms::Label^ label_TransInstSpeedDisplay;
  107. private: System::Windows::Forms::Label^ label_TransStrideCountDisplay;
  108. private: System::Windows::Forms::Label^ label_TransDisplayTitle;
  109. private: System::Windows::Forms::TabPage^ tabPage_Page1Settings;
  110. private: System::Windows::Forms::TabPage^ tabPage_Page2Settings;
  111. private: System::Windows::Forms::Label^ label_P1StrideCount;
  112. private: System::Windows::Forms::Label^ label_P1TotalDistance;
  113. private: System::Windows::Forms::Label^ label_P1StrideCountDisplay;
  114. private: System::Windows::Forms::Label^ label_P1TotDistDisplay;
  115. private: System::Windows::Forms::ListBox^ listBox_P2Health;
  116. private: System::Windows::Forms::ListBox^ listBox_P2Battery;
  117. private: System::Windows::Forms::ListBox^ listBox_P2Location;
  118. private: System::Windows::Forms::Label^ label_P2StatusFlags;
  119. private: System::Windows::Forms::Label^ label_P2Use;
  120. private: System::Windows::Forms::Label^ label_P2Health;
  121. private: System::Windows::Forms::Label^ label_P2Battery;
  122. private: System::Windows::Forms::Label^ label_P2Location;
  123. private: System::Windows::Forms::ListBox^ listBox_P2Use;
  124. private: System::Windows::Forms::Label^ label_TransLatencyDisplay;
  125. private: System::Windows::Forms::Label^ label_TransLatency;
  126. private: System::Windows::Forms::Label^ label_TransDistDisplay;
  127. private: System::Windows::Forms::Label^ label_TransDist;
  128. private: System::Windows::Forms::Label^ label_TransCadenceDisplay;
  129. private: System::Windows::Forms::Label^ label_TransCadence;
  130. private: System::Windows::Forms::GroupBox^ groupBox2;
  131. private: System::Windows::Forms::Label^ label_Glb_ModelNum;
  132. private: System::Windows::Forms::Label^ label_Glb_SoftwareVer;
  133. private: System::Windows::Forms::Label^ label_Glb_ModelNumDisplay;
  134. private: System::Windows::Forms::Label^ label_Glb_ManfIDDisplay;
  135. private: System::Windows::Forms::Label^ label_Glb_SerialNumDisplay;
  136. private: System::Windows::Forms::Label^ label_Glb_HardwareVerDisplay;
  137. private: System::Windows::Forms::Label^ label_Glb_HardwareVer;
  138. private: System::Windows::Forms::Label^ label_Glb_SerialNum;
  139. private: System::Windows::Forms::Label^ label_Glb_SoftwareVerDisplay;
  140. private: System::Windows::Forms::Label^ label_Glb_ManfID;
  141. private: System::Windows::Forms::Label^ label_Trn_EventTimeDisplay;
  142. private: System::Windows::Forms::Label^ label_Trn_EventTime;
  143. private: System::Windows::Forms::Label^ label_Calc_TimeDisplay;
  144. private: System::Windows::Forms::Label^ label_Calc_Time;
  145. private: System::Windows::Forms::Label^ label_Calc_Pace;
  146. private: System::Windows::Forms::Label^ label_Calc_CadenceDisplay;
  147. private: System::Windows::Forms::Label^ label_Calc_Cadence;
  148. private: System::Windows::Forms::Label^ label_Calc_SpeedDisplay;
  149. private: System::Windows::Forms::Label^ label_Calc_Speed;
  150. private: System::Windows::Forms::Label^ label_Calc_PaceDisplay;
  151. private: System::Windows::Forms::Label^ label_Calc_AvgSpdDisplay;
  152. private: System::Windows::Forms::Label^ label_Calc_AvgSpd;
  153. private: System::Windows::Forms::GroupBox^ groupBox1;
  154. private: System::Windows::Forms::GroupBox^ groupBox3;
  155. private: System::Windows::Forms::GroupBox^ groupBox4;
  156. private: System::Windows::Forms::TabPage^ tabPage_RequestPages;
  157. private: System::Windows::Forms::Label^ label_AckMsgStatus;
  158. private: System::Windows::Forms::Button^ button_RequestPage22;
  159. private: System::Windows::Forms::CheckBox^ checkBox_RqTxUntilAck;
  160. private: System::Windows::Forms::CheckBox^ checkBox_RqAckReply;
  161. private: System::Windows::Forms::NumericUpDown^ numericUpDown_RqTxTimes;
  162. private: System::Windows::Forms::Label^ label_RqTxTimes;
  163. private: System::Windows::Forms::GroupBox^ groupBox_RqSensorReply;
  164. private: System::Windows::Forms::GroupBox^ groupBox_RqAccumulated;
  165. private: System::Windows::Forms::GroupBox^ groupBox_RqCapabilities;
  166. private: System::Windows::Forms::Label^ label_RqTime;
  167. private: System::Windows::Forms::Label^ label_RqCalories;
  168. private: System::Windows::Forms::Label^ label_RqLatency;
  169. private: System::Windows::Forms::Label^ label_RqDistance;
  170. private: System::Windows::Forms::Label^ label_RqSpeed;
  171. private: System::Windows::Forms::Label^ label_RqCadence;
  172. private: System::Windows::Forms::Label^ label_RqStridesDisplay;
  173. private: System::Windows::Forms::Label^ label_RqDistanceDisplay;
  174. private: System::Windows::Forms::Label^ label_RqAccumStrides;
  175. private: System::Windows::Forms::Label^ label_RqAccumDistance;
  176. private: System::Windows::Forms::Button^ button_RequestPage16;
  177. private: System::Windows::Forms::GroupBox^ groupBox_P2Calories;
  178. private: System::Windows::Forms::Label^ label_P2kcal;
  179. private: System::Windows::Forms::Label^ label_P2Calories;
  180. private: System::Windows::Forms::Label^ label_TransCal;
  181. private: System::Windows::Forms::Label^ label_TransCalDisplay;
  182. private:
  183. /// <summary>
  184. /// Required designer variable.
  185. /// </summary>
  186. System::ComponentModel::Container ^components;
  187. #pragma region Windows Form Designer generated code
  188. /// <summary>
  189. /// Required method for Designer support - do not modify
  190. /// the contents of this method with the code editor.
  191. /// </summary>
  192. void InitializeComponent(void)
  193. {
  194. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  195. this->tabControl_Settings = (gcnew System::Windows::Forms::TabControl());
  196. this->tabPage_Page1Settings = (gcnew System::Windows::Forms::TabPage());
  197. this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
  198. this->label_Calc_Cadence = (gcnew System::Windows::Forms::Label());
  199. this->label_Calc_CadenceDisplay = (gcnew System::Windows::Forms::Label());
  200. this->label_P1StrideCount = (gcnew System::Windows::Forms::Label());
  201. this->label_P1StrideCountDisplay = (gcnew System::Windows::Forms::Label());
  202. this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
  203. this->label_Calc_PaceDisplay = (gcnew System::Windows::Forms::Label());
  204. this->label_Calc_AvgSpdDisplay = (gcnew System::Windows::Forms::Label());
  205. this->label_Calc_AvgSpd = (gcnew System::Windows::Forms::Label());
  206. this->label_Calc_Speed = (gcnew System::Windows::Forms::Label());
  207. this->label_Calc_SpeedDisplay = (gcnew System::Windows::Forms::Label());
  208. this->label_Calc_Pace = (gcnew System::Windows::Forms::Label());
  209. this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
  210. this->label_P1TotalDistance = (gcnew System::Windows::Forms::Label());
  211. this->label_P1TotDistDisplay = (gcnew System::Windows::Forms::Label());
  212. this->label_Calc_Time = (gcnew System::Windows::Forms::Label());
  213. this->label_Calc_TimeDisplay = (gcnew System::Windows::Forms::Label());
  214. this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
  215. this->label_Glb_ModelNumDisplay = (gcnew System::Windows::Forms::Label());
  216. this->label_Glb_ManfIDDisplay = (gcnew System::Windows::Forms::Label());
  217. this->label_Glb_SerialNumDisplay = (gcnew System::Windows::Forms::Label());
  218. this->label_Glb_HardwareVerDisplay = (gcnew System::Windows::Forms::Label());
  219. this->label_Glb_SoftwareVerDisplay = (gcnew System::Windows::Forms::Label());
  220. this->label_Glb_ModelNum = (gcnew System::Windows::Forms::Label());
  221. this->label_Glb_SoftwareVer = (gcnew System::Windows::Forms::Label());
  222. this->label_Glb_HardwareVer = (gcnew System::Windows::Forms::Label());
  223. this->label_Glb_SerialNum = (gcnew System::Windows::Forms::Label());
  224. this->label_Glb_ManfID = (gcnew System::Windows::Forms::Label());
  225. this->tabPage_Page2Settings = (gcnew System::Windows::Forms::TabPage());
  226. this->groupBox_P2Calories = (gcnew System::Windows::Forms::GroupBox());
  227. this->label_P2kcal = (gcnew System::Windows::Forms::Label());
  228. this->label_P2Calories = (gcnew System::Windows::Forms::Label());
  229. this->label_P2StatusFlags = (gcnew System::Windows::Forms::Label());
  230. this->label_P2Use = (gcnew System::Windows::Forms::Label());
  231. this->label_P2Health = (gcnew System::Windows::Forms::Label());
  232. this->label_P2Battery = (gcnew System::Windows::Forms::Label());
  233. this->label_P2Location = (gcnew System::Windows::Forms::Label());
  234. this->listBox_P2Use = (gcnew System::Windows::Forms::ListBox());
  235. this->listBox_P2Health = (gcnew System::Windows::Forms::ListBox());
  236. this->listBox_P2Battery = (gcnew System::Windows::Forms::ListBox());
  237. this->listBox_P2Location = (gcnew System::Windows::Forms::ListBox());
  238. this->tabPage_RequestPages = (gcnew System::Windows::Forms::TabPage());
  239. this->button_RequestPage16 = (gcnew System::Windows::Forms::Button());
  240. this->groupBox_RqAccumulated = (gcnew System::Windows::Forms::GroupBox());
  241. this->label_RqAccumDistance = (gcnew System::Windows::Forms::Label());
  242. this->label_RqAccumStrides = (gcnew System::Windows::Forms::Label());
  243. this->label_RqStridesDisplay = (gcnew System::Windows::Forms::Label());
  244. this->label_RqDistanceDisplay = (gcnew System::Windows::Forms::Label());
  245. this->groupBox_RqCapabilities = (gcnew System::Windows::Forms::GroupBox());
  246. this->label_RqTime = (gcnew System::Windows::Forms::Label());
  247. this->label_RqCalories = (gcnew System::Windows::Forms::Label());
  248. this->label_RqLatency = (gcnew System::Windows::Forms::Label());
  249. this->label_RqDistance = (gcnew System::Windows::Forms::Label());
  250. this->label_RqSpeed = (gcnew System::Windows::Forms::Label());
  251. this->label_RqCadence = (gcnew System::Windows::Forms::Label());
  252. this->groupBox_RqSensorReply = (gcnew System::Windows::Forms::GroupBox());
  253. this->label_RqTxTimes = (gcnew System::Windows::Forms::Label());
  254. this->checkBox_RqTxUntilAck = (gcnew System::Windows::Forms::CheckBox());
  255. this->numericUpDown_RqTxTimes = (gcnew System::Windows::Forms::NumericUpDown());
  256. this->checkBox_RqAckReply = (gcnew System::Windows::Forms::CheckBox());
  257. this->button_RequestPage22 = (gcnew System::Windows::Forms::Button());
  258. this->label_AckMsgStatus = (gcnew System::Windows::Forms::Label());
  259. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  260. this->label_TransCal = (gcnew System::Windows::Forms::Label());
  261. this->label_TransCalDisplay = (gcnew System::Windows::Forms::Label());
  262. this->label_TransDistDisplay = (gcnew System::Windows::Forms::Label());
  263. this->label_TransDist = (gcnew System::Windows::Forms::Label());
  264. this->label_TransInstSpeedDisplay = (gcnew System::Windows::Forms::Label());
  265. this->label_TransInstSpeed = (gcnew System::Windows::Forms::Label());
  266. this->label_TransCadenceDisplay = (gcnew System::Windows::Forms::Label());
  267. this->label_TransCadence = (gcnew System::Windows::Forms::Label());
  268. this->label_Trn_EventTimeDisplay = (gcnew System::Windows::Forms::Label());
  269. this->label_Trn_EventTime = (gcnew System::Windows::Forms::Label());
  270. this->label_TransDisplayTitle = (gcnew System::Windows::Forms::Label());
  271. this->label_TransLatency = (gcnew System::Windows::Forms::Label());
  272. this->label_TransLatencyDisplay = (gcnew System::Windows::Forms::Label());
  273. this->label_TransStrideCountDisplay = (gcnew System::Windows::Forms::Label());
  274. this->label_TransStrideCount = (gcnew System::Windows::Forms::Label());
  275. this->panel_Settings->SuspendLayout();
  276. this->tabControl_Settings->SuspendLayout();
  277. this->tabPage_Page1Settings->SuspendLayout();
  278. this->groupBox4->SuspendLayout();
  279. this->groupBox3->SuspendLayout();
  280. this->groupBox1->SuspendLayout();
  281. this->groupBox2->SuspendLayout();
  282. this->tabPage_Page2Settings->SuspendLayout();
  283. this->groupBox_P2Calories->SuspendLayout();
  284. this->tabPage_RequestPages->SuspendLayout();
  285. this->groupBox_RqAccumulated->SuspendLayout();
  286. this->groupBox_RqCapabilities->SuspendLayout();
  287. this->groupBox_RqSensorReply->SuspendLayout();
  288. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_RqTxTimes))->BeginInit();
  289. this->panel_Display->SuspendLayout();
  290. this->SuspendLayout();
  291. //
  292. // panel_Settings
  293. //
  294. this->panel_Settings->Controls->Add(this->tabControl_Settings);
  295. this->panel_Settings->Location = System::Drawing::Point(322, 50);
  296. this->panel_Settings->Name = L"panel_Settings";
  297. this->panel_Settings->Size = System::Drawing::Size(400, 140);
  298. this->panel_Settings->TabIndex = 0;
  299. //
  300. // tabControl_Settings
  301. //
  302. this->tabControl_Settings->Controls->Add(this->tabPage_Page1Settings);
  303. this->tabControl_Settings->Controls->Add(this->tabPage_Page2Settings);
  304. this->tabControl_Settings->Controls->Add(this->tabPage_RequestPages);
  305. this->tabControl_Settings->Location = System::Drawing::Point(0, 3);
  306. this->tabControl_Settings->Name = L"tabControl_Settings";
  307. this->tabControl_Settings->SelectedIndex = 0;
  308. this->tabControl_Settings->Size = System::Drawing::Size(397, 137);
  309. this->tabControl_Settings->TabIndex = 10;
  310. //
  311. // tabPage_Page1Settings
  312. //
  313. this->tabPage_Page1Settings->Controls->Add(this->groupBox4);
  314. this->tabPage_Page1Settings->Controls->Add(this->groupBox3);
  315. this->tabPage_Page1Settings->Controls->Add(this->groupBox1);
  316. this->tabPage_Page1Settings->Controls->Add(this->groupBox2);
  317. this->tabPage_Page1Settings->Location = System::Drawing::Point(4, 22);
  318. this->tabPage_Page1Settings->Name = L"tabPage_Page1Settings";
  319. this->tabPage_Page1Settings->Size = System::Drawing::Size(389, 111);
  320. this->tabPage_Page1Settings->TabIndex = 2;
  321. this->tabPage_Page1Settings->Text = L"Data";
  322. this->tabPage_Page1Settings->UseVisualStyleBackColor = true;
  323. //
  324. // groupBox4
  325. //
  326. this->groupBox4->Controls->Add(this->label_Calc_Cadence);
  327. this->groupBox4->Controls->Add(this->label_Calc_CadenceDisplay);
  328. this->groupBox4->Controls->Add(this->label_P1StrideCount);
  329. this->groupBox4->Controls->Add(this->label_P1StrideCountDisplay);
  330. this->groupBox4->Location = System::Drawing::Point(3, 33);
  331. this->groupBox4->Name = L"groupBox4";
  332. this->groupBox4->Size = System::Drawing::Size(231, 31);
  333. this->groupBox4->TabIndex = 2;
  334. this->groupBox4->TabStop = false;
  335. this->groupBox4->Text = L"Cadence";
  336. //
  337. // label_Calc_Cadence
  338. //
  339. this->label_Calc_Cadence->AutoSize = true;
  340. this->label_Calc_Cadence->Location = System::Drawing::Point(6, 12);
  341. this->label_Calc_Cadence->Name = L"label_Calc_Cadence";
  342. this->label_Calc_Cadence->Size = System::Drawing::Size(63, 13);
  343. this->label_Calc_Cadence->TabIndex = 31;
  344. this->label_Calc_Cadence->Text = L"Strides/min:";
  345. //
  346. // label_Calc_CadenceDisplay
  347. //
  348. this->label_Calc_CadenceDisplay->AutoSize = true;
  349. this->label_Calc_CadenceDisplay->Location = System::Drawing::Point(69, 12);
  350. this->label_Calc_CadenceDisplay->Name = L"label_Calc_CadenceDisplay";
  351. this->label_Calc_CadenceDisplay->Size = System::Drawing::Size(16, 13);
  352. this->label_Calc_CadenceDisplay->TabIndex = 32;
  353. this->label_Calc_CadenceDisplay->Text = L"---";
  354. //
  355. // label_P1StrideCount
  356. //
  357. this->label_P1StrideCount->AutoSize = true;
  358. this->label_P1StrideCount->Location = System::Drawing::Point(123, 12);
  359. this->label_P1StrideCount->Name = L"label_P1StrideCount";
  360. this->label_P1StrideCount->Size = System::Drawing::Size(42, 13);
  361. this->label_P1StrideCount->TabIndex = 22;
  362. this->label_P1StrideCount->Text = L"Strides:";
  363. //
  364. // label_P1StrideCountDisplay
  365. //
  366. this->label_P1StrideCountDisplay->AutoSize = true;
  367. this->label_P1StrideCountDisplay->Location = System::Drawing::Point(165, 12);
  368. this->label_P1StrideCountDisplay->Name = L"label_P1StrideCountDisplay";
  369. this->label_P1StrideCountDisplay->Size = System::Drawing::Size(16, 13);
  370. this->label_P1StrideCountDisplay->TabIndex = 26;
  371. this->label_P1StrideCountDisplay->Text = L"---";
  372. //
  373. // groupBox3
  374. //
  375. this->groupBox3->Controls->Add(this->label_Calc_PaceDisplay);
  376. this->groupBox3->Controls->Add(this->label_Calc_AvgSpdDisplay);
  377. this->groupBox3->Controls->Add(this->label_Calc_AvgSpd);
  378. this->groupBox3->Controls->Add(this->label_Calc_Speed);
  379. this->groupBox3->Controls->Add(this->label_Calc_SpeedDisplay);
  380. this->groupBox3->Controls->Add(this->label_Calc_Pace);
  381. this->groupBox3->Location = System::Drawing::Point(3, 64);
  382. this->groupBox3->Name = L"groupBox3";
  383. this->groupBox3->Size = System::Drawing::Size(230, 48);
  384. this->groupBox3->TabIndex = 2;
  385. this->groupBox3->TabStop = false;
  386. this->groupBox3->Text = L"Speed";
  387. //
  388. // label_Calc_PaceDisplay
  389. //
  390. this->label_Calc_PaceDisplay->AutoSize = true;
  391. this->label_Calc_PaceDisplay->Location = System::Drawing::Point(190, 14);
  392. this->label_Calc_PaceDisplay->Name = L"label_Calc_PaceDisplay";
  393. this->label_Calc_PaceDisplay->Size = System::Drawing::Size(16, 13);
  394. this->label_Calc_PaceDisplay->TabIndex = 34;
  395. this->label_Calc_PaceDisplay->Text = L"---";
  396. //
  397. // label_Calc_AvgSpdDisplay
  398. //
  399. this->label_Calc_AvgSpdDisplay->AutoSize = true;
  400. this->label_Calc_AvgSpdDisplay->Location = System::Drawing::Point(120, 28);
  401. this->label_Calc_AvgSpdDisplay->Name = L"label_Calc_AvgSpdDisplay";
  402. this->label_Calc_AvgSpdDisplay->Size = System::Drawing::Size(16, 13);
  403. this->label_Calc_AvgSpdDisplay->TabIndex = 36;
  404. this->label_Calc_AvgSpdDisplay->Text = L"---";
  405. //
  406. // label_Calc_AvgSpd
  407. //
  408. this->label_Calc_AvgSpd->AutoSize = true;
  409. this->label_Calc_AvgSpd->Location = System::Drawing::Point(7, 28);
  410. this->label_Calc_AvgSpd->Name = L"label_Calc_AvgSpd";
  411. this->label_Calc_AvgSpd->Size = System::Drawing::Size(111, 13);
  412. this->label_Calc_AvgSpd->TabIndex = 35;
  413. this->label_Calc_AvgSpd->Text = L"Average Speed (m/s):";
  414. //
  415. // label_Calc_Speed
  416. //
  417. this->label_Calc_Speed->AutoSize = true;
  418. this->label_Calc_Speed->Location = System::Drawing::Point(7, 14);
  419. this->label_Calc_Speed->Name = L"label_Calc_Speed";
  420. this->label_Calc_Speed->Size = System::Drawing::Size(68, 13);
  421. this->label_Calc_Speed->TabIndex = 29;
  422. this->label_Calc_Speed->Text = L"Speed (m/s):";
  423. //
  424. // label_Calc_SpeedDisplay
  425. //
  426. this->label_Calc_SpeedDisplay->AutoSize = true;
  427. this->label_Calc_SpeedDisplay->Location = System::Drawing::Point(76, 14);
  428. this->label_Calc_SpeedDisplay->Name = L"label_Calc_SpeedDisplay";
  429. this->label_Calc_SpeedDisplay->Size = System::Drawing::Size(16, 13);
  430. this->label_Calc_SpeedDisplay->TabIndex = 30;
  431. this->label_Calc_SpeedDisplay->Text = L"---";
  432. //
  433. // label_Calc_Pace
  434. //
  435. this->label_Calc_Pace->AutoSize = true;
  436. this->label_Calc_Pace->Location = System::Drawing::Point(114, 14);
  437. this->label_Calc_Pace->Name = L"label_Calc_Pace";
  438. this->label_Calc_Pace->Size = System::Drawing::Size(79, 13);
  439. this->label_Calc_Pace->TabIndex = 33;
  440. this->label_Calc_Pace->Text = L"Pace (min/km):";
  441. //
  442. // groupBox1
  443. //
  444. this->groupBox1->Controls->Add(this->label_P1TotalDistance);
  445. this->groupBox1->Controls->Add(this->label_P1TotDistDisplay);
  446. this->groupBox1->Controls->Add(this->label_Calc_Time);
  447. this->groupBox1->Controls->Add(this->label_Calc_TimeDisplay);
  448. this->groupBox1->Location = System::Drawing::Point(3, 2);
  449. this->groupBox1->Name = L"groupBox1";
  450. this->groupBox1->Size = System::Drawing::Size(231, 31);
  451. this->groupBox1->TabIndex = 2;
  452. this->groupBox1->TabStop = false;
  453. this->groupBox1->Text = L"Totals";
  454. //
  455. // label_P1TotalDistance
  456. //
  457. this->label_P1TotalDistance->AutoSize = true;
  458. this->label_P1TotalDistance->Location = System::Drawing::Point(6, 11);
  459. this->label_P1TotalDistance->Name = L"label_P1TotalDistance";
  460. this->label_P1TotalDistance->Size = System::Drawing::Size(69, 13);
  461. this->label_P1TotalDistance->TabIndex = 21;
  462. this->label_P1TotalDistance->Text = L"Distance (m):";
  463. //
  464. // label_P1TotDistDisplay
  465. //
  466. this->label_P1TotDistDisplay->AutoSize = true;
  467. this->label_P1TotDistDisplay->Location = System::Drawing::Point(74, 11);
  468. this->label_P1TotDistDisplay->Name = L"label_P1TotDistDisplay";
  469. this->label_P1TotDistDisplay->Size = System::Drawing::Size(16, 13);
  470. this->label_P1TotDistDisplay->TabIndex = 24;
  471. this->label_P1TotDistDisplay->Text = L"---";
  472. //
  473. // label_Calc_Time
  474. //
  475. this->label_Calc_Time->AutoSize = true;
  476. this->label_Calc_Time->Location = System::Drawing::Point(123, 11);
  477. this->label_Calc_Time->Name = L"label_Calc_Time";
  478. this->label_Calc_Time->Size = System::Drawing::Size(47, 13);
  479. this->label_Calc_Time->TabIndex = 27;
  480. this->label_Calc_Time->Text = L"Time (s):";
  481. //
  482. // label_Calc_TimeDisplay
  483. //
  484. this->label_Calc_TimeDisplay->AutoSize = true;
  485. this->label_Calc_TimeDisplay->Location = System::Drawing::Point(169, 11);
  486. this->label_Calc_TimeDisplay->Name = L"label_Calc_TimeDisplay";
  487. this->label_Calc_TimeDisplay->Size = System::Drawing::Size(16, 13);
  488. this->label_Calc_TimeDisplay->TabIndex = 28;
  489. this->label_Calc_TimeDisplay->Text = L"---";
  490. //
  491. // groupBox2
  492. //
  493. this->groupBox2->Controls->Add(this->label_Glb_ModelNumDisplay);
  494. this->groupBox2->Controls->Add(this->label_Glb_ManfIDDisplay);
  495. this->groupBox2->Controls->Add(this->label_Glb_SerialNumDisplay);
  496. this->groupBox2->Controls->Add(this->label_Glb_HardwareVerDisplay);
  497. this->groupBox2->Controls->Add(this->label_Glb_SoftwareVerDisplay);
  498. this->groupBox2->Controls->Add(this->label_Glb_ModelNum);
  499. this->groupBox2->Controls->Add(this->label_Glb_SoftwareVer);
  500. this->groupBox2->Controls->Add(this->label_Glb_HardwareVer);
  501. this->groupBox2->Controls->Add(this->label_Glb_SerialNum);
  502. this->groupBox2->Controls->Add(this->label_Glb_ManfID);
  503. this->groupBox2->Location = System::Drawing::Point(240, 2);
  504. this->groupBox2->Name = L"groupBox2";
  505. this->groupBox2->Size = System::Drawing::Size(146, 109);
  506. this->groupBox2->TabIndex = 19;
  507. this->groupBox2->TabStop = false;
  508. this->groupBox2->Text = L"Global Data";
  509. //
  510. // label_Glb_ModelNumDisplay
  511. //
  512. this->label_Glb_ModelNumDisplay->AutoSize = true;
  513. this->label_Glb_ModelNumDisplay->Location = System::Drawing::Point(76, 51);
  514. this->label_Glb_ModelNumDisplay->Name = L"label_Glb_ModelNumDisplay";
  515. this->label_Glb_ModelNumDisplay->Size = System::Drawing::Size(16, 13);
  516. this->label_Glb_ModelNumDisplay->TabIndex = 9;
  517. this->label_Glb_ModelNumDisplay->Text = L"---";
  518. //
  519. // label_Glb_ManfIDDisplay
  520. //
  521. this->label_Glb_ManfIDDisplay->AutoSize = true;
  522. this->label_Glb_ManfIDDisplay->Location = System::Drawing::Point(76, 34);
  523. this->label_Glb_ManfIDDisplay->Name = L"label_Glb_ManfIDDisplay";
  524. this->label_Glb_ManfIDDisplay->Size = System::Drawing::Size(16, 13);
  525. this->label_Glb_ManfIDDisplay->TabIndex = 8;
  526. this->label_Glb_ManfIDDisplay->Text = L"---";
  527. //
  528. // label_Glb_SerialNumDisplay
  529. //
  530. this->label_Glb_SerialNumDisplay->AutoSize = true;
  531. this->label_Glb_SerialNumDisplay->Location = System::Drawing::Point(76, 15);
  532. this->label_Glb_SerialNumDisplay->Name = L"label_Glb_SerialNumDisplay";
  533. this->label_Glb_SerialNumDisplay->Size = System::Drawing::Size(16, 13);
  534. this->label_Glb_SerialNumDisplay->TabIndex = 11;
  535. this->label_Glb_SerialNumDisplay->Text = L"---";
  536. //
  537. // label_Glb_HardwareVerDisplay
  538. //
  539. this->label_Glb_HardwareVerDisplay->AutoSize = true;
  540. this->label_Glb_HardwareVerDisplay->Location = System::Drawing::Point(76, 69);
  541. this->label_Glb_HardwareVerDisplay->Name = L"label_Glb_HardwareVerDisplay";
  542. this->label_Glb_HardwareVerDisplay->Size = System::Drawing::Size(16, 13);
  543. this->label_Glb_HardwareVerDisplay->TabIndex = 14;
  544. this->label_Glb_HardwareVerDisplay->Text = L"---";
  545. //
  546. // label_Glb_SoftwareVerDisplay
  547. //
  548. this->label_Glb_SoftwareVerDisplay->AutoSize = true;
  549. this->label_Glb_SoftwareVerDisplay->Location = System::Drawing::Point(76, 87);
  550. this->label_Glb_SoftwareVerDisplay->Name = L"label_Glb_SoftwareVerDisplay";
  551. this->label_Glb_SoftwareVerDisplay->Size = System::Drawing::Size(16, 13);
  552. this->label_Glb_SoftwareVerDisplay->TabIndex = 16;
  553. this->label_Glb_SoftwareVerDisplay->Text = L"---";
  554. //
  555. // label_Glb_ModelNum
  556. //
  557. this->label_Glb_ModelNum->AutoSize = true;
  558. this->label_Glb_ModelNum->Location = System::Drawing::Point(29, 51);
  559. this->label_Glb_ModelNum->Name = L"label_Glb_ModelNum";
  560. this->label_Glb_ModelNum->Size = System::Drawing::Size(49, 13);
  561. this->label_Glb_ModelNum->TabIndex = 5;
  562. this->label_Glb_ModelNum->Text = L"Model #:";
  563. //
  564. // label_Glb_SoftwareVer
  565. //
  566. this->label_Glb_SoftwareVer->AutoSize = true;
  567. this->label_Glb_SoftwareVer->Location = System::Drawing::Point(7, 87);
  568. this->label_Glb_SoftwareVer->Name = L"label_Glb_SoftwareVer";
  569. this->label_Glb_SoftwareVer->Size = System::Drawing::Size(71, 13);
  570. this->label_Glb_SoftwareVer->TabIndex = 4;
  571. this->label_Glb_SoftwareVer->Text = L"Software Ver:";
  572. //
  573. // label_Glb_HardwareVer
  574. //
  575. this->label_Glb_HardwareVer->AutoSize = true;
  576. this->label_Glb_HardwareVer->Location = System::Drawing::Point(3, 69);
  577. this->label_Glb_HardwareVer->Name = L"label_Glb_HardwareVer";
  578. this->label_Glb_HardwareVer->Size = System::Drawing::Size(75, 13);
  579. this->label_Glb_HardwareVer->TabIndex = 3;
  580. this->label_Glb_HardwareVer->Text = L"Hardware Ver:";
  581. //
  582. // label_Glb_SerialNum
  583. //
  584. this->label_Glb_SerialNum->AutoSize = true;
  585. this->label_Glb_SerialNum->Location = System::Drawing::Point(32, 15);
  586. this->label_Glb_SerialNum->Name = L"label_Glb_SerialNum";
  587. this->label_Glb_SerialNum->Size = System::Drawing::Size(46, 13);
  588. this->label_Glb_SerialNum->TabIndex = 2;
  589. this->label_Glb_SerialNum->Text = L"Serial #:";
  590. //
  591. // label_Glb_ManfID
  592. //
  593. this->label_Glb_ManfID->AutoSize = true;
  594. this->label_Glb_ManfID->Location = System::Drawing::Point(27, 33);
  595. this->label_Glb_ManfID->Name = L"label_Glb_ManfID";
  596. this->label_Glb_ManfID->Size = System::Drawing::Size(51, 13);
  597. this->label_Glb_ManfID->TabIndex = 1;
  598. this->label_Glb_ManfID->Text = L"Manf. ID:";
  599. //
  600. // tabPage_Page2Settings
  601. //
  602. this->tabPage_Page2Settings->Controls->Add(this->groupBox_P2Calories);
  603. this->tabPage_Page2Settings->Controls->Add(this->label_P2StatusFlags);
  604. this->tabPage_Page2Settings->Controls->Add(this->label_P2Use);
  605. this->tabPage_Page2Settings->Controls->Add(this->label_P2Health);
  606. this->tabPage_Page2Settings->Controls->Add(this->label_P2Battery);
  607. this->tabPage_Page2Settings->Controls->Add(this->label_P2Location);
  608. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Use);
  609. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Health);
  610. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Battery);
  611. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Location);
  612. this->tabPage_Page2Settings->Location = System::Drawing::Point(4, 22);
  613. this->tabPage_Page2Settings->Name = L"tabPage_Page2Settings";
  614. this->tabPage_Page2Settings->Size = System::Drawing::Size(389, 111);
  615. this->tabPage_Page2Settings->TabIndex = 3;
  616. this->tabPage_Page2Settings->Text = L"Status";
  617. this->tabPage_Page2Settings->UseVisualStyleBackColor = true;
  618. //
  619. // groupBox_P2Calories
  620. //
  621. this->groupBox_P2Calories->Controls->Add(this->label_P2kcal);
  622. this->groupBox_P2Calories->Controls->Add(this->label_P2Calories);
  623. this->groupBox_P2Calories->Location = System::Drawing::Point(294, 69);
  624. this->groupBox_P2Calories->Name = L"groupBox_P2Calories";
  625. this->groupBox_P2Calories->Size = System::Drawing::Size(91, 35);
  626. this->groupBox_P2Calories->TabIndex = 39;
  627. this->groupBox_P2Calories->TabStop = false;
  628. this->groupBox_P2Calories->Text = L"Total Calories";
  629. //
  630. // label_P2kcal
  631. //
  632. this->label_P2kcal->AutoSize = true;
  633. this->label_P2kcal->Location = System::Drawing::Point(7, 16);
  634. this->label_P2kcal->Name = L"label_P2kcal";
  635. this->label_P2kcal->Size = System::Drawing::Size(36, 13);
  636. this->label_P2kcal->TabIndex = 1;
  637. this->label_P2kcal->Text = L"(kcal):";
  638. //
  639. // label_P2Calories
  640. //
  641. this->label_P2Calories->AutoSize = true;
  642. this->label_P2Calories->Location = System::Drawing::Point(49, 16);
  643. this->label_P2Calories->Name = L"label_P2Calories";
  644. this->label_P2Calories->Size = System::Drawing::Size(16, 13);
  645. this->label_P2Calories->TabIndex = 0;
  646. this->label_P2Calories->Text = L"---";
  647. //
  648. // label_P2StatusFlags
  649. //
  650. this->label_P2StatusFlags->AutoSize = true;
  651. this->label_P2StatusFlags->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  652. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  653. this->label_P2StatusFlags->Location = System::Drawing::Point(10, 6);
  654. this->label_P2StatusFlags->Name = L"label_P2StatusFlags";
  655. this->label_P2StatusFlags->Size = System::Drawing::Size(68, 13);
  656. this->label_P2StatusFlags->TabIndex = 8;
  657. this->label_P2StatusFlags->Text = L"Status Flags:";
  658. //
  659. // label_P2Use
  660. //
  661. this->label_P2Use->AutoSize = true;
  662. this->label_P2Use->Location = System::Drawing::Point(313, 15);
  663. this->label_P2Use->Name = L"label_P2Use";
  664. this->label_P2Use->Size = System::Drawing::Size(54, 13);
  665. this->label_P2Use->TabIndex = 7;
  666. this->label_P2Use->Text = L"Use State";
  667. //
  668. // label_P2Health
  669. //
  670. this->label_P2Health->AutoSize = true;
  671. this->label_P2Health->Location = System::Drawing::Point(209, 15);
  672. this->label_P2Health->Name = L"label_P2Health";
  673. this->label_P2Health->Size = System::Drawing::Size(65, 13);
  674. this->label_P2Health->TabIndex = 6;
  675. this->label_P2Health->Text = L"SDM Health";
  676. //
  677. // label_P2Battery
  678. //
  679. this->label_P2Battery->AutoSize = true;
  680. this->label_P2Battery->Location = System::Drawing::Point(107, 23);
  681. this->label_P2Battery->Name = L"label_P2Battery";
  682. this->label_P2Battery->Size = System::Drawing::Size(73, 13);
  683. this->label_P2Battery->TabIndex = 5;
  684. this->label_P2Battery->Text = L"Battery Status";
  685. //
  686. // label_P2Location
  687. //
  688. this->label_P2Location->AutoSize = true;
  689. this->label_P2Location->Location = System::Drawing::Point(9, 23);
  690. this->label_P2Location->Name = L"label_P2Location";
  691. this->label_P2Location->Size = System::Drawing::Size(75, 13);
  692. this->label_P2Location->TabIndex = 4;
  693. this->label_P2Location->Text = L"SDM Location";
  694. //
  695. // listBox_P2Use
  696. //
  697. this->listBox_P2Use->Enabled = false;
  698. this->listBox_P2Use->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  699. static_cast<System::Byte>(0)));
  700. this->listBox_P2Use->FormattingEnabled = true;
  701. this->listBox_P2Use->Items->AddRange(gcnew cli::array< System::Object^ >(2) {L"00 - Inactive", L"01 - Active"});
  702. this->listBox_P2Use->Location = System::Drawing::Point(297, 32);
  703. this->listBox_P2Use->Name = L"listBox_P2Use";
  704. this->listBox_P2Use->Size = System::Drawing::Size(88, 30);
  705. this->listBox_P2Use->TabIndex = 38;
  706. //
  707. // listBox_P2Health
  708. //
  709. this->listBox_P2Health->Enabled = false;
  710. this->listBox_P2Health->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  711. static_cast<System::Byte>(0)));
  712. this->listBox_P2Health->FormattingEnabled = true;
  713. this->listBox_P2Health->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"00 - OK", L"01 - Error", L"10 - Warning"});
  714. this->listBox_P2Health->Location = System::Drawing::Point(200, 32);
  715. this->listBox_P2Health->Name = L"listBox_P2Health";
  716. this->listBox_P2Health->Size = System::Drawing::Size(87, 43);
  717. this->listBox_P2Health->TabIndex = 37;
  718. //
  719. // listBox_P2Battery
  720. //
  721. this->listBox_P2Battery->Enabled = false;
  722. this->listBox_P2Battery->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  723. static_cast<System::Byte>(0)));
  724. this->listBox_P2Battery->FormattingEnabled = true;
  725. this->listBox_P2Battery->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"00 - OK New", L"01 - OK Good", L"10 - OK",
  726. L"11 - Low"});
  727. this->listBox_P2Battery->Location = System::Drawing::Point(99, 40);
  728. this->listBox_P2Battery->Name = L"listBox_P2Battery";
  729. this->listBox_P2Battery->Size = System::Drawing::Size(89, 56);
  730. this->listBox_P2Battery->TabIndex = 36;
  731. //
  732. // listBox_P2Location
  733. //
  734. this->listBox_P2Location->Enabled = false;
  735. this->listBox_P2Location->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  736. static_cast<System::Byte>(0)));
  737. this->listBox_P2Location->FormattingEnabled = true;
  738. this->listBox_P2Location->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"00 - Laces", L"01 - Midsole", L"10 - Chest",
  739. L"11 - Other"});
  740. this->listBox_P2Location->Location = System::Drawing::Point(6, 40);
  741. this->listBox_P2Location->Name = L"listBox_P2Location";
  742. this->listBox_P2Location->Size = System::Drawing::Size(82, 56);
  743. this->listBox_P2Location->TabIndex = 35;
  744. //
  745. // tabPage_RequestPages
  746. //
  747. this->tabPage_RequestPages->Controls->Add(this->button_RequestPage16);
  748. this->tabPage_RequestPages->Controls->Add(this->groupBox_RqAccumulated);
  749. this->tabPage_RequestPages->Controls->Add(this->groupBox_RqCapabilities);
  750. this->tabPage_RequestPages->Controls->Add(this->groupBox_RqSensorReply);
  751. this->tabPage_RequestPages->Controls->Add(this->button_RequestPage22);
  752. this->tabPage_RequestPages->Controls->Add(this->label_AckMsgStatus);
  753. this->tabPage_RequestPages->Location = System::Drawing::Point(4, 22);
  754. this->tabPage_RequestPages->Name = L"tabPage_RequestPages";
  755. this->tabPage_RequestPages->Padding = System::Windows::Forms::Padding(3);
  756. this->tabPage_RequestPages->Size = System::Drawing::Size(389, 111);
  757. this->tabPage_RequestPages->TabIndex = 4;
  758. this->tabPage_RequestPages->Text = L"Request";
  759. this->tabPage_RequestPages->UseVisualStyleBackColor = true;
  760. //
  761. // button_RequestPage16
  762. //
  763. this->button_RequestPage16->Location = System::Drawing::Point(6, 9);
  764. this->button_RequestPage16->Name = L"button_RequestPage16";
  765. this->button_RequestPage16->Size = System::Drawing::Size(53, 23);
  766. this->button_RequestPage16->TabIndex = 20;
  767. this->button_RequestPage16->Text = L"Pg 16";
  768. this->button_RequestPage16->UseVisualStyleBackColor = true;
  769. this->button_RequestPage16->Click += gcnew System::EventHandler(this, &SDMDisplay::button_RequestPage16_Click);
  770. //
  771. // groupBox_RqAccumulated
  772. //
  773. this->groupBox_RqAccumulated->Controls->Add(this->label_RqAccumDistance);
  774. this->groupBox_RqAccumulated->Controls->Add(this->label_RqAccumStrides);
  775. this->groupBox_RqAccumulated->Controls->Add(this->label_RqStridesDisplay);
  776. this->groupBox_RqAccumulated->Controls->Add(this->label_RqDistanceDisplay);
  777. this->groupBox_RqAccumulated->Location = System::Drawing::Point(248, 9);
  778. this->groupBox_RqAccumulated->Name = L"groupBox_RqAccumulated";
  779. this->groupBox_RqAccumulated->Size = System::Drawing::Size(135, 97);
  780. this->groupBox_RqAccumulated->TabIndex = 19;
  781. this->groupBox_RqAccumulated->TabStop = false;
  782. this->groupBox_RqAccumulated->Text = L"P16 - Accumulated";
  783. //
  784. // label_RqAccumDistance
  785. //
  786. this->label_RqAccumDistance->AutoSize = true;
  787. this->label_RqAccumDistance->Location = System::Drawing::Point(19, 59);
  788. this->label_RqAccumDistance->Name = L"label_RqAccumDistance";
  789. this->label_RqAccumDistance->Size = System::Drawing::Size(98, 13);
  790. this->label_RqAccumDistance->TabIndex = 42;
  791. this->label_RqAccumDistance->Text = L"Distance (1/256m):";
  792. //
  793. // label_RqAccumStrides
  794. //
  795. this->label_RqAccumStrides->AutoSize = true;
  796. this->label_RqAccumStrides->Location = System::Drawing::Point(19, 20);
  797. this->label_RqAccumStrides->Name = L"label_RqAccumStrides";
  798. this->label_RqAccumStrides->Size = System::Drawing::Size(42, 13);
  799. this->label_RqAccumStrides->TabIndex = 37;
  800. this->label_RqAccumStrides->Text = L"Strides:";
  801. //
  802. // label_RqStridesDisplay
  803. //
  804. this->label_RqStridesDisplay->Location = System::Drawing::Point(38, 37);
  805. this->label_RqStridesDisplay->Name = L"label_RqStridesDisplay";
  806. this->label_RqStridesDisplay->Size = System::Drawing::Size(70, 13);
  807. this->label_RqStridesDisplay->TabIndex = 40;
  808. this->label_RqStridesDisplay->Text = L"0";
  809. //
  810. // label_RqDistanceDisplay
  811. //
  812. this->label_RqDistanceDisplay->Location = System::Drawing::Point(38, 76);
  813. this->label_RqDistanceDisplay->Name = L"label_RqDistanceDisplay";
  814. this->label_RqDistanceDisplay->Size = System::Drawing::Size(70, 13);
  815. this->label_RqDistanceDisplay->TabIndex = 41;
  816. this->label_RqDistanceDisplay->Text = L"0";
  817. //
  818. // groupBox_RqCapabilities
  819. //
  820. this->groupBox_RqCapabilities->Controls->Add(this->label_RqTime);
  821. this->groupBox_RqCapabilities->Controls->Add(this->label_RqCalories);
  822. this->groupBox_RqCapabilities->Controls->Add(this->label_RqLatency);
  823. this->groupBox_RqCapabilities->Controls->Add(this->label_RqDistance);
  824. this->groupBox_RqCapabilities->Controls->Add(this->label_RqSpeed);
  825. this->groupBox_RqCapabilities->Controls->Add(this->label_RqCadence);
  826. this->groupBox_RqCapabilities->Location = System::Drawing::Point(124, 35);
  827. this->groupBox_RqCapabilities->Name = L"groupBox_RqCapabilities";
  828. this->groupBox_RqCapabilities->Size = System::Drawing::Size(118, 71);
  829. this->groupBox_RqCapabilities->TabIndex = 18;
  830. this->groupBox_RqCapabilities->TabStop = false;
  831. this->groupBox_RqCapabilities->Text = L"P22 - Capabilities";
  832. //
  833. // label_RqTime
  834. //
  835. this->label_RqTime->AutoSize = true;
  836. this->label_RqTime->Location = System::Drawing::Point(8, 17);
  837. this->label_RqTime->Name = L"label_RqTime";
  838. this->label_RqTime->Size = System::Drawing::Size(30, 13);
  839. this->label_RqTime->TabIndex = 20;
  840. this->label_RqTime->Text = L"Time";
  841. //
  842. // label_RqCalories
  843. //
  844. this->label_RqCalories->AutoSize = true;
  845. this->label_RqCalories->Location = System::Drawing::Point(58, 51);
  846. this->label_RqCalories->Name = L"label_RqCalories";
  847. this->label_RqCalories->Size = System::Drawing::Size(44, 13);
  848. this->label_RqCalories->TabIndex = 25;
  849. this->label_RqCalories->Text = L"Calories";
  850. //
  851. // label_RqLatency
  852. //
  853. this->label_RqLatency->AutoSize = true;
  854. this->label_RqLatency->Location = System::Drawing::Point(58, 17);
  855. this->label_RqLatency->Name = L"label_RqLatency";
  856. this->label_RqLatency->Size = System::Drawing::Size(45, 13);
  857. this->label_RqLatency->TabIndex = 23;
  858. this->label_RqLatency->Text = L"Latency";
  859. //
  860. // label_RqDistance
  861. //
  862. this->label_RqDistance->AutoSize = true;
  863. this->label_RqDistance->Location = System::Drawing::Point(8, 34);
  864. this->label_RqDistance->Name = L"label_RqDistance";
  865. this->label_RqDistance->Size = System::Drawing::Size(49, 13);
  866. this->label_RqDistance->TabIndex = 21;
  867. this->label_RqDistance->Text = L"Distance";
  868. //
  869. // label_RqSpeed
  870. //
  871. this->label_RqSpeed->AutoSize = true;
  872. this->label_RqSpeed->Location = System::Drawing::Point(8, 51);
  873. this->label_RqSpeed->Name = L"label_RqSpeed";
  874. this->label_RqSpeed->Size = System::Drawing::Size(38, 13);
  875. this->label_RqSpeed->TabIndex = 22;
  876. this->label_RqSpeed->Text = L"Speed";
  877. //
  878. // label_RqCadence
  879. //
  880. this->label_RqCadence->AutoSize = true;
  881. this->label_RqCadence->Location = System::Drawing::Point(58, 34);
  882. this->label_RqCadence->Name = L"label_RqCadence";
  883. this->label_RqCadence->Size = System::Drawing::Size(50, 13);
  884. this->label_RqCadence->TabIndex = 24;
  885. this->label_RqCadence->Text = L"Cadence";
  886. //
  887. // groupBox_RqSensorReply
  888. //
  889. this->groupBox_RqSensorReply->Controls->Add(this->label_RqTxTimes);
  890. this->groupBox_RqSensorReply->Controls->Add(this->checkBox_RqTxUntilAck);
  891. this->groupBox_RqSensorReply->Controls->Add(this->numericUpDown_RqTxTimes);
  892. this->groupBox_RqSensorReply->Controls->Add(this->checkBox_RqAckReply);
  893. this->groupBox_RqSensorReply->Location = System::Drawing::Point(6, 35);
  894. this->groupBox_RqSensorReply->Name = L"groupBox_RqSensorReply";
  895. this->groupBox_RqSensorReply->Size = System::Drawing::Size(112, 71);
  896. this->groupBox_RqSensorReply->TabIndex = 17;
  897. this->groupBox_RqSensorReply->TabStop = false;
  898. this->groupBox_RqSensorReply->Text = L"Sensor Reply";
  899. //
  900. // label_RqTxTimes
  901. //
  902. this->label_RqTxTimes->AutoSize = true;
  903. this->label_RqTxTimes->Location = System::Drawing::Point(5, 19);
  904. this->label_RqTxTimes->Name = L"label_RqTxTimes";
  905. this->label_RqTxTimes->Size = System::Drawing::Size(53, 13);
  906. this->label_RqTxTimes->TabIndex = 16;
  907. this->label_RqTxTimes->Text = L"Tx Times:";
  908. //
  909. // checkBox_RqTxUntilAck
  910. //
  911. this->checkBox_RqTxUntilAck->AutoSize = true;
  912. this->checkBox_RqTxUntilAck->Location = System::Drawing::Point(8, 51);
  913. this->checkBox_RqTxUntilAck->Name = L"checkBox_RqTxUntilAck";
  914. this->checkBox_RqTxUntilAck->Size = System::Drawing::Size(82, 17);
  915. this->checkBox_RqTxUntilAck->TabIndex = 15;
  916. this->checkBox_RqTxUntilAck->Text = L"Tx until Ack";
  917. this->checkBox_RqTxUntilAck->UseVisualStyleBackColor = true;
  918. this->checkBox_RqTxUntilAck->CheckedChanged += gcnew System::EventHandler(this, &SDMDisplay::checkBox_RqTxUntilAck_CheckedChanged);
  919. //
  920. // numericUpDown_RqTxTimes
  921. //
  922. this->numericUpDown_RqTxTimes->Location = System::Drawing::Point(59, 17);
  923. this->numericUpDown_RqTxTimes->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {127, 0, 0, 0});
  924. this->numericUpDown_RqTxTimes->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
  925. this->numericUpDown_RqTxTimes->Name = L"numericUpDown_RqTxTimes";
  926. this->numericUpDown_RqTxTimes->Size = System::Drawing::Size(47, 20);
  927. this->numericUpDown_RqTxTimes->TabIndex = 13;
  928. this->numericUpDown_RqTxTimes->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {4, 0, 0, 0});
  929. this->numericUpDown_RqTxTimes->ValueChanged += gcnew System::EventHandler(this, &SDMDisplay::numericUpDown_RqTxTimes_ValueChanged);
  930. //
  931. // checkBox_RqAckReply
  932. //
  933. this->checkBox_RqAckReply->AutoSize = true;
  934. this->checkBox_RqAckReply->Location = System::Drawing::Point(8, 35);
  935. this->checkBox_RqAckReply->Name = L"checkBox_RqAckReply";
  936. this->checkBox_RqAckReply->Size = System::Drawing::Size(75, 17);
  937. this->checkBox_RqAckReply->TabIndex = 14;
  938. this->checkBox_RqAckReply->Text = L"Ack Reply";
  939. this->checkBox_RqAckReply->UseVisualStyleBackColor = true;
  940. this->checkBox_RqAckReply->CheckedChanged += gcnew System::EventHandler(this, &SDMDisplay::checkBox_RqAckReply_CheckedChanged);
  941. //
  942. // button_RequestPage22
  943. //
  944. this->button_RequestPage22->Location = System::Drawing::Point(65, 9);
  945. this->button_RequestPage22->Name = L"button_RequestPage22";
  946. this->button_RequestPage22->Size = System::Drawing::Size(53, 23);
  947. this->button_RequestPage22->TabIndex = 2;
  948. this->button_RequestPage22->Text = L"Pg 22";
  949. this->button_RequestPage22->UseVisualStyleBackColor = true;
  950. this->button_RequestPage22->Click += gcnew System::EventHandler(this, &SDMDisplay::button_RequestPage22_Click);
  951. //
  952. // label_AckMsgStatus
  953. //
  954. this->label_AckMsgStatus->AutoSize = true;
  955. this->label_AckMsgStatus->Location = System::Drawing::Point(130, 14);
  956. this->label_AckMsgStatus->Name = L"label_AckMsgStatus";
  957. this->label_AckMsgStatus->Size = System::Drawing::Size(89, 13);
  958. this->label_AckMsgStatus->TabIndex = 1;
  959. this->label_AckMsgStatus->Text = L"Request Status...";
  960. //
  961. // panel_Display
  962. //
  963. this->panel_Display->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
  964. this->panel_Display->Controls->Add(this->label_TransCal);
  965. this->panel_Display->Controls->Add(this->label_TransCalDisplay);
  966. this->panel_Display->Controls->Add(this->label_TransDistDisplay);
  967. this->panel_Display->Controls->Add(this->label_TransDist);
  968. this->panel_Display->Controls->Add(this->label_TransInstSpeedDisplay);
  969. this->panel_Display->Controls->Add(this->label_TransInstSpeed);
  970. this->panel_Display->Controls->Add(this->label_TransCadenceDisplay);
  971. this->panel_Display->Controls->Add(this->label_TransCadence);
  972. this->panel_Display->Controls->Add(this->label_Trn_EventTimeDisplay);
  973. this->panel_Display->Controls->Add(this->label_Trn_EventTime);
  974. this->panel_Display->Controls->Add(this->label_TransDisplayTitle);
  975. this->panel_Display->Controls->Add(this->label_TransLatency);
  976. this->panel_Display->Controls->Add(this->label_TransLatencyDisplay);
  977. this->panel_Display->Controls->Add(this->label_TransStrideCountDisplay);
  978. this->panel_Display->Controls->Add(this->label_TransStrideCount);
  979. this->panel_Display->Location = System::Drawing::Point(58, 188);
  980. this->panel_Display->Name = L"panel_Display";
  981. this->panel_Display->Size = System::Drawing::Size(200, 90);
  982. this->panel_Display->TabIndex = 1;
  983. //
  984. // label_TransCal
  985. //
  986. this->label_TransCal->AutoSize = true;
  987. this->label_TransCal->BackColor = System::Drawing::Color::Transparent;
  988. this->label_TransCal->Location = System::Drawing::Point(-1, 69);
  989. this->label_TransCal->Name = L"label_TransCal";
  990. this->label_TransCal->Size = System::Drawing::Size(36, 13);
  991. this->label_TransCal->TabIndex = 15;
  992. this->label_TransCal->Text = L"(kcal):";
  993. //
  994. // label_TransCalDisplay
  995. //
  996. this->label_TransCalDisplay->AutoSize = true;
  997. this->label_TransCalDisplay->BackColor = System::Drawing::Color::Transparent;
  998. this->label_TransCalDisplay->Location = System::Drawing::Point(41, 69);
  999. this->label_TransCalDisplay->Name = L"label_TransCalDisplay";
  1000. this->label_TransCalDisplay->Size = System::Drawing::Size(16, 13);
  1001. this->label_TransCalDisplay->TabIndex = 14;
  1002. this->label_TransCalDisplay->Text = L"---";
  1003. //
  1004. // label_TransDistDisplay
  1005. //
  1006. this->label_TransDistDisplay->AutoSize = true;
  1007. this->label_TransDistDisplay->BackColor = System::Drawing::Color::Transparent;
  1008. this->label_TransDistDisplay->Location = System::Drawing::Point(143, 68);
  1009. this->label_TransDistDisplay->Name = L"label_TransDistDisplay";
  1010. this->label_TransDistDisplay->Size = System::Drawing::Size(16, 13);
  1011. this->label_TransDistDisplay->TabIndex = 6;
  1012. this->label_TransDistDisplay->Text = L"---";
  1013. //
  1014. // label_TransDist
  1015. //
  1016. this->label_TransDist->AutoSize = true;
  1017. this->label_TransDist->BackColor = System::Drawing::Color::Transparent;
  1018. this->label_TransDist->Location = System::Drawing::Point(68, 68);
  1019. this->label_TransDist->Name = L"label_TransDist";
  1020. this->label_TransDist->Size = System::Drawing::Size(69, 13);
  1021. this->label_TransDist->TabIndex = 5;
  1022. this->label_TransDist->Text = L"Distance (m):";
  1023. //
  1024. // label_TransInstSpeedDisplay
  1025. //
  1026. this->label_TransInstSpeedDisplay->AutoSize = true;
  1027. this->label_TransInstSpeedDisplay->BackColor = System::Drawing::Color::Transparent;
  1028. this->label_TransInstSpeedDisplay->Location = System::Drawing::Point(143, 56);
  1029. this->label_TransInstSpeedDisplay->Name = L"label_TransInstSpeedDisplay";
  1030. this->label_TransInstSpeedDisplay->Size = System::Drawing::Size(16, 13);
  1031. this->label_TransInstSpeedDisplay->TabIndex = 3;
  1032. this->label_TransInstSpeedDisplay->Text = L"---";
  1033. //
  1034. // label_TransInstSpeed
  1035. //
  1036. this->label_TransInstSpeed->AutoSize = true;
  1037. this->label_TransInstSpeed->BackColor = System::Drawing::Color::Transparent;
  1038. this->label_TransInstSpeed->Location = System::Drawing::Point(-1, 56);
  1039. this->label_TransInstSpeed->Name = L"label_TransInstSpeed";
  1040. this->label_TransInstSpeed->Size = System::Drawing::Size(138, 13);
  1041. this->label_TransInstSpeed->TabIndex = 1;
  1042. this->label_TransInstSpeed->Text = L"Instantaneous Speed (m/s):";
  1043. //
  1044. // label_TransCadenceDisplay
  1045. //
  1046. this->label_TransCadenceDisplay->AutoSize = true;
  1047. this->label_TransCadenceDisplay->BackColor = System::Drawing::Color::Transparent;
  1048. this->label_TransCadenceDisplay->Location = System::Drawing::Point(143, 43);
  1049. this->label_TransCadenceDisplay->Name = L"label_TransCadenceDisplay";
  1050. this->label_TransCadenceDisplay->Size = System::Drawing::Size(16, 13);
  1051. this->label_TransCadenceDisplay->TabIndex = 10;
  1052. this->label_TransCadenceDisplay->Text = L"---";
  1053. //
  1054. // label_TransCadence
  1055. //
  1056. this->label_TransCadence->AutoSize = true;
  1057. this->label_TransCadence->BackColor = System::Drawing::Color::Transparent;
  1058. this->label_TransCadence->Location = System::Drawing::Point(1, 43);
  1059. this->label_TransCadence->Name = L"label_TransCadence";
  1060. this->label_TransCadence->Size = System::Drawing::Size(136, 13);
  1061. this->label_TransCadence->TabIndex = 9;
  1062. this->label_TransCadence->Text = L"Inst. Cadence (strides/min):";
  1063. //
  1064. // label_Trn_EventTimeDisplay
  1065. //
  1066. this->label_Trn_EventTimeDisplay->AutoSize = true;
  1067. this->label_Trn_EventTimeDisplay->BackColor = System::Drawing::Color::Transparent;
  1068. this->label_Trn_EventTimeDisplay->Location = System::Drawing::Point(143, 31);
  1069. this->label_Trn_EventTimeDisplay->Name = L"label_Trn_EventTimeDisplay";
  1070. this->label_Trn_EventTimeDisplay->Size = System::Drawing::Size(16, 13);
  1071. this->label_Trn_EventTimeDisplay->TabIndex = 12;
  1072. this->label_Trn_EventTimeDisplay->Text = L"---";
  1073. //
  1074. // label_Trn_EventTime
  1075. //
  1076. this->label_Trn_EventTime->AutoSize = true;
  1077. this->label_Trn_EventTime->BackColor = System::Drawing::Color::Transparent;
  1078. this->label_Trn_EventTime->Location = System::Drawing::Point(59, 30);
  1079. this->label_Trn_EventTime->Name = L"label_Trn_EventTime";
  1080. this->label_Trn_EventTime->Size = System::Drawing::Size(78, 13);
  1081. this->label_Trn_EventTime->TabIndex = 11;
  1082. this->label_Trn_EventTime->Text = L"Event Time (s):";
  1083. //
  1084. // label_TransDisplayTitle
  1085. //
  1086. this->label_TransDisplayTitle->AutoSize = true;
  1087. this->label_TransDisplayTitle->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1088. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1089. this->label_TransDisplayTitle->Location = System::Drawing::Point(2, 2);
  1090. this->label_TransDisplayTitle->Name = L"label_TransDisplayTitle";
  1091. this->label_TransDisplayTitle->Size = System::Drawing::Size(135, 13);
  1092. this->label_TransDisplayTitle->TabIndex = 4;
  1093. this->label_TransDisplayTitle->Text = L"Current SDM Transmission:";
  1094. //
  1095. // label_TransLatency
  1096. //
  1097. this->label_TransLatency->AutoSize = true;
  1098. this->label_TransLatency->BackColor = System::Drawing::Color::Transparent;
  1099. this->label_TransLatency->Location = System::Drawing::Point(3, 17);
  1100. this->label_TransLatency->Name = L"label_TransLatency";
  1101. this->label_TransLatency->Size = System::Drawing::Size(70, 13);
  1102. this->label_TransLatency->TabIndex = 7;
  1103. this->label_TransLatency->Text = L"Latency (ms):";
  1104. //
  1105. // label_TransLatencyDisplay
  1106. //
  1107. this->label_TransLatencyDisplay->AutoSize = true;
  1108. this->label_TransLatencyDisplay->BackColor = System::Drawing::Color::Transparent;
  1109. this->label_TransLatencyDisplay->Location = System::Drawing::Point(79, 17);
  1110. this->label_TransLatencyDisplay->Name = L"label_TransLatencyDisplay";
  1111. this->label_TransLatencyDisplay->Size = System::Drawing::Size(16, 13);
  1112. this->label_TransLatencyDisplay->TabIndex = 8;
  1113. this->label_TransLatencyDisplay->Text = L"---";
  1114. //
  1115. // label_TransStrideCountDisplay
  1116. //
  1117. this->label_TransStrideCountDisplay->AutoSize = true;
  1118. this->label_TransStrideCountDisplay->BackColor = System::Drawing::Color::Transparent;
  1119. this->label_TransStrideCountDisplay->Location = System::Drawing::Point(175, 17);
  1120. this->label_TransStrideCountDisplay->Name = L"label_TransStrideCountDisplay";
  1121. this->label_TransStrideCountDisplay->Size = System::Drawing::Size(16, 13);
  1122. this->label_TransStrideCountDisplay->TabIndex = 2;
  1123. this->label_TransStrideCountDisplay->Text = L"---";
  1124. //
  1125. // label_TransStrideCount
  1126. //
  1127. this->label_TransStrideCount->AutoSize = true;
  1128. this->label_TransStrideCount->BackColor = System::Drawing::Color::Transparent;
  1129. this->label_TransStrideCount->Location = System::Drawing::Point(127, 17);
  1130. this->label_TransStrideCount->Name = L"label_TransStrideCount";
  1131. this->label_TransStrideCount->Size = System::Drawing::Size(42, 13);
  1132. this->label_TransStrideCount->TabIndex = 0;
  1133. this->label_TransStrideCount->Text = L"Strides:";
  1134. //
  1135. // SDMDisplay
  1136. //
  1137. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1138. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1139. this->ClientSize = System::Drawing::Size(794, 351);
  1140. this->Controls->Add(this->panel_Display);
  1141. this->Controls->Add(this->panel_Settings);
  1142. this->Name = L"SDMDisplay";
  1143. this->Text = L"SDMDisplay";
  1144. this->panel_Settings->ResumeLayout(false);
  1145. this->tabControl_Settings->ResumeLayout(false);
  1146. this->tabPage_Page1Settings->ResumeLayout(false);
  1147. this->groupBox4->ResumeLayout(false);
  1148. this->groupBox4->PerformLayout();
  1149. this->groupBox3->ResumeLayout(false);
  1150. this->groupBox3->PerformLayout();
  1151. this->groupBox1->ResumeLayout(false);
  1152. this->groupBox1->PerformLayout();
  1153. this->groupBox2->ResumeLayout(false);
  1154. this->groupBox2->PerformLayout();
  1155. this->tabPage_Page2Settings->ResumeLayout(false);
  1156. this->tabPage_Page2Settings->PerformLayout();
  1157. this->groupBox_P2Calories->ResumeLayout(false);
  1158. this->groupBox_P2Calories->PerformLayout();
  1159. this->tabPage_RequestPages->ResumeLayout(false);
  1160. this->tabPage_RequestPages->PerformLayout();
  1161. this->groupBox_RqAccumulated->ResumeLayout(false);
  1162. this->groupBox_RqAccumulated->PerformLayout();
  1163. this->groupBox_RqCapabilities->ResumeLayout(false);
  1164. this->groupBox_RqCapabilities->PerformLayout();
  1165. this->groupBox_RqSensorReply->ResumeLayout(false);
  1166. this->groupBox_RqSensorReply->PerformLayout();
  1167. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_RqTxTimes))->EndInit();
  1168. this->panel_Display->ResumeLayout(false);
  1169. this->panel_Display->PerformLayout();
  1170. this->ResumeLayout(false);
  1171. }
  1172. #pragma endregion
  1173. };