SDMSensor.h 95 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870
  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 SDMSensor : public System::Windows::Forms::Form, public ISimBase{
  22. public:
  23. SDMSensor(System::Timers::Timer^ channelTimer, dRequestAckMsg^ channelAckMsg){
  24. requestAckMsg = channelAckMsg;
  25. commonPages = gcnew CommonData();
  26. timerHandle = channelTimer; // Get timer handle
  27. InitializeComponent();
  28. InitializeSim();
  29. }
  30. ~SDMSensor(){
  31. this->panel_Display->Controls->Clear();
  32. this->panel_Settings->Controls->Clear();
  33. delete this->panel_Display;
  34. delete this->panel_Settings;
  35. //clean up floating resources with the garbage collector
  36. GC::Collect(2);
  37. //Deletion of designer component
  38. if (components)
  39. {
  40. delete components;
  41. }
  42. }
  43. public:
  44. virtual void onTimerTock(USHORT eventTime);
  45. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_);
  46. virtual UCHAR getDeviceType(){return SDM_DEVICE_TYPE;}
  47. virtual UCHAR getTransmissionType(){return SDM_TX_TYPE;}
  48. virtual USHORT getTransmitPeriod(){return SDM_MSG_PERIOD;}
  49. virtual DOUBLE getTimerInterval(){return (double) ulTimerInterval;}
  50. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  51. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  52. private:
  53. void InitializeSim();
  54. void HandleTransmit(UCHAR* pucTxBuffer_);
  55. void UpdateDisplay();
  56. void ForceUpdate();
  57. void Page2_Enable();
  58. void Page2_Disable();
  59. void Page3_Enable();
  60. void Page3_Disable();
  61. void HandleReceive(UCHAR* pucRxBuffer_);
  62. void SendAckRequestMsg(UCHAR ucMsgCode_);
  63. BOOL HandleRetransmit();
  64. System::Void checkBox_EnableCommon_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  65. System::Void button_UpdateCommon_Click(System::Object^ sender, System::EventArgs^ e);
  66. System::Void listBox_SimUnitsChanged(System::Object^ sender, System::EventArgs^ e);
  67. System::Void numericUpDown_Sim_StrideLength_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  68. System::Void numericUpDown_Sim_CurOutput_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  69. System::Void numericUpDown_Sim_MinMaxOutput_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  70. System::Void numericUpDown_Sim_BurnRate_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  71. System::Void checkBox_Sweeping_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  72. System::Void button_UpdateDistance_Click(System::Object^ sender, System::EventArgs^ e);
  73. System::Void button_UpdateStrides_Click(System::Object^ sender, System::EventArgs^ e);
  74. System::Void checkBox_P1InstSpeed_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  75. System::Void checkBox_P2InstSpeed_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  76. System::Void checkBox_P3InstSpeed_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  77. System::Void checkBox_P1Time_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  78. System::Void checkBox_P1Latency_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  79. System::Void checkBox_P1Distance_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  80. System::Void checkBox_P2Cadence_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  81. System::Void checkBox_P3Cadence_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  82. System::Void listBox_P2Location_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  83. System::Void listBox_P2Battery_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  84. System::Void listBox_P2Health_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  85. System::Void listBox_P2Use_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  86. System::Void listBox_P3Location_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  87. System::Void listBox_P3Battery_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  88. System::Void listBox_P3Health_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  89. System::Void listBox_P3Use_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  90. System::Void checkBox_Page2_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  91. System::Void checkBox_Page3_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  92. System::Void button_P3UpdateCalories_Click(System::Object^ sender, System::EventArgs^ e);
  93. System::Void checkBox_P22Enabled_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  94. System::Void checkBox_P16Enabled_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  95. System::Void button_P16UpdateStrides_Click(System::Object^ sender, System::EventArgs^ e);
  96. System::Void button_P16UpdateDistance_Click(System::Object^ sender, System::EventArgs^ e);
  97. System::Void checkBox_P22Ignore_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  98. System::Void checkBox_InvalidSerial_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  99. USHORT ConvertFromInput(System::Decimal decValue_);
  100. System::Decimal ConvertToInput(USHORT usValue_);
  101. USHORT CadenceToSpeed(USHORT usCadence16_);
  102. USHORT SpeedToCadence(USHORT usSpeed256_);
  103. private:
  104. dRequestAckMsg^ requestAckMsg; // Delegate for handling Ack data
  105. CommonData^ commonPages; // Handle to common data pages
  106. // Simulation timer
  107. System::Timers::Timer^ timerHandle; // Timer handle
  108. ULONG ulTimerInterval; // Timer interval (ms)
  109. ULONG ulRunTime; // Run time at latest simulation event (ms)
  110. DWORD dwTimeLastEvent; // Time of last event (ms), since system started
  111. DWORD dwTimeLastTx; // Time of last Tx (ms), since system started
  112. // Simulator variables
  113. USHORT usSpeed256; // Instantaneous speed (1/256 m/s)
  114. USHORT usMaxSpeed256; // Maximum speed (1/256 m/s)
  115. USHORT usCurSpeed256; // Current speed (1/256 m/s)
  116. USHORT usMinSpeed256; // Minimum speed (1/256 m/s)
  117. USHORT usCadence16; // Instantaneous cadence (1/16 m/s)
  118. USHORT usMaxCadence16; // Maximum cadence (1/16 m/s)
  119. USHORT usCurCadence16; // Current cadence (1/16 m/s)
  120. USHORT usMinCadence16; // Minimum cadence (1/16 m/s)
  121. UCHAR ucStrideLength; // Stride length (cm)
  122. USHORT usDistance16; // Distance (1/16 m)
  123. UCHAR ucStrideCount; // Cumulative stride count (strides)
  124. UCHAR ucStatusFlags; // SDM status flags (encoded)
  125. SDMStatus sStatusFlags; // SDM status flags (individual fields)
  126. UCHAR ucCapabFlags; // Capabilities (Page 22) status flags (encoded)
  127. SDMCapab sCapabFlags; // Capabilities status flags (individual fields, see sdm.h)
  128. USHORT usTime200; // Time of last speed/distance computation (1/200 seconds)
  129. UCHAR ucLatency32; // Time between last computation and transmission of this message (1/32 seconds)
  130. UCHAR ucCalorieCount; // Calorie Count (kcal)
  131. ULONG ulTempCalories; // Temporary variable to calculate the calories
  132. UCHAR ucCalorieRate; // Calorie Burn Rate (K-kcal/m) (values from 1-200)
  133. ULONG ulStridesAccum; // Total accumulated strides, one increment for 2 steps, rollover at 16777216
  134. ULONG ulDistanceAccum; // Total accumulated distance (1/256 m)
  135. // Simulator options
  136. BOOL bTxCommon; // Enable/disable common pages
  137. BOOL bTxPage2; // Enable/disable page 2
  138. BOOL bTxPage3; // Enable/disable page 3
  139. BOOL bTxPage22; // Enable/disable page 22
  140. BOOL bTxPage16; // Enable/disable page 16
  141. BOOL bTxPage16Flag; // Indicates Page 16 has been requested
  142. BOOL bTxPage22Flag; // Indicates Page 22 has been requested
  143. BOOL bUseTime; // Include time in transmission (Page 1)
  144. BOOL bUseDistance; // Include distance in transmission (Page 1)
  145. BOOL bUseLatency; // Include latency in transmission (Page 1)
  146. BOOL bUseSpeed; // Include speed in transmission (Page 1 and 2)
  147. BOOL bUseCadence; // Include cadence in transmission (Page 2)
  148. BOOL bP22Ignore; // Ignore P22 request if all fields are supported
  149. SDMUnit eUnit; // Units of speed/cadence input
  150. UCHAR ucSimDataType; // Method to generate simulated data
  151. UCHAR ucRequestCount; // Used to count the number of times to re-send the request pages
  152. BOOL bSweepAscending; // Sweep through values in ascending manner
  153. UCHAR ucMsgExpectingAck; // Message pending to be acknowledged
  154. UCHAR ucAckRetryCount; // Counts the number of retries attempted for sending an ACK message
  155. UCHAR ucMaxAckRetries; // Maximum number of times for the sensor to attempt to resend an ack message if it does not rx an ack
  156. private: System::Windows::Forms::Panel^ panel_Settings;
  157. private: System::Windows::Forms::TabControl^ tabControl_Settings;
  158. private: System::Windows::Forms::TabPage^ tabPage_Parameters;
  159. private: System::Windows::Forms::TabPage^ tabPage_DeviceInfo;
  160. private: System::Windows::Forms::Panel^ panel_Display;
  161. private: System::Windows::Forms::Label^ label_Sim_ParamLabel;
  162. private: System::Windows::Forms::Label^ label_PageType;
  163. private: System::Windows::Forms::Label^ label_TransStrideCount;
  164. private: System::Windows::Forms::Label^ label_TransInstSpeed;
  165. private: System::Windows::Forms::Label^ label_TransInstSpeedDisplay;
  166. private: System::Windows::Forms::Label^ label_TransStrideCountDisplay;
  167. private: System::Windows::Forms::Label^ label_HardwareVer;
  168. private: System::Windows::Forms::Label^ label_SerialNum;
  169. private: System::Windows::Forms::Label^ label_ManfID;
  170. private: System::Windows::Forms::Label^ label_SoftwareVer;
  171. private: System::Windows::Forms::Label^ label_ModelNum;
  172. private: System::Windows::Forms::Button^ button_UpdateCommon;
  173. private: System::Windows::Forms::TextBox^ textBox_ModelNum;
  174. private: System::Windows::Forms::TextBox^ textBox_SerialNum;
  175. private: System::Windows::Forms::TextBox^ textBox_MfgID;
  176. private: System::Windows::Forms::TextBox^ textBox_SwVersion;
  177. private: System::Windows::Forms::TextBox^ textBox_HwVersion;
  178. private: System::Windows::Forms::Label^ label_TransDisplayTitle;
  179. private: System::Windows::Forms::Label^ label_ErrorCommon;
  180. private: System::Windows::Forms::TabPage^ tabPage_Page1Settings;
  181. private: System::Windows::Forms::TabPage^ tabPage_Page2Settings;
  182. private: System::Windows::Forms::Panel^ panel_PageType;
  183. private: System::Windows::Forms::CheckBox^ checkBox_Sweeping;
  184. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Sim_StrideLength;
  185. private: System::Windows::Forms::Label^ label_StrideConvConst;
  186. private: System::Windows::Forms::Label^ label_P1StrideCount;
  187. private: System::Windows::Forms::Label^ label_P1TotalDistance;
  188. private: System::Windows::Forms::Button^ button_UpdateDistance;
  189. private: System::Windows::Forms::Label^ label_P1UpdateError;
  190. private: System::Windows::Forms::TextBox^ textBox_P1StrideCountChange;
  191. private: System::Windows::Forms::Label^ label_P1StrideCountDisplay;
  192. private: System::Windows::Forms::TextBox^ textBox_P1TotDistChange;
  193. private: System::Windows::Forms::Label^ label_P1TotDistDisplay;
  194. private: System::Windows::Forms::ListBox^ listBox_P2Health;
  195. private: System::Windows::Forms::ListBox^ listBox_P2Battery;
  196. private: System::Windows::Forms::ListBox^ listBox_P2Location;
  197. private: System::Windows::Forms::Label^ label_P2StatusFlags;
  198. private: System::Windows::Forms::Label^ label_P2Use;
  199. private: System::Windows::Forms::Label^ label_P2Health;
  200. private: System::Windows::Forms::Label^ label_P2Battery;
  201. private: System::Windows::Forms::Label^ label_P2Location;
  202. private: System::Windows::Forms::ListBox^ listBox_P2Use;
  203. private: System::Windows::Forms::Label^ label_P1IntReminder;
  204. private: System::Windows::Forms::Label^ label_TransLatencyDisplay;
  205. private: System::Windows::Forms::Label^ label_TransLatency;
  206. private: System::Windows::Forms::Label^ label_TransDistDisplay;
  207. private: System::Windows::Forms::Label^ label_TransDist;
  208. private: System::Windows::Forms::Label^ label_TransCadenceDisplay;
  209. private: System::Windows::Forms::Label^ label_TransCadence;
  210. private: System::Windows::Forms::CheckBox^ checkBox_P1Time;
  211. private: System::Windows::Forms::Label^ label_P1TxFields;
  212. private: System::Windows::Forms::CheckBox^ checkBox_P1Latency;
  213. private: System::Windows::Forms::CheckBox^ checkBox_P1InstSpeed;
  214. private: System::Windows::Forms::CheckBox^ checkBox_P1Distance;
  215. private: System::Windows::Forms::Label^ label_P2TxFields;
  216. private: System::Windows::Forms::CheckBox^ checkBox_P2Cadence;
  217. private: System::Windows::Forms::CheckBox^ checkBox_P2InstSpeed;
  218. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Sim_MaxOutput;
  219. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Sim_CurOutput;
  220. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Sim_MinOutput;
  221. private: System::Windows::Forms::Label^ label_Sim_Max;
  222. private: System::Windows::Forms::Label^ label_Sim_Current;
  223. private: System::Windows::Forms::Label^ label_Sim_Min;
  224. private: System::Windows::Forms::ListBox^ listBox_SimUnits;
  225. private: System::Windows::Forms::Label^ label_Trn_TimeDisplay;
  226. private: System::Windows::Forms::Label^ label_Trn_Time;
  227. private: System::Windows::Forms::CheckBox^ checkBox_EnableCommon;
  228. private: System::Windows::Forms::Button^ button_UpdateStrides;
  229. private: System::Windows::Forms::TabPage^ tabPage_Page3Settings;
  230. private: System::Windows::Forms::Label^ label_P3TxFields;
  231. private: System::Windows::Forms::Label^ label_P3StatusFlags;
  232. private: System::Windows::Forms::CheckBox^ checkBox_P3Cadence;
  233. private: System::Windows::Forms::Label^ label_P3Use;
  234. private: System::Windows::Forms::Label^ label_P3Health;
  235. private: System::Windows::Forms::CheckBox^ checkBox_P3InstSpeed;
  236. private: System::Windows::Forms::Label^ label_P3Battery;
  237. private: System::Windows::Forms::Label^ label_P3Location;
  238. private: System::Windows::Forms::ListBox^ listBox_P3Use;
  239. private: System::Windows::Forms::ListBox^ listBox_P3Health;
  240. private: System::Windows::Forms::ListBox^ listBox_P3Battery;
  241. private: System::Windows::Forms::ListBox^ listBox_P3Location;
  242. private: System::Windows::Forms::GroupBox^ groupBox_P3Calories;
  243. private: System::Windows::Forms::Label^ label_P3CalDisplay;
  244. private: System::Windows::Forms::Label^ label_P3CalUnits;
  245. private: System::Windows::Forms::TextBox^ textBox_P3Calories;
  246. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Sim_BurnRate;
  247. private: System::Windows::Forms::Label^ label_BurnRate;
  248. private: System::Windows::Forms::TabPage^ tabPage1;
  249. private: System::Windows::Forms::CheckBox^ checkBox_Page3;
  250. private: System::Windows::Forms::CheckBox^ checkBox_Page2;
  251. private: System::Windows::Forms::CheckBox^ checkBox_Page1;
  252. private: System::Windows::Forms::Button^ button_P3UpdateCalories;
  253. private: System::Windows::Forms::Label^ label_P16Title;
  254. private: System::Windows::Forms::TabPage^ tabPage2;
  255. private: System::Windows::Forms::Label^ label_P22Title;
  256. private: System::Windows::Forms::Button^ button_P16UpdateDistance;
  257. private: System::Windows::Forms::Label^ label_P16Distance;
  258. private: System::Windows::Forms::Label^ label_P16Strides;
  259. private: System::Windows::Forms::Label^ label_P16StridesDisplay;
  260. private: System::Windows::Forms::Button^ button_P16UpdateStrides;
  261. private: System::Windows::Forms::TextBox^ textBox_P16DistDisplayChange;
  262. private: System::Windows::Forms::Label^ label_P16DistanceDisplay;
  263. private: System::Windows::Forms::TextBox^ textBox_P16StridesDisplayChange;
  264. private: System::Windows::Forms::CheckBox^ checkBox2;
  265. private: System::Windows::Forms::CheckBox^ checkBox_P16Enabled;
  266. private: System::Windows::Forms::CheckBox^ checkBox_P22Enabled;
  267. private: System::Windows::Forms::GroupBox^ groupBox_P22Supported;
  268. private: System::Windows::Forms::Label^ label_P22Time;
  269. private: System::Windows::Forms::Label^ label_P22Calories;
  270. private: System::Windows::Forms::Label^ label_P22Distance;
  271. private: System::Windows::Forms::Label^ label_P22Cadence;
  272. private: System::Windows::Forms::Label^ label_P22Speed;
  273. private: System::Windows::Forms::Label^ label_P22Latency;
  274. private: System::Windows::Forms::CheckBox^ checkBox_P22Ignore;
  275. private: System::Windows::Forms::Label^ label_P16_UnitsDist;
  276. private: System::Windows::Forms::Label^ label_P16UpdateError;
  277. private: System::Windows::Forms::Label^ label_TransCal;
  278. private: System::Windows::Forms::Label^ label_TransCalDisplay;
  279. private: System::Windows::Forms::CheckBox^ checkBox_InvalidSerial;
  280. private:
  281. /// <summary>
  282. /// Required designer variable.
  283. /// </summary>
  284. System::ComponentModel::Container ^components;
  285. #pragma region Windows Form Designer generated code
  286. /// <summary>
  287. /// Required method for Designer support - do not modify
  288. /// the contents of this method with the code editor.
  289. /// </summary>
  290. void InitializeComponent(void)
  291. {
  292. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  293. this->tabControl_Settings = (gcnew System::Windows::Forms::TabControl());
  294. this->tabPage_Parameters = (gcnew System::Windows::Forms::TabPage());
  295. this->numericUpDown_Sim_BurnRate = (gcnew System::Windows::Forms::NumericUpDown());
  296. this->label_BurnRate = (gcnew System::Windows::Forms::Label());
  297. this->numericUpDown_Sim_StrideLength = (gcnew System::Windows::Forms::NumericUpDown());
  298. this->numericUpDown_Sim_MaxOutput = (gcnew System::Windows::Forms::NumericUpDown());
  299. this->label_StrideConvConst = (gcnew System::Windows::Forms::Label());
  300. this->listBox_SimUnits = (gcnew System::Windows::Forms::ListBox());
  301. this->numericUpDown_Sim_CurOutput = (gcnew System::Windows::Forms::NumericUpDown());
  302. this->numericUpDown_Sim_MinOutput = (gcnew System::Windows::Forms::NumericUpDown());
  303. this->label_Sim_Max = (gcnew System::Windows::Forms::Label());
  304. this->label_Sim_Current = (gcnew System::Windows::Forms::Label());
  305. this->label_Sim_Min = (gcnew System::Windows::Forms::Label());
  306. this->checkBox_Sweeping = (gcnew System::Windows::Forms::CheckBox());
  307. this->panel_PageType = (gcnew System::Windows::Forms::Panel());
  308. this->checkBox_Page3 = (gcnew System::Windows::Forms::CheckBox());
  309. this->checkBox_Page2 = (gcnew System::Windows::Forms::CheckBox());
  310. this->checkBox_Page1 = (gcnew System::Windows::Forms::CheckBox());
  311. this->label_PageType = (gcnew System::Windows::Forms::Label());
  312. this->label_Sim_ParamLabel = (gcnew System::Windows::Forms::Label());
  313. this->tabPage_DeviceInfo = (gcnew System::Windows::Forms::TabPage());
  314. this->checkBox_InvalidSerial = (gcnew System::Windows::Forms::CheckBox());
  315. this->checkBox_EnableCommon = (gcnew System::Windows::Forms::CheckBox());
  316. this->label_SoftwareVer = (gcnew System::Windows::Forms::Label());
  317. this->label_HardwareVer = (gcnew System::Windows::Forms::Label());
  318. this->button_UpdateCommon = (gcnew System::Windows::Forms::Button());
  319. this->label_ErrorCommon = (gcnew System::Windows::Forms::Label());
  320. this->label_ManfID = (gcnew System::Windows::Forms::Label());
  321. this->label_SerialNum = (gcnew System::Windows::Forms::Label());
  322. this->textBox_SerialNum = (gcnew System::Windows::Forms::TextBox());
  323. this->label_ModelNum = (gcnew System::Windows::Forms::Label());
  324. this->textBox_SwVersion = (gcnew System::Windows::Forms::TextBox());
  325. this->textBox_HwVersion = (gcnew System::Windows::Forms::TextBox());
  326. this->textBox_ModelNum = (gcnew System::Windows::Forms::TextBox());
  327. this->textBox_MfgID = (gcnew System::Windows::Forms::TextBox());
  328. this->tabPage_Page1Settings = (gcnew System::Windows::Forms::TabPage());
  329. this->button_UpdateStrides = (gcnew System::Windows::Forms::Button());
  330. this->label_P1TxFields = (gcnew System::Windows::Forms::Label());
  331. this->checkBox_P1Latency = (gcnew System::Windows::Forms::CheckBox());
  332. this->checkBox_P1InstSpeed = (gcnew System::Windows::Forms::CheckBox());
  333. this->checkBox_P1Distance = (gcnew System::Windows::Forms::CheckBox());
  334. this->checkBox_P1Time = (gcnew System::Windows::Forms::CheckBox());
  335. this->label_P1StrideCount = (gcnew System::Windows::Forms::Label());
  336. this->label_P1TotalDistance = (gcnew System::Windows::Forms::Label());
  337. this->label_P1TotDistDisplay = (gcnew System::Windows::Forms::Label());
  338. this->button_UpdateDistance = (gcnew System::Windows::Forms::Button());
  339. this->label_P1UpdateError = (gcnew System::Windows::Forms::Label());
  340. this->textBox_P1StrideCountChange = (gcnew System::Windows::Forms::TextBox());
  341. this->label_P1StrideCountDisplay = (gcnew System::Windows::Forms::Label());
  342. this->textBox_P1TotDistChange = (gcnew System::Windows::Forms::TextBox());
  343. this->label_P1IntReminder = (gcnew System::Windows::Forms::Label());
  344. this->tabPage_Page2Settings = (gcnew System::Windows::Forms::TabPage());
  345. this->label_P2TxFields = (gcnew System::Windows::Forms::Label());
  346. this->label_P2StatusFlags = (gcnew System::Windows::Forms::Label());
  347. this->checkBox_P2Cadence = (gcnew System::Windows::Forms::CheckBox());
  348. this->label_P2Use = (gcnew System::Windows::Forms::Label());
  349. this->label_P2Health = (gcnew System::Windows::Forms::Label());
  350. this->checkBox_P2InstSpeed = (gcnew System::Windows::Forms::CheckBox());
  351. this->label_P2Battery = (gcnew System::Windows::Forms::Label());
  352. this->label_P2Location = (gcnew System::Windows::Forms::Label());
  353. this->listBox_P2Use = (gcnew System::Windows::Forms::ListBox());
  354. this->listBox_P2Health = (gcnew System::Windows::Forms::ListBox());
  355. this->listBox_P2Battery = (gcnew System::Windows::Forms::ListBox());
  356. this->listBox_P2Location = (gcnew System::Windows::Forms::ListBox());
  357. this->tabPage_Page3Settings = (gcnew System::Windows::Forms::TabPage());
  358. this->groupBox_P3Calories = (gcnew System::Windows::Forms::GroupBox());
  359. this->textBox_P3Calories = (gcnew System::Windows::Forms::TextBox());
  360. this->button_P3UpdateCalories = (gcnew System::Windows::Forms::Button());
  361. this->label_P3CalDisplay = (gcnew System::Windows::Forms::Label());
  362. this->label_P3CalUnits = (gcnew System::Windows::Forms::Label());
  363. this->label_P3TxFields = (gcnew System::Windows::Forms::Label());
  364. this->label_P3StatusFlags = (gcnew System::Windows::Forms::Label());
  365. this->checkBox_P3Cadence = (gcnew System::Windows::Forms::CheckBox());
  366. this->label_P3Use = (gcnew System::Windows::Forms::Label());
  367. this->label_P3Health = (gcnew System::Windows::Forms::Label());
  368. this->checkBox_P3InstSpeed = (gcnew System::Windows::Forms::CheckBox());
  369. this->label_P3Battery = (gcnew System::Windows::Forms::Label());
  370. this->label_P3Location = (gcnew System::Windows::Forms::Label());
  371. this->listBox_P3Use = (gcnew System::Windows::Forms::ListBox());
  372. this->listBox_P3Health = (gcnew System::Windows::Forms::ListBox());
  373. this->listBox_P3Battery = (gcnew System::Windows::Forms::ListBox());
  374. this->listBox_P3Location = (gcnew System::Windows::Forms::ListBox());
  375. this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
  376. this->label_P16UpdateError = (gcnew System::Windows::Forms::Label());
  377. this->label_P16_UnitsDist = (gcnew System::Windows::Forms::Label());
  378. this->checkBox_P16Enabled = (gcnew System::Windows::Forms::CheckBox());
  379. this->button_P16UpdateDistance = (gcnew System::Windows::Forms::Button());
  380. this->label_P16Distance = (gcnew System::Windows::Forms::Label());
  381. this->label_P16Strides = (gcnew System::Windows::Forms::Label());
  382. this->label_P16StridesDisplay = (gcnew System::Windows::Forms::Label());
  383. this->button_P16UpdateStrides = (gcnew System::Windows::Forms::Button());
  384. this->textBox_P16DistDisplayChange = (gcnew System::Windows::Forms::TextBox());
  385. this->label_P16DistanceDisplay = (gcnew System::Windows::Forms::Label());
  386. this->textBox_P16StridesDisplayChange = (gcnew System::Windows::Forms::TextBox());
  387. this->label_P16Title = (gcnew System::Windows::Forms::Label());
  388. this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
  389. this->checkBox_P22Ignore = (gcnew System::Windows::Forms::CheckBox());
  390. this->groupBox_P22Supported = (gcnew System::Windows::Forms::GroupBox());
  391. this->label_P22Time = (gcnew System::Windows::Forms::Label());
  392. this->label_P22Calories = (gcnew System::Windows::Forms::Label());
  393. this->label_P22Distance = (gcnew System::Windows::Forms::Label());
  394. this->label_P22Cadence = (gcnew System::Windows::Forms::Label());
  395. this->label_P22Speed = (gcnew System::Windows::Forms::Label());
  396. this->label_P22Latency = (gcnew System::Windows::Forms::Label());
  397. this->checkBox_P22Enabled = (gcnew System::Windows::Forms::CheckBox());
  398. this->label_P22Title = (gcnew System::Windows::Forms::Label());
  399. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  400. this->label_TransCal = (gcnew System::Windows::Forms::Label());
  401. this->label_TransCalDisplay = (gcnew System::Windows::Forms::Label());
  402. this->label_TransDist = (gcnew System::Windows::Forms::Label());
  403. this->label_TransInstSpeed = (gcnew System::Windows::Forms::Label());
  404. this->label_TransCadence = (gcnew System::Windows::Forms::Label());
  405. this->label_Trn_Time = (gcnew System::Windows::Forms::Label());
  406. this->label_TransDistDisplay = (gcnew System::Windows::Forms::Label());
  407. this->label_TransInstSpeedDisplay = (gcnew System::Windows::Forms::Label());
  408. this->label_TransCadenceDisplay = (gcnew System::Windows::Forms::Label());
  409. this->label_TransDisplayTitle = (gcnew System::Windows::Forms::Label());
  410. this->label_Trn_TimeDisplay = (gcnew System::Windows::Forms::Label());
  411. this->label_TransLatency = (gcnew System::Windows::Forms::Label());
  412. this->label_TransLatencyDisplay = (gcnew System::Windows::Forms::Label());
  413. this->label_TransStrideCountDisplay = (gcnew System::Windows::Forms::Label());
  414. this->label_TransStrideCount = (gcnew System::Windows::Forms::Label());
  415. this->checkBox2 = (gcnew System::Windows::Forms::CheckBox());
  416. this->panel_Settings->SuspendLayout();
  417. this->tabControl_Settings->SuspendLayout();
  418. this->tabPage_Parameters->SuspendLayout();
  419. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_BurnRate))->BeginInit();
  420. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_StrideLength))->BeginInit();
  421. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_MaxOutput))->BeginInit();
  422. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_CurOutput))->BeginInit();
  423. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_MinOutput))->BeginInit();
  424. this->panel_PageType->SuspendLayout();
  425. this->tabPage_DeviceInfo->SuspendLayout();
  426. this->tabPage_Page1Settings->SuspendLayout();
  427. this->tabPage_Page2Settings->SuspendLayout();
  428. this->tabPage_Page3Settings->SuspendLayout();
  429. this->groupBox_P3Calories->SuspendLayout();
  430. this->tabPage1->SuspendLayout();
  431. this->tabPage2->SuspendLayout();
  432. this->groupBox_P22Supported->SuspendLayout();
  433. this->panel_Display->SuspendLayout();
  434. this->SuspendLayout();
  435. //
  436. // panel_Settings
  437. //
  438. this->panel_Settings->Controls->Add(this->tabControl_Settings);
  439. this->panel_Settings->Location = System::Drawing::Point(322, 50);
  440. this->panel_Settings->Name = L"panel_Settings";
  441. this->panel_Settings->Size = System::Drawing::Size(400, 140);
  442. this->panel_Settings->TabIndex = 0;
  443. //
  444. // tabControl_Settings
  445. //
  446. this->tabControl_Settings->Controls->Add(this->tabPage_Parameters);
  447. this->tabControl_Settings->Controls->Add(this->tabPage_DeviceInfo);
  448. this->tabControl_Settings->Controls->Add(this->tabPage_Page1Settings);
  449. this->tabControl_Settings->Controls->Add(this->tabPage_Page2Settings);
  450. this->tabControl_Settings->Controls->Add(this->tabPage_Page3Settings);
  451. this->tabControl_Settings->Controls->Add(this->tabPage1);
  452. this->tabControl_Settings->Controls->Add(this->tabPage2);
  453. this->tabControl_Settings->Location = System::Drawing::Point(0, 3);
  454. this->tabControl_Settings->Name = L"tabControl_Settings";
  455. this->tabControl_Settings->SelectedIndex = 0;
  456. this->tabControl_Settings->Size = System::Drawing::Size(397, 137);
  457. this->tabControl_Settings->TabIndex = 10;
  458. //
  459. // tabPage_Parameters
  460. //
  461. this->tabPage_Parameters->Controls->Add(this->numericUpDown_Sim_BurnRate);
  462. this->tabPage_Parameters->Controls->Add(this->label_BurnRate);
  463. this->tabPage_Parameters->Controls->Add(this->numericUpDown_Sim_StrideLength);
  464. this->tabPage_Parameters->Controls->Add(this->numericUpDown_Sim_MaxOutput);
  465. this->tabPage_Parameters->Controls->Add(this->label_StrideConvConst);
  466. this->tabPage_Parameters->Controls->Add(this->listBox_SimUnits);
  467. this->tabPage_Parameters->Controls->Add(this->numericUpDown_Sim_CurOutput);
  468. this->tabPage_Parameters->Controls->Add(this->numericUpDown_Sim_MinOutput);
  469. this->tabPage_Parameters->Controls->Add(this->label_Sim_Max);
  470. this->tabPage_Parameters->Controls->Add(this->label_Sim_Current);
  471. this->tabPage_Parameters->Controls->Add(this->label_Sim_Min);
  472. this->tabPage_Parameters->Controls->Add(this->checkBox_Sweeping);
  473. this->tabPage_Parameters->Controls->Add(this->panel_PageType);
  474. this->tabPage_Parameters->Controls->Add(this->label_Sim_ParamLabel);
  475. this->tabPage_Parameters->Location = System::Drawing::Point(4, 22);
  476. this->tabPage_Parameters->Name = L"tabPage_Parameters";
  477. this->tabPage_Parameters->Padding = System::Windows::Forms::Padding(3);
  478. this->tabPage_Parameters->Size = System::Drawing::Size(389, 111);
  479. this->tabPage_Parameters->TabIndex = 0;
  480. this->tabPage_Parameters->Text = L"Parameters";
  481. this->tabPage_Parameters->UseVisualStyleBackColor = true;
  482. //
  483. // numericUpDown_Sim_BurnRate
  484. //
  485. this->numericUpDown_Sim_BurnRate->Location = System::Drawing::Point(223, 76);
  486. this->numericUpDown_Sim_BurnRate->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {200, 0, 0, 0});
  487. this->numericUpDown_Sim_BurnRate->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
  488. this->numericUpDown_Sim_BurnRate->Name = L"numericUpDown_Sim_BurnRate";
  489. this->numericUpDown_Sim_BurnRate->Size = System::Drawing::Size(47, 20);
  490. this->numericUpDown_Sim_BurnRate->TabIndex = 28;
  491. this->numericUpDown_Sim_BurnRate->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {62, 0, 0, 0});
  492. this->numericUpDown_Sim_BurnRate->ValueChanged += gcnew System::EventHandler(this, &SDMSensor::numericUpDown_Sim_BurnRate_ValueChanged);
  493. //
  494. // label_BurnRate
  495. //
  496. this->label_BurnRate->AutoSize = true;
  497. this->label_BurnRate->Location = System::Drawing::Point(196, 60);
  498. this->label_BurnRate->Name = L"label_BurnRate";
  499. this->label_BurnRate->Size = System::Drawing::Size(103, 13);
  500. this->label_BurnRate->TabIndex = 27;
  501. this->label_BurnRate->Text = L"Burn Rate (kcal/km)";
  502. //
  503. // numericUpDown_Sim_StrideLength
  504. //
  505. this->numericUpDown_Sim_StrideLength->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {5, 0, 0, 0});
  506. this->numericUpDown_Sim_StrideLength->Location = System::Drawing::Point(223, 31);
  507. this->numericUpDown_Sim_StrideLength->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
  508. this->numericUpDown_Sim_StrideLength->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 0});
  509. this->numericUpDown_Sim_StrideLength->Name = L"numericUpDown_Sim_StrideLength";
  510. this->numericUpDown_Sim_StrideLength->Size = System::Drawing::Size(47, 20);
  511. this->numericUpDown_Sim_StrideLength->TabIndex = 13;
  512. this->numericUpDown_Sim_StrideLength->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {75, 0, 0, 0});
  513. this->numericUpDown_Sim_StrideLength->ValueChanged += gcnew System::EventHandler(this, &SDMSensor::numericUpDown_Sim_StrideLength_ValueChanged);
  514. //
  515. // numericUpDown_Sim_MaxOutput
  516. //
  517. this->numericUpDown_Sim_MaxOutput->DecimalPlaces = 3;
  518. this->numericUpDown_Sim_MaxOutput->Enabled = false;
  519. this->numericUpDown_Sim_MaxOutput->Location = System::Drawing::Point(50, 66);
  520. this->numericUpDown_Sim_MaxOutput->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255940, 0, 0, 196608});
  521. this->numericUpDown_Sim_MaxOutput->Name = L"numericUpDown_Sim_MaxOutput";
  522. this->numericUpDown_Sim_MaxOutput->Size = System::Drawing::Size(64, 20);
  523. this->numericUpDown_Sim_MaxOutput->TabIndex = 24;
  524. this->numericUpDown_Sim_MaxOutput->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
  525. this->numericUpDown_Sim_MaxOutput->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {120, 0, 0, 0});
  526. this->numericUpDown_Sim_MaxOutput->ValueChanged += gcnew System::EventHandler(this, &SDMSensor::numericUpDown_Sim_MinMaxOutput_ValueChanged);
  527. //
  528. // label_StrideConvConst
  529. //
  530. this->label_StrideConvConst->AutoSize = true;
  531. this->label_StrideConvConst->Location = System::Drawing::Point(196, 12);
  532. this->label_StrideConvConst->Name = L"label_StrideConvConst";
  533. this->label_StrideConvConst->Size = System::Drawing::Size(93, 13);
  534. this->label_StrideConvConst->TabIndex = 18;
  535. this->label_StrideConvConst->Text = L"Stride Length (cm)";
  536. this->label_StrideConvConst->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  537. //
  538. // listBox_SimUnits
  539. //
  540. this->listBox_SimUnits->FormattingEnabled = true;
  541. this->listBox_SimUnits->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"m/s", L"km/h", L"mile/h", L"stride/min"});
  542. this->listBox_SimUnits->Location = System::Drawing::Point(125, 27);
  543. this->listBox_SimUnits->Name = L"listBox_SimUnits";
  544. this->listBox_SimUnits->Size = System::Drawing::Size(65, 56);
  545. this->listBox_SimUnits->TabIndex = 26;
  546. //
  547. // numericUpDown_Sim_CurOutput
  548. //
  549. this->numericUpDown_Sim_CurOutput->DecimalPlaces = 3;
  550. this->numericUpDown_Sim_CurOutput->Location = System::Drawing::Point(50, 45);
  551. this->numericUpDown_Sim_CurOutput->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255940, 0, 0, 196608});
  552. this->numericUpDown_Sim_CurOutput->Name = L"numericUpDown_Sim_CurOutput";
  553. this->numericUpDown_Sim_CurOutput->Size = System::Drawing::Size(64, 20);
  554. this->numericUpDown_Sim_CurOutput->TabIndex = 23;
  555. this->numericUpDown_Sim_CurOutput->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
  556. this->numericUpDown_Sim_CurOutput->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {90, 0, 0, 0});
  557. this->numericUpDown_Sim_CurOutput->ValueChanged += gcnew System::EventHandler(this, &SDMSensor::numericUpDown_Sim_CurOutput_ValueChanged);
  558. //
  559. // numericUpDown_Sim_MinOutput
  560. //
  561. this->numericUpDown_Sim_MinOutput->DecimalPlaces = 3;
  562. this->numericUpDown_Sim_MinOutput->Enabled = false;
  563. this->numericUpDown_Sim_MinOutput->Location = System::Drawing::Point(50, 24);
  564. this->numericUpDown_Sim_MinOutput->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255940, 0, 0, 196608});
  565. this->numericUpDown_Sim_MinOutput->Name = L"numericUpDown_Sim_MinOutput";
  566. this->numericUpDown_Sim_MinOutput->Size = System::Drawing::Size(64, 20);
  567. this->numericUpDown_Sim_MinOutput->TabIndex = 22;
  568. this->numericUpDown_Sim_MinOutput->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
  569. this->numericUpDown_Sim_MinOutput->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {60, 0, 0, 0});
  570. this->numericUpDown_Sim_MinOutput->ValueChanged += gcnew System::EventHandler(this, &SDMSensor::numericUpDown_Sim_MinMaxOutput_ValueChanged);
  571. //
  572. // label_Sim_Max
  573. //
  574. this->label_Sim_Max->AutoSize = true;
  575. this->label_Sim_Max->Location = System::Drawing::Point(19, 68);
  576. this->label_Sim_Max->Name = L"label_Sim_Max";
  577. this->label_Sim_Max->Size = System::Drawing::Size(27, 13);
  578. this->label_Sim_Max->TabIndex = 21;
  579. this->label_Sim_Max->Text = L"Max";
  580. //
  581. // label_Sim_Current
  582. //
  583. this->label_Sim_Current->AutoSize = true;
  584. this->label_Sim_Current->Location = System::Drawing::Point(5, 47);
  585. this->label_Sim_Current->Name = L"label_Sim_Current";
  586. this->label_Sim_Current->Size = System::Drawing::Size(41, 13);
  587. this->label_Sim_Current->TabIndex = 20;
  588. this->label_Sim_Current->Text = L"Current";
  589. //
  590. // label_Sim_Min
  591. //
  592. this->label_Sim_Min->AutoSize = true;
  593. this->label_Sim_Min->Location = System::Drawing::Point(22, 26);
  594. this->label_Sim_Min->Name = L"label_Sim_Min";
  595. this->label_Sim_Min->Size = System::Drawing::Size(24, 13);
  596. this->label_Sim_Min->TabIndex = 19;
  597. this->label_Sim_Min->Text = L"Min";
  598. //
  599. // checkBox_Sweeping
  600. //
  601. this->checkBox_Sweeping->AutoSize = true;
  602. this->checkBox_Sweeping->Location = System::Drawing::Point(22, 89);
  603. this->checkBox_Sweeping->Name = L"checkBox_Sweeping";
  604. this->checkBox_Sweeping->Size = System::Drawing::Size(73, 17);
  605. this->checkBox_Sweeping->TabIndex = 18;
  606. this->checkBox_Sweeping->Text = L"Sweeping";
  607. this->checkBox_Sweeping->UseVisualStyleBackColor = true;
  608. this->checkBox_Sweeping->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_Sweeping_CheckedChanged);
  609. //
  610. // panel_PageType
  611. //
  612. this->panel_PageType->Controls->Add(this->checkBox_Page3);
  613. this->panel_PageType->Controls->Add(this->checkBox_Page2);
  614. this->panel_PageType->Controls->Add(this->checkBox_Page1);
  615. this->panel_PageType->Controls->Add(this->label_PageType);
  616. this->panel_PageType->Location = System::Drawing::Point(300, 0);
  617. this->panel_PageType->Name = L"panel_PageType";
  618. this->panel_PageType->Size = System::Drawing::Size(89, 111);
  619. this->panel_PageType->TabIndex = 2;
  620. //
  621. // checkBox_Page3
  622. //
  623. this->checkBox_Page3->AutoSize = true;
  624. this->checkBox_Page3->Location = System::Drawing::Point(11, 70);
  625. this->checkBox_Page3->Name = L"checkBox_Page3";
  626. this->checkBox_Page3->Size = System::Drawing::Size(60, 17);
  627. this->checkBox_Page3->TabIndex = 24;
  628. this->checkBox_Page3->Text = L"Page 3";
  629. this->checkBox_Page3->UseVisualStyleBackColor = true;
  630. this->checkBox_Page3->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_Page3_CheckedChanged);
  631. //
  632. // checkBox_Page2
  633. //
  634. this->checkBox_Page2->AutoSize = true;
  635. this->checkBox_Page2->Checked = true;
  636. this->checkBox_Page2->CheckState = System::Windows::Forms::CheckState::Checked;
  637. this->checkBox_Page2->Location = System::Drawing::Point(11, 51);
  638. this->checkBox_Page2->Name = L"checkBox_Page2";
  639. this->checkBox_Page2->Size = System::Drawing::Size(60, 17);
  640. this->checkBox_Page2->TabIndex = 23;
  641. this->checkBox_Page2->Text = L"Page 2";
  642. this->checkBox_Page2->UseVisualStyleBackColor = true;
  643. this->checkBox_Page2->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_Page2_CheckedChanged);
  644. //
  645. // checkBox_Page1
  646. //
  647. this->checkBox_Page1->AutoSize = true;
  648. this->checkBox_Page1->Checked = true;
  649. this->checkBox_Page1->CheckState = System::Windows::Forms::CheckState::Checked;
  650. this->checkBox_Page1->Enabled = false;
  651. this->checkBox_Page1->Location = System::Drawing::Point(11, 32);
  652. this->checkBox_Page1->Name = L"checkBox_Page1";
  653. this->checkBox_Page1->Size = System::Drawing::Size(60, 17);
  654. this->checkBox_Page1->TabIndex = 22;
  655. this->checkBox_Page1->Text = L"Page 1";
  656. this->checkBox_Page1->UseVisualStyleBackColor = true;
  657. //
  658. // label_PageType
  659. //
  660. this->label_PageType->AutoSize = true;
  661. this->label_PageType->Location = System::Drawing::Point(8, 12);
  662. this->label_PageType->Name = L"label_PageType";
  663. this->label_PageType->Size = System::Drawing::Size(72, 13);
  664. this->label_PageType->TabIndex = 12;
  665. this->label_PageType->Text = L"Broadcasting:";
  666. this->label_PageType->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
  667. //
  668. // label_Sim_ParamLabel
  669. //
  670. this->label_Sim_ParamLabel->AutoSize = true;
  671. this->label_Sim_ParamLabel->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  672. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  673. this->label_Sim_ParamLabel->Location = System::Drawing::Point(26, 4);
  674. this->label_Sim_ParamLabel->Name = L"label_Sim_ParamLabel";
  675. this->label_Sim_ParamLabel->Size = System::Drawing::Size(114, 13);
  676. this->label_Sim_ParamLabel->TabIndex = 0;
  677. this->label_Sim_ParamLabel->Text = L"Simulation Parameters:";
  678. //
  679. // tabPage_DeviceInfo
  680. //
  681. this->tabPage_DeviceInfo->Controls->Add(this->checkBox_InvalidSerial);
  682. this->tabPage_DeviceInfo->Controls->Add(this->checkBox_EnableCommon);
  683. this->tabPage_DeviceInfo->Controls->Add(this->label_SoftwareVer);
  684. this->tabPage_DeviceInfo->Controls->Add(this->label_HardwareVer);
  685. this->tabPage_DeviceInfo->Controls->Add(this->button_UpdateCommon);
  686. this->tabPage_DeviceInfo->Controls->Add(this->label_ErrorCommon);
  687. this->tabPage_DeviceInfo->Controls->Add(this->label_ManfID);
  688. this->tabPage_DeviceInfo->Controls->Add(this->label_SerialNum);
  689. this->tabPage_DeviceInfo->Controls->Add(this->textBox_SerialNum);
  690. this->tabPage_DeviceInfo->Controls->Add(this->label_ModelNum);
  691. this->tabPage_DeviceInfo->Controls->Add(this->textBox_SwVersion);
  692. this->tabPage_DeviceInfo->Controls->Add(this->textBox_HwVersion);
  693. this->tabPage_DeviceInfo->Controls->Add(this->textBox_ModelNum);
  694. this->tabPage_DeviceInfo->Controls->Add(this->textBox_MfgID);
  695. this->tabPage_DeviceInfo->Location = System::Drawing::Point(4, 22);
  696. this->tabPage_DeviceInfo->Name = L"tabPage_DeviceInfo";
  697. this->tabPage_DeviceInfo->Padding = System::Windows::Forms::Padding(3);
  698. this->tabPage_DeviceInfo->Size = System::Drawing::Size(389, 111);
  699. this->tabPage_DeviceInfo->TabIndex = 1;
  700. this->tabPage_DeviceInfo->Text = L"Device Info";
  701. this->tabPage_DeviceInfo->UseVisualStyleBackColor = true;
  702. //
  703. // checkBox_InvalidSerial
  704. //
  705. this->checkBox_InvalidSerial->AutoSize = true;
  706. this->checkBox_InvalidSerial->Location = System::Drawing::Point(154, 14);
  707. this->checkBox_InvalidSerial->Name = L"checkBox_InvalidSerial";
  708. this->checkBox_InvalidSerial->Size = System::Drawing::Size(79, 17);
  709. this->checkBox_InvalidSerial->TabIndex = 29;
  710. this->checkBox_InvalidSerial->Text = L"No Serial #";
  711. this->checkBox_InvalidSerial->UseVisualStyleBackColor = true;
  712. this->checkBox_InvalidSerial->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_InvalidSerial_CheckedChanged);
  713. //
  714. // checkBox_EnableCommon
  715. //
  716. this->checkBox_EnableCommon->AutoSize = true;
  717. this->checkBox_EnableCommon->Checked = true;
  718. this->checkBox_EnableCommon->CheckState = System::Windows::Forms::CheckState::Checked;
  719. this->checkBox_EnableCommon->Location = System::Drawing::Point(20, 86);
  720. this->checkBox_EnableCommon->Name = L"checkBox_EnableCommon";
  721. this->checkBox_EnableCommon->Size = System::Drawing::Size(162, 17);
  722. this->checkBox_EnableCommon->TabIndex = 28;
  723. this->checkBox_EnableCommon->Text = L"Enable Common Data Pages";
  724. this->checkBox_EnableCommon->UseVisualStyleBackColor = true;
  725. this->checkBox_EnableCommon->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_EnableCommon_CheckedChanged);
  726. //
  727. // label_SoftwareVer
  728. //
  729. this->label_SoftwareVer->AutoSize = true;
  730. this->label_SoftwareVer->Location = System::Drawing::Point(245, 36);
  731. this->label_SoftwareVer->Name = L"label_SoftwareVer";
  732. this->label_SoftwareVer->Size = System::Drawing::Size(71, 13);
  733. this->label_SoftwareVer->TabIndex = 4;
  734. this->label_SoftwareVer->Text = L"Software Ver:";
  735. //
  736. // label_HardwareVer
  737. //
  738. this->label_HardwareVer->AutoSize = true;
  739. this->label_HardwareVer->Location = System::Drawing::Point(241, 15);
  740. this->label_HardwareVer->Name = L"label_HardwareVer";
  741. this->label_HardwareVer->Size = System::Drawing::Size(75, 13);
  742. this->label_HardwareVer->TabIndex = 3;
  743. this->label_HardwareVer->Text = L"Hardware Ver:";
  744. //
  745. // button_UpdateCommon
  746. //
  747. this->button_UpdateCommon->Location = System::Drawing::Point(254, 60);
  748. this->button_UpdateCommon->Name = L"button_UpdateCommon";
  749. this->button_UpdateCommon->Size = System::Drawing::Size(97, 20);
  750. this->button_UpdateCommon->TabIndex = 27;
  751. this->button_UpdateCommon->Text = L"Update All";
  752. this->button_UpdateCommon->UseVisualStyleBackColor = true;
  753. this->button_UpdateCommon->Click += gcnew System::EventHandler(this, &SDMSensor::button_UpdateCommon_Click);
  754. //
  755. // label_ErrorCommon
  756. //
  757. this->label_ErrorCommon->AutoSize = true;
  758. this->label_ErrorCommon->Location = System::Drawing::Point(241, 86);
  759. this->label_ErrorCommon->Name = L"label_ErrorCommon";
  760. this->label_ErrorCommon->Size = System::Drawing::Size(32, 13);
  761. this->label_ErrorCommon->TabIndex = 20;
  762. this->label_ErrorCommon->Text = L"Error:";
  763. this->label_ErrorCommon->Visible = false;
  764. //
  765. // label_ManfID
  766. //
  767. this->label_ManfID->AutoSize = true;
  768. this->label_ManfID->Location = System::Drawing::Point(15, 39);
  769. this->label_ManfID->Name = L"label_ManfID";
  770. this->label_ManfID->Size = System::Drawing::Size(51, 13);
  771. this->label_ManfID->TabIndex = 1;
  772. this->label_ManfID->Text = L"Manf. ID:";
  773. //
  774. // label_SerialNum
  775. //
  776. this->label_SerialNum->AutoSize = true;
  777. this->label_SerialNum->Location = System::Drawing::Point(20, 15);
  778. this->label_SerialNum->Name = L"label_SerialNum";
  779. this->label_SerialNum->Size = System::Drawing::Size(46, 13);
  780. this->label_SerialNum->TabIndex = 2;
  781. this->label_SerialNum->Text = L"Serial #:";
  782. //
  783. // textBox_SerialNum
  784. //
  785. this->textBox_SerialNum->Location = System::Drawing::Point(72, 12);
  786. this->textBox_SerialNum->MaxLength = 10;
  787. this->textBox_SerialNum->Name = L"textBox_SerialNum";
  788. this->textBox_SerialNum->Size = System::Drawing::Size(76, 20);
  789. this->textBox_SerialNum->TabIndex = 24;
  790. this->textBox_SerialNum->Text = L"1234567890";
  791. //
  792. // label_ModelNum
  793. //
  794. this->label_ModelNum->AutoSize = true;
  795. this->label_ModelNum->Location = System::Drawing::Point(17, 63);
  796. this->label_ModelNum->Name = L"label_ModelNum";
  797. this->label_ModelNum->Size = System::Drawing::Size(49, 13);
  798. this->label_ModelNum->TabIndex = 5;
  799. this->label_ModelNum->Text = L"Model #:";
  800. //
  801. // textBox_SwVersion
  802. //
  803. this->textBox_SwVersion->Location = System::Drawing::Point(322, 36);
  804. this->textBox_SwVersion->MaxLength = 3;
  805. this->textBox_SwVersion->Name = L"textBox_SwVersion";
  806. this->textBox_SwVersion->Size = System::Drawing::Size(29, 20);
  807. this->textBox_SwVersion->TabIndex = 26;
  808. this->textBox_SwVersion->Text = L"1";
  809. //
  810. // textBox_HwVersion
  811. //
  812. this->textBox_HwVersion->Location = System::Drawing::Point(322, 12);
  813. this->textBox_HwVersion->MaxLength = 3;
  814. this->textBox_HwVersion->Name = L"textBox_HwVersion";
  815. this->textBox_HwVersion->Size = System::Drawing::Size(29, 20);
  816. this->textBox_HwVersion->TabIndex = 25;
  817. this->textBox_HwVersion->Text = L"1";
  818. //
  819. // textBox_ModelNum
  820. //
  821. this->textBox_ModelNum->Location = System::Drawing::Point(99, 60);
  822. this->textBox_ModelNum->MaxLength = 5;
  823. this->textBox_ModelNum->Name = L"textBox_ModelNum";
  824. this->textBox_ModelNum->Size = System::Drawing::Size(49, 20);
  825. this->textBox_ModelNum->TabIndex = 23;
  826. this->textBox_ModelNum->Text = L"33669";
  827. //
  828. // textBox_MfgID
  829. //
  830. this->textBox_MfgID->Location = System::Drawing::Point(99, 36);
  831. this->textBox_MfgID->MaxLength = 5;
  832. this->textBox_MfgID->Name = L"textBox_MfgID";
  833. this->textBox_MfgID->Size = System::Drawing::Size(49, 20);
  834. this->textBox_MfgID->TabIndex = 22;
  835. this->textBox_MfgID->Text = L"54321";
  836. //
  837. // tabPage_Page1Settings
  838. //
  839. this->tabPage_Page1Settings->Controls->Add(this->button_UpdateStrides);
  840. this->tabPage_Page1Settings->Controls->Add(this->label_P1TxFields);
  841. this->tabPage_Page1Settings->Controls->Add(this->checkBox_P1Latency);
  842. this->tabPage_Page1Settings->Controls->Add(this->checkBox_P1InstSpeed);
  843. this->tabPage_Page1Settings->Controls->Add(this->checkBox_P1Distance);
  844. this->tabPage_Page1Settings->Controls->Add(this->checkBox_P1Time);
  845. this->tabPage_Page1Settings->Controls->Add(this->label_P1StrideCount);
  846. this->tabPage_Page1Settings->Controls->Add(this->label_P1TotalDistance);
  847. this->tabPage_Page1Settings->Controls->Add(this->label_P1TotDistDisplay);
  848. this->tabPage_Page1Settings->Controls->Add(this->button_UpdateDistance);
  849. this->tabPage_Page1Settings->Controls->Add(this->label_P1UpdateError);
  850. this->tabPage_Page1Settings->Controls->Add(this->textBox_P1StrideCountChange);
  851. this->tabPage_Page1Settings->Controls->Add(this->label_P1StrideCountDisplay);
  852. this->tabPage_Page1Settings->Controls->Add(this->textBox_P1TotDistChange);
  853. this->tabPage_Page1Settings->Controls->Add(this->label_P1IntReminder);
  854. this->tabPage_Page1Settings->Location = System::Drawing::Point(4, 22);
  855. this->tabPage_Page1Settings->Name = L"tabPage_Page1Settings";
  856. this->tabPage_Page1Settings->Size = System::Drawing::Size(389, 111);
  857. this->tabPage_Page1Settings->TabIndex = 2;
  858. this->tabPage_Page1Settings->Text = L"Page 1";
  859. this->tabPage_Page1Settings->UseVisualStyleBackColor = true;
  860. //
  861. // button_UpdateStrides
  862. //
  863. this->button_UpdateStrides->Location = System::Drawing::Point(195, 41);
  864. this->button_UpdateStrides->Name = L"button_UpdateStrides";
  865. this->button_UpdateStrides->Size = System::Drawing::Size(97, 20);
  866. this->button_UpdateStrides->TabIndex = 35;
  867. this->button_UpdateStrides->Text = L"Update Count";
  868. this->button_UpdateStrides->UseVisualStyleBackColor = true;
  869. this->button_UpdateStrides->Click += gcnew System::EventHandler(this, &SDMSensor::button_UpdateStrides_Click);
  870. //
  871. // label_P1TxFields
  872. //
  873. this->label_P1TxFields->AutoSize = true;
  874. this->label_P1TxFields->Location = System::Drawing::Point(8, 74);
  875. this->label_P1TxFields->Name = L"label_P1TxFields";
  876. this->label_P1TxFields->Size = System::Drawing::Size(88, 13);
  877. this->label_P1TxFields->TabIndex = 34;
  878. this->label_P1TxFields->Text = L"Broadcast Fields:";
  879. //
  880. // checkBox_P1Latency
  881. //
  882. this->checkBox_P1Latency->AutoSize = true;
  883. this->checkBox_P1Latency->Checked = true;
  884. this->checkBox_P1Latency->CheckState = System::Windows::Forms::CheckState::Checked;
  885. this->checkBox_P1Latency->Location = System::Drawing::Point(173, 73);
  886. this->checkBox_P1Latency->Name = L"checkBox_P1Latency";
  887. this->checkBox_P1Latency->Size = System::Drawing::Size(64, 17);
  888. this->checkBox_P1Latency->TabIndex = 33;
  889. this->checkBox_P1Latency->Text = L"Latency";
  890. this->checkBox_P1Latency->UseVisualStyleBackColor = true;
  891. this->checkBox_P1Latency->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P1Latency_CheckedChanged);
  892. //
  893. // checkBox_P1InstSpeed
  894. //
  895. this->checkBox_P1InstSpeed->AutoSize = true;
  896. this->checkBox_P1InstSpeed->Checked = true;
  897. this->checkBox_P1InstSpeed->CheckState = System::Windows::Forms::CheckState::Checked;
  898. this->checkBox_P1InstSpeed->Location = System::Drawing::Point(173, 91);
  899. this->checkBox_P1InstSpeed->Name = L"checkBox_P1InstSpeed";
  900. this->checkBox_P1InstSpeed->Size = System::Drawing::Size(127, 17);
  901. this->checkBox_P1InstSpeed->TabIndex = 34;
  902. this->checkBox_P1InstSpeed->Text = L"Instantaneous Speed";
  903. this->checkBox_P1InstSpeed->UseVisualStyleBackColor = true;
  904. this->checkBox_P1InstSpeed->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P1InstSpeed_CheckedChanged);
  905. //
  906. // checkBox_P1Distance
  907. //
  908. this->checkBox_P1Distance->AutoSize = true;
  909. this->checkBox_P1Distance->Checked = true;
  910. this->checkBox_P1Distance->CheckState = System::Windows::Forms::CheckState::Checked;
  911. this->checkBox_P1Distance->Location = System::Drawing::Point(102, 91);
  912. this->checkBox_P1Distance->Name = L"checkBox_P1Distance";
  913. this->checkBox_P1Distance->Size = System::Drawing::Size(68, 17);
  914. this->checkBox_P1Distance->TabIndex = 32;
  915. this->checkBox_P1Distance->Text = L"Distance";
  916. this->checkBox_P1Distance->UseVisualStyleBackColor = true;
  917. this->checkBox_P1Distance->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P1Distance_CheckedChanged);
  918. //
  919. // checkBox_P1Time
  920. //
  921. this->checkBox_P1Time->AutoSize = true;
  922. this->checkBox_P1Time->Checked = true;
  923. this->checkBox_P1Time->CheckState = System::Windows::Forms::CheckState::Checked;
  924. this->checkBox_P1Time->Location = System::Drawing::Point(102, 73);
  925. this->checkBox_P1Time->Name = L"checkBox_P1Time";
  926. this->checkBox_P1Time->Size = System::Drawing::Size(49, 17);
  927. this->checkBox_P1Time->TabIndex = 31;
  928. this->checkBox_P1Time->Text = L"Time";
  929. this->checkBox_P1Time->UseVisualStyleBackColor = true;
  930. this->checkBox_P1Time->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P1Time_CheckedChanged);
  931. //
  932. // label_P1StrideCount
  933. //
  934. this->label_P1StrideCount->AutoSize = true;
  935. this->label_P1StrideCount->Location = System::Drawing::Point(31, 45);
  936. this->label_P1StrideCount->Name = L"label_P1StrideCount";
  937. this->label_P1StrideCount->Size = System::Drawing::Size(68, 13);
  938. this->label_P1StrideCount->TabIndex = 22;
  939. this->label_P1StrideCount->Text = L"Stride Count:";
  940. //
  941. // label_P1TotalDistance
  942. //
  943. this->label_P1TotalDistance->AutoSize = true;
  944. this->label_P1TotalDistance->Location = System::Drawing::Point(3, 23);
  945. this->label_P1TotalDistance->Name = L"label_P1TotalDistance";
  946. this->label_P1TotalDistance->Size = System::Drawing::Size(96, 13);
  947. this->label_P1TotalDistance->TabIndex = 21;
  948. this->label_P1TotalDistance->Text = L"Total Distance (m):";
  949. //
  950. // label_P1TotDistDisplay
  951. //
  952. this->label_P1TotDistDisplay->Location = System::Drawing::Point(101, 23);
  953. this->label_P1TotDistDisplay->Name = L"label_P1TotDistDisplay";
  954. this->label_P1TotDistDisplay->Size = System::Drawing::Size(57, 13);
  955. this->label_P1TotDistDisplay->TabIndex = 24;
  956. this->label_P1TotDistDisplay->Text = L"0";
  957. //
  958. // button_UpdateDistance
  959. //
  960. this->button_UpdateDistance->Location = System::Drawing::Point(195, 19);
  961. this->button_UpdateDistance->Name = L"button_UpdateDistance";
  962. this->button_UpdateDistance->Size = System::Drawing::Size(97, 20);
  963. this->button_UpdateDistance->TabIndex = 30;
  964. this->button_UpdateDistance->Text = L"Update Distance";
  965. this->button_UpdateDistance->UseVisualStyleBackColor = true;
  966. this->button_UpdateDistance->Click += gcnew System::EventHandler(this, &SDMSensor::button_UpdateDistance_Click);
  967. //
  968. // label_P1UpdateError
  969. //
  970. this->label_P1UpdateError->AutoSize = true;
  971. this->label_P1UpdateError->Location = System::Drawing::Point(298, 26);
  972. this->label_P1UpdateError->Name = L"label_P1UpdateError";
  973. this->label_P1UpdateError->Size = System::Drawing::Size(32, 13);
  974. this->label_P1UpdateError->TabIndex = 28;
  975. this->label_P1UpdateError->Text = L"Error:";
  976. this->label_P1UpdateError->Visible = false;
  977. //
  978. // textBox_P1StrideCountChange
  979. //
  980. this->textBox_P1StrideCountChange->Location = System::Drawing::Point(160, 42);
  981. this->textBox_P1StrideCountChange->MaxLength = 3;
  982. this->textBox_P1StrideCountChange->Name = L"textBox_P1StrideCountChange";
  983. this->textBox_P1StrideCountChange->Size = System::Drawing::Size(29, 20);
  984. this->textBox_P1StrideCountChange->TabIndex = 29;
  985. this->textBox_P1StrideCountChange->Text = L"0";
  986. //
  987. // label_P1StrideCountDisplay
  988. //
  989. this->label_P1StrideCountDisplay->Location = System::Drawing::Point(101, 45);
  990. this->label_P1StrideCountDisplay->Name = L"label_P1StrideCountDisplay";
  991. this->label_P1StrideCountDisplay->Size = System::Drawing::Size(54, 13);
  992. this->label_P1StrideCountDisplay->TabIndex = 26;
  993. this->label_P1StrideCountDisplay->Text = L"0";
  994. //
  995. // textBox_P1TotDistChange
  996. //
  997. this->textBox_P1TotDistChange->Location = System::Drawing::Point(160, 19);
  998. this->textBox_P1TotDistChange->MaxLength = 3;
  999. this->textBox_P1TotDistChange->Name = L"textBox_P1TotDistChange";
  1000. this->textBox_P1TotDistChange->Size = System::Drawing::Size(29, 20);
  1001. this->textBox_P1TotDistChange->TabIndex = 28;
  1002. this->textBox_P1TotDistChange->Text = L"0";
  1003. //
  1004. // label_P1IntReminder
  1005. //
  1006. this->label_P1IntReminder->AutoSize = true;
  1007. this->label_P1IntReminder->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Italic,
  1008. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1009. this->label_P1IntReminder->Location = System::Drawing::Point(139, 3);
  1010. this->label_P1IntReminder->Name = L"label_P1IntReminder";
  1011. this->label_P1IntReminder->Size = System::Drawing::Size(98, 13);
  1012. this->label_P1IntReminder->TabIndex = 29;
  1013. this->label_P1IntReminder->Text = L"Note: Integers Only";
  1014. //
  1015. // tabPage_Page2Settings
  1016. //
  1017. this->tabPage_Page2Settings->Controls->Add(this->label_P2TxFields);
  1018. this->tabPage_Page2Settings->Controls->Add(this->label_P2StatusFlags);
  1019. this->tabPage_Page2Settings->Controls->Add(this->checkBox_P2Cadence);
  1020. this->tabPage_Page2Settings->Controls->Add(this->label_P2Use);
  1021. this->tabPage_Page2Settings->Controls->Add(this->label_P2Health);
  1022. this->tabPage_Page2Settings->Controls->Add(this->checkBox_P2InstSpeed);
  1023. this->tabPage_Page2Settings->Controls->Add(this->label_P2Battery);
  1024. this->tabPage_Page2Settings->Controls->Add(this->label_P2Location);
  1025. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Use);
  1026. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Health);
  1027. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Battery);
  1028. this->tabPage_Page2Settings->Controls->Add(this->listBox_P2Location);
  1029. this->tabPage_Page2Settings->Location = System::Drawing::Point(4, 22);
  1030. this->tabPage_Page2Settings->Name = L"tabPage_Page2Settings";
  1031. this->tabPage_Page2Settings->Size = System::Drawing::Size(389, 111);
  1032. this->tabPage_Page2Settings->TabIndex = 3;
  1033. this->tabPage_Page2Settings->Text = L"Page 2";
  1034. this->tabPage_Page2Settings->UseVisualStyleBackColor = true;
  1035. //
  1036. // label_P2TxFields
  1037. //
  1038. this->label_P2TxFields->AutoSize = true;
  1039. this->label_P2TxFields->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1040. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1041. this->label_P2TxFields->Location = System::Drawing::Point(158, 83);
  1042. this->label_P2TxFields->Name = L"label_P2TxFields";
  1043. this->label_P2TxFields->Size = System::Drawing::Size(88, 13);
  1044. this->label_P2TxFields->TabIndex = 37;
  1045. this->label_P2TxFields->Text = L"Broadcast Fields:";
  1046. //
  1047. // label_P2StatusFlags
  1048. //
  1049. this->label_P2StatusFlags->AutoSize = true;
  1050. this->label_P2StatusFlags->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1051. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1052. this->label_P2StatusFlags->Location = System::Drawing::Point(10, 6);
  1053. this->label_P2StatusFlags->Name = L"label_P2StatusFlags";
  1054. this->label_P2StatusFlags->Size = System::Drawing::Size(68, 13);
  1055. this->label_P2StatusFlags->TabIndex = 8;
  1056. this->label_P2StatusFlags->Text = L"Status Flags:";
  1057. //
  1058. // checkBox_P2Cadence
  1059. //
  1060. this->checkBox_P2Cadence->AutoSize = true;
  1061. this->checkBox_P2Cadence->Checked = true;
  1062. this->checkBox_P2Cadence->CheckState = System::Windows::Forms::CheckState::Checked;
  1063. this->checkBox_P2Cadence->Location = System::Drawing::Point(252, 74);
  1064. this->checkBox_P2Cadence->Name = L"checkBox_P2Cadence";
  1065. this->checkBox_P2Cadence->Size = System::Drawing::Size(69, 17);
  1066. this->checkBox_P2Cadence->TabIndex = 39;
  1067. this->checkBox_P2Cadence->Text = L"Cadence";
  1068. this->checkBox_P2Cadence->UseVisualStyleBackColor = true;
  1069. this->checkBox_P2Cadence->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P2Cadence_CheckedChanged);
  1070. //
  1071. // label_P2Use
  1072. //
  1073. this->label_P2Use->AutoSize = true;
  1074. this->label_P2Use->Location = System::Drawing::Point(311, 6);
  1075. this->label_P2Use->Name = L"label_P2Use";
  1076. this->label_P2Use->Size = System::Drawing::Size(54, 13);
  1077. this->label_P2Use->TabIndex = 7;
  1078. this->label_P2Use->Text = L"Use State";
  1079. //
  1080. // label_P2Health
  1081. //
  1082. this->label_P2Health->AutoSize = true;
  1083. this->label_P2Health->Location = System::Drawing::Point(213, 6);
  1084. this->label_P2Health->Name = L"label_P2Health";
  1085. this->label_P2Health->Size = System::Drawing::Size(65, 13);
  1086. this->label_P2Health->TabIndex = 6;
  1087. this->label_P2Health->Text = L"SDM Health";
  1088. //
  1089. // checkBox_P2InstSpeed
  1090. //
  1091. this->checkBox_P2InstSpeed->AutoSize = true;
  1092. this->checkBox_P2InstSpeed->Checked = true;
  1093. this->checkBox_P2InstSpeed->CheckState = System::Windows::Forms::CheckState::Checked;
  1094. this->checkBox_P2InstSpeed->Location = System::Drawing::Point(252, 91);
  1095. this->checkBox_P2InstSpeed->Name = L"checkBox_P2InstSpeed";
  1096. this->checkBox_P2InstSpeed->Size = System::Drawing::Size(127, 17);
  1097. this->checkBox_P2InstSpeed->TabIndex = 40;
  1098. this->checkBox_P2InstSpeed->Text = L"Instantaneous Speed";
  1099. this->checkBox_P2InstSpeed->UseVisualStyleBackColor = true;
  1100. this->checkBox_P2InstSpeed->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P2InstSpeed_CheckedChanged);
  1101. //
  1102. // label_P2Battery
  1103. //
  1104. this->label_P2Battery->AutoSize = true;
  1105. this->label_P2Battery->Location = System::Drawing::Point(111, 6);
  1106. this->label_P2Battery->Name = L"label_P2Battery";
  1107. this->label_P2Battery->Size = System::Drawing::Size(73, 13);
  1108. this->label_P2Battery->TabIndex = 5;
  1109. this->label_P2Battery->Text = L"Battery Status";
  1110. //
  1111. // label_P2Location
  1112. //
  1113. this->label_P2Location->AutoSize = true;
  1114. this->label_P2Location->Location = System::Drawing::Point(12, 23);
  1115. this->label_P2Location->Name = L"label_P2Location";
  1116. this->label_P2Location->Size = System::Drawing::Size(75, 13);
  1117. this->label_P2Location->TabIndex = 4;
  1118. this->label_P2Location->Text = L"SDM Location";
  1119. //
  1120. // listBox_P2Use
  1121. //
  1122. this->listBox_P2Use->FormattingEnabled = true;
  1123. this->listBox_P2Use->Items->AddRange(gcnew cli::array< System::Object^ >(2) {L"00 - Inactive", L"01 - Active"});
  1124. this->listBox_P2Use->Location = System::Drawing::Point(304, 23);
  1125. this->listBox_P2Use->Name = L"listBox_P2Use";
  1126. this->listBox_P2Use->Size = System::Drawing::Size(75, 30);
  1127. this->listBox_P2Use->TabIndex = 38;
  1128. this->listBox_P2Use->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P2Use_SelectedIndexChanged);
  1129. //
  1130. // listBox_P2Health
  1131. //
  1132. this->listBox_P2Health->FormattingEnabled = true;
  1133. this->listBox_P2Health->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"00 - OK", L"01 - Error", L"10 - Warning"});
  1134. this->listBox_P2Health->Location = System::Drawing::Point(210, 23);
  1135. this->listBox_P2Health->Name = L"listBox_P2Health";
  1136. this->listBox_P2Health->Size = System::Drawing::Size(75, 43);
  1137. this->listBox_P2Health->TabIndex = 37;
  1138. this->listBox_P2Health->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P2Health_SelectedIndexChanged);
  1139. //
  1140. // listBox_P2Battery
  1141. //
  1142. this->listBox_P2Battery->FormattingEnabled = true;
  1143. this->listBox_P2Battery->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"00 - OK New", L"01 - OK Good", L"10 - OK",
  1144. L"11 - Low"});
  1145. this->listBox_P2Battery->Location = System::Drawing::Point(111, 23);
  1146. this->listBox_P2Battery->Name = L"listBox_P2Battery";
  1147. this->listBox_P2Battery->Size = System::Drawing::Size(75, 56);
  1148. this->listBox_P2Battery->TabIndex = 36;
  1149. this->listBox_P2Battery->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P2Battery_SelectedIndexChanged);
  1150. //
  1151. // listBox_P2Location
  1152. //
  1153. this->listBox_P2Location->FormattingEnabled = true;
  1154. this->listBox_P2Location->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"00 - Laces", L"01 - Midsole", L"10 - Chest",
  1155. L"11 - Other"});
  1156. this->listBox_P2Location->Location = System::Drawing::Point(13, 40);
  1157. this->listBox_P2Location->Name = L"listBox_P2Location";
  1158. this->listBox_P2Location->Size = System::Drawing::Size(75, 56);
  1159. this->listBox_P2Location->TabIndex = 35;
  1160. this->listBox_P2Location->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P2Location_SelectedIndexChanged);
  1161. //
  1162. // tabPage_Page3Settings
  1163. //
  1164. this->tabPage_Page3Settings->Controls->Add(this->groupBox_P3Calories);
  1165. this->tabPage_Page3Settings->Controls->Add(this->label_P3TxFields);
  1166. this->tabPage_Page3Settings->Controls->Add(this->label_P3StatusFlags);
  1167. this->tabPage_Page3Settings->Controls->Add(this->checkBox_P3Cadence);
  1168. this->tabPage_Page3Settings->Controls->Add(this->label_P3Use);
  1169. this->tabPage_Page3Settings->Controls->Add(this->label_P3Health);
  1170. this->tabPage_Page3Settings->Controls->Add(this->checkBox_P3InstSpeed);
  1171. this->tabPage_Page3Settings->Controls->Add(this->label_P3Battery);
  1172. this->tabPage_Page3Settings->Controls->Add(this->label_P3Location);
  1173. this->tabPage_Page3Settings->Controls->Add(this->listBox_P3Use);
  1174. this->tabPage_Page3Settings->Controls->Add(this->listBox_P3Health);
  1175. this->tabPage_Page3Settings->Controls->Add(this->listBox_P3Battery);
  1176. this->tabPage_Page3Settings->Controls->Add(this->listBox_P3Location);
  1177. this->tabPage_Page3Settings->Location = System::Drawing::Point(4, 22);
  1178. this->tabPage_Page3Settings->Name = L"tabPage_Page3Settings";
  1179. this->tabPage_Page3Settings->Padding = System::Windows::Forms::Padding(3);
  1180. this->tabPage_Page3Settings->Size = System::Drawing::Size(389, 111);
  1181. this->tabPage_Page3Settings->TabIndex = 4;
  1182. this->tabPage_Page3Settings->Text = L"Page 3";
  1183. this->tabPage_Page3Settings->UseVisualStyleBackColor = true;
  1184. //
  1185. // groupBox_P3Calories
  1186. //
  1187. this->groupBox_P3Calories->Controls->Add(this->textBox_P3Calories);
  1188. this->groupBox_P3Calories->Controls->Add(this->button_P3UpdateCalories);
  1189. this->groupBox_P3Calories->Controls->Add(this->label_P3CalDisplay);
  1190. this->groupBox_P3Calories->Controls->Add(this->label_P3CalUnits);
  1191. this->groupBox_P3Calories->ForeColor = System::Drawing::SystemColors::WindowText;
  1192. this->groupBox_P3Calories->Location = System::Drawing::Point(289, 55);
  1193. this->groupBox_P3Calories->Name = L"groupBox_P3Calories";
  1194. this->groupBox_P3Calories->Size = System::Drawing::Size(94, 53);
  1195. this->groupBox_P3Calories->TabIndex = 54;
  1196. this->groupBox_P3Calories->TabStop = false;
  1197. this->groupBox_P3Calories->Text = L"Total Calories";
  1198. //
  1199. // textBox_P3Calories
  1200. //
  1201. this->textBox_P3Calories->Enabled = false;
  1202. this->textBox_P3Calories->Location = System::Drawing::Point(6, 29);
  1203. this->textBox_P3Calories->MaxLength = 3;
  1204. this->textBox_P3Calories->Name = L"textBox_P3Calories";
  1205. this->textBox_P3Calories->Size = System::Drawing::Size(29, 20);
  1206. this->textBox_P3Calories->TabIndex = 4;
  1207. //
  1208. // button_P3UpdateCalories
  1209. //
  1210. this->button_P3UpdateCalories->Enabled = false;
  1211. this->button_P3UpdateCalories->Location = System::Drawing::Point(40, 29);
  1212. this->button_P3UpdateCalories->Name = L"button_P3UpdateCalories";
  1213. this->button_P3UpdateCalories->Size = System::Drawing::Size(50, 20);
  1214. this->button_P3UpdateCalories->TabIndex = 3;
  1215. this->button_P3UpdateCalories->Text = L"Update";
  1216. this->button_P3UpdateCalories->UseVisualStyleBackColor = true;
  1217. this->button_P3UpdateCalories->Click += gcnew System::EventHandler(this, &SDMSensor::button_P3UpdateCalories_Click);
  1218. //
  1219. // label_P3CalDisplay
  1220. //
  1221. this->label_P3CalDisplay->AutoSize = true;
  1222. this->label_P3CalDisplay->Location = System::Drawing::Point(10, 14);
  1223. this->label_P3CalDisplay->Name = L"label_P3CalDisplay";
  1224. this->label_P3CalDisplay->Size = System::Drawing::Size(13, 13);
  1225. this->label_P3CalDisplay->TabIndex = 2;
  1226. this->label_P3CalDisplay->Text = L"0";
  1227. //
  1228. // label_P3CalUnits
  1229. //
  1230. this->label_P3CalUnits->AutoSize = true;
  1231. this->label_P3CalUnits->Location = System::Drawing::Point(52, 14);
  1232. this->label_P3CalUnits->Name = L"label_P3CalUnits";
  1233. this->label_P3CalUnits->Size = System::Drawing::Size(33, 13);
  1234. this->label_P3CalUnits->TabIndex = 1;
  1235. this->label_P3CalUnits->Text = L"(kcal)";
  1236. //
  1237. // label_P3TxFields
  1238. //
  1239. this->label_P3TxFields->AutoSize = true;
  1240. this->label_P3TxFields->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1241. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1242. this->label_P3TxFields->Location = System::Drawing::Point(98, 81);
  1243. this->label_P3TxFields->Name = L"label_P3TxFields";
  1244. this->label_P3TxFields->Size = System::Drawing::Size(88, 13);
  1245. this->label_P3TxFields->TabIndex = 49;
  1246. this->label_P3TxFields->Text = L"Broadcast Fields:";
  1247. //
  1248. // label_P3StatusFlags
  1249. //
  1250. this->label_P3StatusFlags->AutoSize = true;
  1251. this->label_P3StatusFlags->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1252. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1253. this->label_P3StatusFlags->Location = System::Drawing::Point(10, 4);
  1254. this->label_P3StatusFlags->Name = L"label_P3StatusFlags";
  1255. this->label_P3StatusFlags->Size = System::Drawing::Size(68, 13);
  1256. this->label_P3StatusFlags->TabIndex = 45;
  1257. this->label_P3StatusFlags->Text = L"Status Flags:";
  1258. //
  1259. // checkBox_P3Cadence
  1260. //
  1261. this->checkBox_P3Cadence->AutoSize = true;
  1262. this->checkBox_P3Cadence->Checked = true;
  1263. this->checkBox_P3Cadence->CheckState = System::Windows::Forms::CheckState::Checked;
  1264. this->checkBox_P3Cadence->Enabled = false;
  1265. this->checkBox_P3Cadence->Location = System::Drawing::Point(192, 70);
  1266. this->checkBox_P3Cadence->Name = L"checkBox_P3Cadence";
  1267. this->checkBox_P3Cadence->Size = System::Drawing::Size(69, 17);
  1268. this->checkBox_P3Cadence->TabIndex = 51;
  1269. this->checkBox_P3Cadence->Text = L"Cadence";
  1270. this->checkBox_P3Cadence->UseVisualStyleBackColor = true;
  1271. this->checkBox_P3Cadence->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P3Cadence_CheckedChanged);
  1272. //
  1273. // label_P3Use
  1274. //
  1275. this->label_P3Use->AutoSize = true;
  1276. this->label_P3Use->Location = System::Drawing::Point(311, 4);
  1277. this->label_P3Use->Name = L"label_P3Use";
  1278. this->label_P3Use->Size = System::Drawing::Size(54, 13);
  1279. this->label_P3Use->TabIndex = 44;
  1280. this->label_P3Use->Text = L"Use State";
  1281. //
  1282. // label_P3Health
  1283. //
  1284. this->label_P3Health->AutoSize = true;
  1285. this->label_P3Health->Location = System::Drawing::Point(213, 4);
  1286. this->label_P3Health->Name = L"label_P3Health";
  1287. this->label_P3Health->Size = System::Drawing::Size(65, 13);
  1288. this->label_P3Health->TabIndex = 43;
  1289. this->label_P3Health->Text = L"SDM Health";
  1290. //
  1291. // checkBox_P3InstSpeed
  1292. //
  1293. this->checkBox_P3InstSpeed->AutoSize = true;
  1294. this->checkBox_P3InstSpeed->Checked = true;
  1295. this->checkBox_P3InstSpeed->CheckState = System::Windows::Forms::CheckState::Checked;
  1296. this->checkBox_P3InstSpeed->Enabled = false;
  1297. this->checkBox_P3InstSpeed->Location = System::Drawing::Point(192, 87);
  1298. this->checkBox_P3InstSpeed->Name = L"checkBox_P3InstSpeed";
  1299. this->checkBox_P3InstSpeed->Size = System::Drawing::Size(95, 17);
  1300. this->checkBox_P3InstSpeed->TabIndex = 52;
  1301. this->checkBox_P3InstSpeed->Text = L"Instant. Speed";
  1302. this->checkBox_P3InstSpeed->UseVisualStyleBackColor = true;
  1303. this->checkBox_P3InstSpeed->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P3InstSpeed_CheckedChanged);
  1304. //
  1305. // label_P3Battery
  1306. //
  1307. this->label_P3Battery->AutoSize = true;
  1308. this->label_P3Battery->Location = System::Drawing::Point(111, 4);
  1309. this->label_P3Battery->Name = L"label_P3Battery";
  1310. this->label_P3Battery->Size = System::Drawing::Size(73, 13);
  1311. this->label_P3Battery->TabIndex = 42;
  1312. this->label_P3Battery->Text = L"Battery Status";
  1313. //
  1314. // label_P3Location
  1315. //
  1316. this->label_P3Location->AutoSize = true;
  1317. this->label_P3Location->Location = System::Drawing::Point(12, 21);
  1318. this->label_P3Location->Name = L"label_P3Location";
  1319. this->label_P3Location->Size = System::Drawing::Size(75, 13);
  1320. this->label_P3Location->TabIndex = 41;
  1321. this->label_P3Location->Text = L"SDM Location";
  1322. //
  1323. // listBox_P3Use
  1324. //
  1325. this->listBox_P3Use->Enabled = false;
  1326. this->listBox_P3Use->FormattingEnabled = true;
  1327. this->listBox_P3Use->Items->AddRange(gcnew cli::array< System::Object^ >(2) {L"00 - Inactive", L"01 - Active"});
  1328. this->listBox_P3Use->Location = System::Drawing::Point(304, 21);
  1329. this->listBox_P3Use->Name = L"listBox_P3Use";
  1330. this->listBox_P3Use->Size = System::Drawing::Size(75, 30);
  1331. this->listBox_P3Use->TabIndex = 50;
  1332. this->listBox_P3Use->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P3Use_SelectedIndexChanged);
  1333. //
  1334. // listBox_P3Health
  1335. //
  1336. this->listBox_P3Health->Enabled = false;
  1337. this->listBox_P3Health->FormattingEnabled = true;
  1338. this->listBox_P3Health->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"00 - OK", L"01 - Error", L"10 - Warning"});
  1339. this->listBox_P3Health->Location = System::Drawing::Point(210, 21);
  1340. this->listBox_P3Health->Name = L"listBox_P3Health";
  1341. this->listBox_P3Health->Size = System::Drawing::Size(75, 43);
  1342. this->listBox_P3Health->TabIndex = 48;
  1343. this->listBox_P3Health->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P3Health_SelectedIndexChanged);
  1344. //
  1345. // listBox_P3Battery
  1346. //
  1347. this->listBox_P3Battery->Enabled = false;
  1348. this->listBox_P3Battery->FormattingEnabled = true;
  1349. this->listBox_P3Battery->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"00 - OK New", L"01 - OK Good", L"10 - OK",
  1350. L"11 - Low"});
  1351. this->listBox_P3Battery->Location = System::Drawing::Point(111, 21);
  1352. this->listBox_P3Battery->Name = L"listBox_P3Battery";
  1353. this->listBox_P3Battery->Size = System::Drawing::Size(75, 56);
  1354. this->listBox_P3Battery->TabIndex = 47;
  1355. this->listBox_P3Battery->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P3Battery_SelectedIndexChanged);
  1356. //
  1357. // listBox_P3Location
  1358. //
  1359. this->listBox_P3Location->Enabled = false;
  1360. this->listBox_P3Location->FormattingEnabled = true;
  1361. this->listBox_P3Location->Items->AddRange(gcnew cli::array< System::Object^ >(4) {L"00 - Laces", L"01 - Midsole", L"10 - Chest",
  1362. L"11 - Other"});
  1363. this->listBox_P3Location->Location = System::Drawing::Point(13, 38);
  1364. this->listBox_P3Location->Name = L"listBox_P3Location";
  1365. this->listBox_P3Location->Size = System::Drawing::Size(75, 56);
  1366. this->listBox_P3Location->TabIndex = 46;
  1367. this->listBox_P3Location->SelectedIndexChanged += gcnew System::EventHandler(this, &SDMSensor::listBox_P3Location_SelectedIndexChanged);
  1368. //
  1369. // tabPage1
  1370. //
  1371. this->tabPage1->Controls->Add(this->label_P16UpdateError);
  1372. this->tabPage1->Controls->Add(this->label_P16_UnitsDist);
  1373. this->tabPage1->Controls->Add(this->checkBox_P16Enabled);
  1374. this->tabPage1->Controls->Add(this->button_P16UpdateDistance);
  1375. this->tabPage1->Controls->Add(this->label_P16Distance);
  1376. this->tabPage1->Controls->Add(this->label_P16Strides);
  1377. this->tabPage1->Controls->Add(this->label_P16StridesDisplay);
  1378. this->tabPage1->Controls->Add(this->button_P16UpdateStrides);
  1379. this->tabPage1->Controls->Add(this->textBox_P16DistDisplayChange);
  1380. this->tabPage1->Controls->Add(this->label_P16DistanceDisplay);
  1381. this->tabPage1->Controls->Add(this->textBox_P16StridesDisplayChange);
  1382. this->tabPage1->Controls->Add(this->label_P16Title);
  1383. this->tabPage1->Location = System::Drawing::Point(4, 22);
  1384. this->tabPage1->Name = L"tabPage1";
  1385. this->tabPage1->Padding = System::Windows::Forms::Padding(3);
  1386. this->tabPage1->Size = System::Drawing::Size(389, 111);
  1387. this->tabPage1->TabIndex = 5;
  1388. this->tabPage1->Text = L"Page 16";
  1389. this->tabPage1->UseVisualStyleBackColor = true;
  1390. //
  1391. // label_P16UpdateError
  1392. //
  1393. this->label_P16UpdateError->AutoSize = true;
  1394. this->label_P16UpdateError->Location = System::Drawing::Point(207, 85);
  1395. this->label_P16UpdateError->Name = L"label_P16UpdateError";
  1396. this->label_P16UpdateError->Size = System::Drawing::Size(32, 13);
  1397. this->label_P16UpdateError->TabIndex = 48;
  1398. this->label_P16UpdateError->Text = L"Error:";
  1399. this->label_P16UpdateError->Visible = false;
  1400. //
  1401. // label_P16_UnitsDist
  1402. //
  1403. this->label_P16_UnitsDist->AutoSize = true;
  1404. this->label_P16_UnitsDist->Location = System::Drawing::Point(54, 78);
  1405. this->label_P16_UnitsDist->Name = L"label_P16_UnitsDist";
  1406. this->label_P16_UnitsDist->Size = System::Drawing::Size(53, 13);
  1407. this->label_P16_UnitsDist->TabIndex = 47;
  1408. this->label_P16_UnitsDist->Text = L"(1/256 m)";
  1409. //
  1410. // checkBox_P16Enabled
  1411. //
  1412. this->checkBox_P16Enabled->AutoSize = true;
  1413. this->checkBox_P16Enabled->Checked = true;
  1414. this->checkBox_P16Enabled->CheckState = System::Windows::Forms::CheckState::Checked;
  1415. this->checkBox_P16Enabled->Location = System::Drawing::Point(247, 7);
  1416. this->checkBox_P16Enabled->Name = L"checkBox_P16Enabled";
  1417. this->checkBox_P16Enabled->Size = System::Drawing::Size(65, 17);
  1418. this->checkBox_P16Enabled->TabIndex = 46;
  1419. this->checkBox_P16Enabled->Text = L"Enabled";
  1420. this->checkBox_P16Enabled->UseVisualStyleBackColor = true;
  1421. this->checkBox_P16Enabled->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P16Enabled_CheckedChanged);
  1422. //
  1423. // button_P16UpdateDistance
  1424. //
  1425. this->button_P16UpdateDistance->Location = System::Drawing::Point(286, 60);
  1426. this->button_P16UpdateDistance->Name = L"button_P16UpdateDistance";
  1427. this->button_P16UpdateDistance->Size = System::Drawing::Size(97, 20);
  1428. this->button_P16UpdateDistance->TabIndex = 45;
  1429. this->button_P16UpdateDistance->Text = L"Update Distance";
  1430. this->button_P16UpdateDistance->UseVisualStyleBackColor = true;
  1431. this->button_P16UpdateDistance->Click += gcnew System::EventHandler(this, &SDMSensor::button_P16UpdateDistance_Click);
  1432. //
  1433. // label_P16Distance
  1434. //
  1435. this->label_P16Distance->AutoSize = true;
  1436. this->label_P16Distance->Location = System::Drawing::Point(19, 65);
  1437. this->label_P16Distance->Name = L"label_P16Distance";
  1438. this->label_P16Distance->Size = System::Drawing::Size(117, 13);
  1439. this->label_P16Distance->TabIndex = 37;
  1440. this->label_P16Distance->Text = L"Accumulated Distance:";
  1441. //
  1442. // label_P16Strides
  1443. //
  1444. this->label_P16Strides->AutoSize = true;
  1445. this->label_P16Strides->Location = System::Drawing::Point(29, 43);
  1446. this->label_P16Strides->Name = L"label_P16Strides";
  1447. this->label_P16Strides->Size = System::Drawing::Size(107, 13);
  1448. this->label_P16Strides->TabIndex = 36;
  1449. this->label_P16Strides->Text = L"Accumulated Strides:";
  1450. //
  1451. // label_P16StridesDisplay
  1452. //
  1453. this->label_P16StridesDisplay->Location = System::Drawing::Point(140, 43);
  1454. this->label_P16StridesDisplay->Name = L"label_P16StridesDisplay";
  1455. this->label_P16StridesDisplay->Size = System::Drawing::Size(70, 13);
  1456. this->label_P16StridesDisplay->TabIndex = 38;
  1457. this->label_P16StridesDisplay->Text = L"0";
  1458. //
  1459. // button_P16UpdateStrides
  1460. //
  1461. this->button_P16UpdateStrides->Location = System::Drawing::Point(286, 38);
  1462. this->button_P16UpdateStrides->Name = L"button_P16UpdateStrides";
  1463. this->button_P16UpdateStrides->Size = System::Drawing::Size(97, 20);
  1464. this->button_P16UpdateStrides->TabIndex = 44;
  1465. this->button_P16UpdateStrides->Text = L"Update Strides";
  1466. this->button_P16UpdateStrides->UseVisualStyleBackColor = true;
  1467. this->button_P16UpdateStrides->Click += gcnew System::EventHandler(this, &SDMSensor::button_P16UpdateStrides_Click);
  1468. //
  1469. // textBox_P16DistDisplayChange
  1470. //
  1471. this->textBox_P16DistDisplayChange->Location = System::Drawing::Point(210, 62);
  1472. this->textBox_P16DistDisplayChange->MaxLength = 10;
  1473. this->textBox_P16DistDisplayChange->Name = L"textBox_P16DistDisplayChange";
  1474. this->textBox_P16DistDisplayChange->Size = System::Drawing::Size(70, 20);
  1475. this->textBox_P16DistDisplayChange->TabIndex = 43;
  1476. this->textBox_P16DistDisplayChange->Text = L"0";
  1477. //
  1478. // label_P16DistanceDisplay
  1479. //
  1480. this->label_P16DistanceDisplay->Location = System::Drawing::Point(140, 65);
  1481. this->label_P16DistanceDisplay->Name = L"label_P16DistanceDisplay";
  1482. this->label_P16DistanceDisplay->Size = System::Drawing::Size(70, 13);
  1483. this->label_P16DistanceDisplay->TabIndex = 39;
  1484. this->label_P16DistanceDisplay->Text = L"0";
  1485. //
  1486. // textBox_P16StridesDisplayChange
  1487. //
  1488. this->textBox_P16StridesDisplayChange->Location = System::Drawing::Point(210, 39);
  1489. this->textBox_P16StridesDisplayChange->MaxLength = 8;
  1490. this->textBox_P16StridesDisplayChange->Name = L"textBox_P16StridesDisplayChange";
  1491. this->textBox_P16StridesDisplayChange->Size = System::Drawing::Size(70, 20);
  1492. this->textBox_P16StridesDisplayChange->TabIndex = 41;
  1493. this->textBox_P16StridesDisplayChange->Text = L"0";
  1494. //
  1495. // label_P16Title
  1496. //
  1497. this->label_P16Title->AutoSize = true;
  1498. this->label_P16Title->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  1499. static_cast<System::Byte>(0)));
  1500. this->label_P16Title->Location = System::Drawing::Point(6, 7);
  1501. this->label_P16Title->Name = L"label_P16Title";
  1502. this->label_P16Title->Size = System::Drawing::Size(235, 13);
  1503. this->label_P16Title->TabIndex = 1;
  1504. this->label_P16Title->Text = L"Request Page 16 - Distance and Strides";
  1505. //
  1506. // tabPage2
  1507. //
  1508. this->tabPage2->Controls->Add(this->checkBox_P22Ignore);
  1509. this->tabPage2->Controls->Add(this->groupBox_P22Supported);
  1510. this->tabPage2->Controls->Add(this->checkBox_P22Enabled);
  1511. this->tabPage2->Controls->Add(this->label_P22Title);
  1512. this->tabPage2->Location = System::Drawing::Point(4, 22);
  1513. this->tabPage2->Name = L"tabPage2";
  1514. this->tabPage2->Padding = System::Windows::Forms::Padding(3);
  1515. this->tabPage2->Size = System::Drawing::Size(389, 111);
  1516. this->tabPage2->TabIndex = 6;
  1517. this->tabPage2->Text = L"Page 22";
  1518. this->tabPage2->UseVisualStyleBackColor = true;
  1519. //
  1520. // checkBox_P22Ignore
  1521. //
  1522. this->checkBox_P22Ignore->AutoSize = true;
  1523. this->checkBox_P22Ignore->Location = System::Drawing::Point(9, 88);
  1524. this->checkBox_P22Ignore->Name = L"checkBox_P22Ignore";
  1525. this->checkBox_P22Ignore->Size = System::Drawing::Size(202, 17);
  1526. this->checkBox_P22Ignore->TabIndex = 12;
  1527. this->checkBox_P22Ignore->Text = L"Ignore Request if all Fields Supported";
  1528. this->checkBox_P22Ignore->UseVisualStyleBackColor = true;
  1529. this->checkBox_P22Ignore->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P22Ignore_CheckedChanged);
  1530. //
  1531. // groupBox_P22Supported
  1532. //
  1533. this->groupBox_P22Supported->Controls->Add(this->label_P22Time);
  1534. this->groupBox_P22Supported->Controls->Add(this->label_P22Calories);
  1535. this->groupBox_P22Supported->Controls->Add(this->label_P22Distance);
  1536. this->groupBox_P22Supported->Controls->Add(this->label_P22Cadence);
  1537. this->groupBox_P22Supported->Controls->Add(this->label_P22Speed);
  1538. this->groupBox_P22Supported->Controls->Add(this->label_P22Latency);
  1539. this->groupBox_P22Supported->ForeColor = System::Drawing::SystemColors::WindowText;
  1540. this->groupBox_P22Supported->Location = System::Drawing::Point(231, 23);
  1541. this->groupBox_P22Supported->Name = L"groupBox_P22Supported";
  1542. this->groupBox_P22Supported->Size = System::Drawing::Size(152, 82);
  1543. this->groupBox_P22Supported->TabIndex = 11;
  1544. this->groupBox_P22Supported->TabStop = false;
  1545. this->groupBox_P22Supported->Text = L"Supported Capabilities";
  1546. //
  1547. // label_P22Time
  1548. //
  1549. this->label_P22Time->AutoSize = true;
  1550. this->label_P22Time->Location = System::Drawing::Point(20, 23);
  1551. this->label_P22Time->Name = L"label_P22Time";
  1552. this->label_P22Time->Size = System::Drawing::Size(30, 13);
  1553. this->label_P22Time->TabIndex = 5;
  1554. this->label_P22Time->Text = L"Time";
  1555. //
  1556. // label_P22Calories
  1557. //
  1558. this->label_P22Calories->AutoSize = true;
  1559. this->label_P22Calories->Location = System::Drawing::Point(83, 57);
  1560. this->label_P22Calories->Name = L"label_P22Calories";
  1561. this->label_P22Calories->Size = System::Drawing::Size(44, 13);
  1562. this->label_P22Calories->TabIndex = 10;
  1563. this->label_P22Calories->Text = L"Calories";
  1564. //
  1565. // label_P22Distance
  1566. //
  1567. this->label_P22Distance->AutoSize = true;
  1568. this->label_P22Distance->Location = System::Drawing::Point(20, 40);
  1569. this->label_P22Distance->Name = L"label_P22Distance";
  1570. this->label_P22Distance->Size = System::Drawing::Size(49, 13);
  1571. this->label_P22Distance->TabIndex = 6;
  1572. this->label_P22Distance->Text = L"Distance";
  1573. //
  1574. // label_P22Cadence
  1575. //
  1576. this->label_P22Cadence->AutoSize = true;
  1577. this->label_P22Cadence->Location = System::Drawing::Point(82, 40);
  1578. this->label_P22Cadence->Name = L"label_P22Cadence";
  1579. this->label_P22Cadence->Size = System::Drawing::Size(50, 13);
  1580. this->label_P22Cadence->TabIndex = 9;
  1581. this->label_P22Cadence->Text = L"Cadence";
  1582. //
  1583. // label_P22Speed
  1584. //
  1585. this->label_P22Speed->AutoSize = true;
  1586. this->label_P22Speed->Location = System::Drawing::Point(20, 57);
  1587. this->label_P22Speed->Name = L"label_P22Speed";
  1588. this->label_P22Speed->Size = System::Drawing::Size(38, 13);
  1589. this->label_P22Speed->TabIndex = 7;
  1590. this->label_P22Speed->Text = L"Speed";
  1591. //
  1592. // label_P22Latency
  1593. //
  1594. this->label_P22Latency->AutoSize = true;
  1595. this->label_P22Latency->Location = System::Drawing::Point(82, 23);
  1596. this->label_P22Latency->Name = L"label_P22Latency";
  1597. this->label_P22Latency->Size = System::Drawing::Size(45, 13);
  1598. this->label_P22Latency->TabIndex = 8;
  1599. this->label_P22Latency->Text = L"Latency";
  1600. //
  1601. // checkBox_P22Enabled
  1602. //
  1603. this->checkBox_P22Enabled->AutoSize = true;
  1604. this->checkBox_P22Enabled->Checked = true;
  1605. this->checkBox_P22Enabled->CheckState = System::Windows::Forms::CheckState::Checked;
  1606. this->checkBox_P22Enabled->Location = System::Drawing::Point(194, 7);
  1607. this->checkBox_P22Enabled->Name = L"checkBox_P22Enabled";
  1608. this->checkBox_P22Enabled->Size = System::Drawing::Size(65, 17);
  1609. this->checkBox_P22Enabled->TabIndex = 4;
  1610. this->checkBox_P22Enabled->Text = L"Enabled";
  1611. this->checkBox_P22Enabled->UseVisualStyleBackColor = true;
  1612. this->checkBox_P22Enabled->CheckedChanged += gcnew System::EventHandler(this, &SDMSensor::checkBox_P22Enabled_CheckedChanged);
  1613. //
  1614. // label_P22Title
  1615. //
  1616. this->label_P22Title->AutoSize = true;
  1617. this->label_P22Title->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
  1618. static_cast<System::Byte>(0)));
  1619. this->label_P22Title->Location = System::Drawing::Point(6, 7);
  1620. this->label_P22Title->Name = L"label_P22Title";
  1621. this->label_P22Title->Size = System::Drawing::Size(182, 13);
  1622. this->label_P22Title->TabIndex = 2;
  1623. this->label_P22Title->Text = L"Request Page 22 - Capabilities";
  1624. //
  1625. // panel_Display
  1626. //
  1627. this->panel_Display->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
  1628. this->panel_Display->Controls->Add(this->label_TransCal);
  1629. this->panel_Display->Controls->Add(this->label_TransCalDisplay);
  1630. this->panel_Display->Controls->Add(this->label_TransDist);
  1631. this->panel_Display->Controls->Add(this->label_TransInstSpeed);
  1632. this->panel_Display->Controls->Add(this->label_TransCadence);
  1633. this->panel_Display->Controls->Add(this->label_Trn_Time);
  1634. this->panel_Display->Controls->Add(this->label_TransDistDisplay);
  1635. this->panel_Display->Controls->Add(this->label_TransInstSpeedDisplay);
  1636. this->panel_Display->Controls->Add(this->label_TransCadenceDisplay);
  1637. this->panel_Display->Controls->Add(this->label_TransDisplayTitle);
  1638. this->panel_Display->Controls->Add(this->label_Trn_TimeDisplay);
  1639. this->panel_Display->Controls->Add(this->label_TransLatency);
  1640. this->panel_Display->Controls->Add(this->label_TransLatencyDisplay);
  1641. this->panel_Display->Controls->Add(this->label_TransStrideCountDisplay);
  1642. this->panel_Display->Controls->Add(this->label_TransStrideCount);
  1643. this->panel_Display->Location = System::Drawing::Point(58, 188);
  1644. this->panel_Display->Name = L"panel_Display";
  1645. this->panel_Display->Size = System::Drawing::Size(200, 90);
  1646. this->panel_Display->TabIndex = 1;
  1647. //
  1648. // label_TransCal
  1649. //
  1650. this->label_TransCal->AutoSize = true;
  1651. this->label_TransCal->BackColor = System::Drawing::Color::Transparent;
  1652. this->label_TransCal->Location = System::Drawing::Point(-1, 71);
  1653. this->label_TransCal->Name = L"label_TransCal";
  1654. this->label_TransCal->Size = System::Drawing::Size(36, 13);
  1655. this->label_TransCal->TabIndex = 17;
  1656. this->label_TransCal->Text = L"(kcal):";
  1657. //
  1658. // label_TransCalDisplay
  1659. //
  1660. this->label_TransCalDisplay->AutoSize = true;
  1661. this->label_TransCalDisplay->BackColor = System::Drawing::Color::Transparent;
  1662. this->label_TransCalDisplay->Location = System::Drawing::Point(41, 71);
  1663. this->label_TransCalDisplay->Name = L"label_TransCalDisplay";
  1664. this->label_TransCalDisplay->Size = System::Drawing::Size(16, 13);
  1665. this->label_TransCalDisplay->TabIndex = 16;
  1666. this->label_TransCalDisplay->Text = L"---";
  1667. //
  1668. // label_TransDist
  1669. //
  1670. this->label_TransDist->AutoSize = true;
  1671. this->label_TransDist->BackColor = System::Drawing::SystemColors::Control;
  1672. this->label_TransDist->Location = System::Drawing::Point(68, 71);
  1673. this->label_TransDist->Name = L"label_TransDist";
  1674. this->label_TransDist->Size = System::Drawing::Size(69, 13);
  1675. this->label_TransDist->TabIndex = 5;
  1676. this->label_TransDist->Text = L"Distance (m):";
  1677. //
  1678. // label_TransInstSpeed
  1679. //
  1680. this->label_TransInstSpeed->AutoSize = true;
  1681. this->label_TransInstSpeed->BackColor = System::Drawing::SystemColors::Control;
  1682. this->label_TransInstSpeed->Location = System::Drawing::Point(-1, 58);
  1683. this->label_TransInstSpeed->Name = L"label_TransInstSpeed";
  1684. this->label_TransInstSpeed->Size = System::Drawing::Size(138, 13);
  1685. this->label_TransInstSpeed->TabIndex = 1;
  1686. this->label_TransInstSpeed->Text = L"Instantaneous Speed (m/s):";
  1687. //
  1688. // label_TransCadence
  1689. //
  1690. this->label_TransCadence->AutoSize = true;
  1691. this->label_TransCadence->BackColor = System::Drawing::SystemColors::Control;
  1692. this->label_TransCadence->Location = System::Drawing::Point(24, 45);
  1693. this->label_TransCadence->Name = L"label_TransCadence";
  1694. this->label_TransCadence->Size = System::Drawing::Size(113, 13);
  1695. this->label_TransCadence->TabIndex = 9;
  1696. this->label_TransCadence->Text = L"Cadence (strides/min):";
  1697. //
  1698. // label_Trn_Time
  1699. //
  1700. this->label_Trn_Time->AutoSize = true;
  1701. this->label_Trn_Time->Location = System::Drawing::Point(90, 32);
  1702. this->label_Trn_Time->Name = L"label_Trn_Time";
  1703. this->label_Trn_Time->Size = System::Drawing::Size(47, 13);
  1704. this->label_Trn_Time->TabIndex = 11;
  1705. this->label_Trn_Time->Text = L"Time (s):";
  1706. //
  1707. // label_TransDistDisplay
  1708. //
  1709. this->label_TransDistDisplay->AutoSize = true;
  1710. this->label_TransDistDisplay->BackColor = System::Drawing::SystemColors::Control;
  1711. this->label_TransDistDisplay->Location = System::Drawing::Point(143, 71);
  1712. this->label_TransDistDisplay->Name = L"label_TransDistDisplay";
  1713. this->label_TransDistDisplay->Size = System::Drawing::Size(16, 13);
  1714. this->label_TransDistDisplay->TabIndex = 6;
  1715. this->label_TransDistDisplay->Text = L"---";
  1716. //
  1717. // label_TransInstSpeedDisplay
  1718. //
  1719. this->label_TransInstSpeedDisplay->AutoSize = true;
  1720. this->label_TransInstSpeedDisplay->BackColor = System::Drawing::SystemColors::Control;
  1721. this->label_TransInstSpeedDisplay->Location = System::Drawing::Point(143, 58);
  1722. this->label_TransInstSpeedDisplay->Name = L"label_TransInstSpeedDisplay";
  1723. this->label_TransInstSpeedDisplay->Size = System::Drawing::Size(16, 13);
  1724. this->label_TransInstSpeedDisplay->TabIndex = 3;
  1725. this->label_TransInstSpeedDisplay->Text = L"---";
  1726. //
  1727. // label_TransCadenceDisplay
  1728. //
  1729. this->label_TransCadenceDisplay->AutoSize = true;
  1730. this->label_TransCadenceDisplay->BackColor = System::Drawing::SystemColors::Control;
  1731. this->label_TransCadenceDisplay->Location = System::Drawing::Point(143, 45);
  1732. this->label_TransCadenceDisplay->Name = L"label_TransCadenceDisplay";
  1733. this->label_TransCadenceDisplay->Size = System::Drawing::Size(16, 13);
  1734. this->label_TransCadenceDisplay->TabIndex = 10;
  1735. this->label_TransCadenceDisplay->Text = L"---";
  1736. //
  1737. // label_TransDisplayTitle
  1738. //
  1739. this->label_TransDisplayTitle->AutoSize = true;
  1740. this->label_TransDisplayTitle->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1741. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1742. this->label_TransDisplayTitle->Location = System::Drawing::Point(2, 2);
  1743. this->label_TransDisplayTitle->Name = L"label_TransDisplayTitle";
  1744. this->label_TransDisplayTitle->Size = System::Drawing::Size(135, 13);
  1745. this->label_TransDisplayTitle->TabIndex = 4;
  1746. this->label_TransDisplayTitle->Text = L"Current SDM Transmission:";
  1747. //
  1748. // label_Trn_TimeDisplay
  1749. //
  1750. this->label_Trn_TimeDisplay->AutoSize = true;
  1751. this->label_Trn_TimeDisplay->BackColor = System::Drawing::SystemColors::Control;
  1752. this->label_Trn_TimeDisplay->Location = System::Drawing::Point(143, 32);
  1753. this->label_Trn_TimeDisplay->Name = L"label_Trn_TimeDisplay";
  1754. this->label_Trn_TimeDisplay->Size = System::Drawing::Size(16, 13);
  1755. this->label_Trn_TimeDisplay->TabIndex = 12;
  1756. this->label_Trn_TimeDisplay->Text = L"---";
  1757. //
  1758. // label_TransLatency
  1759. //
  1760. this->label_TransLatency->AutoSize = true;
  1761. this->label_TransLatency->BackColor = System::Drawing::SystemColors::Control;
  1762. this->label_TransLatency->Location = System::Drawing::Point(1, 18);
  1763. this->label_TransLatency->Name = L"label_TransLatency";
  1764. this->label_TransLatency->Size = System::Drawing::Size(70, 13);
  1765. this->label_TransLatency->TabIndex = 7;
  1766. this->label_TransLatency->Text = L"Latency (ms):";
  1767. //
  1768. // label_TransLatencyDisplay
  1769. //
  1770. this->label_TransLatencyDisplay->AutoSize = true;
  1771. this->label_TransLatencyDisplay->BackColor = System::Drawing::SystemColors::Control;
  1772. this->label_TransLatencyDisplay->Location = System::Drawing::Point(77, 18);
  1773. this->label_TransLatencyDisplay->Name = L"label_TransLatencyDisplay";
  1774. this->label_TransLatencyDisplay->Size = System::Drawing::Size(16, 13);
  1775. this->label_TransLatencyDisplay->TabIndex = 8;
  1776. this->label_TransLatencyDisplay->Text = L"---";
  1777. //
  1778. // label_TransStrideCountDisplay
  1779. //
  1780. this->label_TransStrideCountDisplay->AutoSize = true;
  1781. this->label_TransStrideCountDisplay->BackColor = System::Drawing::SystemColors::Control;
  1782. this->label_TransStrideCountDisplay->Location = System::Drawing::Point(173, 18);
  1783. this->label_TransStrideCountDisplay->Name = L"label_TransStrideCountDisplay";
  1784. this->label_TransStrideCountDisplay->Size = System::Drawing::Size(16, 13);
  1785. this->label_TransStrideCountDisplay->TabIndex = 2;
  1786. this->label_TransStrideCountDisplay->Text = L"---";
  1787. //
  1788. // label_TransStrideCount
  1789. //
  1790. this->label_TransStrideCount->AutoSize = true;
  1791. this->label_TransStrideCount->BackColor = System::Drawing::SystemColors::Control;
  1792. this->label_TransStrideCount->Location = System::Drawing::Point(125, 18);
  1793. this->label_TransStrideCount->Name = L"label_TransStrideCount";
  1794. this->label_TransStrideCount->Size = System::Drawing::Size(42, 13);
  1795. this->label_TransStrideCount->TabIndex = 0;
  1796. this->label_TransStrideCount->Text = L"Strides:";
  1797. //
  1798. // checkBox2
  1799. //
  1800. this->checkBox2->AutoSize = true;
  1801. this->checkBox2->Location = System::Drawing::Point(16, 19);
  1802. this->checkBox2->Name = L"checkBox2";
  1803. this->checkBox2->Size = System::Drawing::Size(65, 17);
  1804. this->checkBox2->TabIndex = 0;
  1805. this->checkBox2->Text = L"Enabled";
  1806. this->checkBox2->UseVisualStyleBackColor = true;
  1807. //
  1808. // SDMSensor
  1809. //
  1810. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1811. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1812. this->ClientSize = System::Drawing::Size(794, 351);
  1813. this->Controls->Add(this->panel_Display);
  1814. this->Controls->Add(this->panel_Settings);
  1815. this->Name = L"SDMSensor";
  1816. this->Text = L"SDMSensor";
  1817. this->panel_Settings->ResumeLayout(false);
  1818. this->tabControl_Settings->ResumeLayout(false);
  1819. this->tabPage_Parameters->ResumeLayout(false);
  1820. this->tabPage_Parameters->PerformLayout();
  1821. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_BurnRate))->EndInit();
  1822. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_StrideLength))->EndInit();
  1823. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_MaxOutput))->EndInit();
  1824. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_CurOutput))->EndInit();
  1825. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Sim_MinOutput))->EndInit();
  1826. this->panel_PageType->ResumeLayout(false);
  1827. this->panel_PageType->PerformLayout();
  1828. this->tabPage_DeviceInfo->ResumeLayout(false);
  1829. this->tabPage_DeviceInfo->PerformLayout();
  1830. this->tabPage_Page1Settings->ResumeLayout(false);
  1831. this->tabPage_Page1Settings->PerformLayout();
  1832. this->tabPage_Page2Settings->ResumeLayout(false);
  1833. this->tabPage_Page2Settings->PerformLayout();
  1834. this->tabPage_Page3Settings->ResumeLayout(false);
  1835. this->tabPage_Page3Settings->PerformLayout();
  1836. this->groupBox_P3Calories->ResumeLayout(false);
  1837. this->groupBox_P3Calories->PerformLayout();
  1838. this->tabPage1->ResumeLayout(false);
  1839. this->tabPage1->PerformLayout();
  1840. this->tabPage2->ResumeLayout(false);
  1841. this->tabPage2->PerformLayout();
  1842. this->groupBox_P22Supported->ResumeLayout(false);
  1843. this->groupBox_P22Supported->PerformLayout();
  1844. this->panel_Display->ResumeLayout(false);
  1845. this->panel_Display->PerformLayout();
  1846. this->ResumeLayout(false);
  1847. }
  1848. #pragma endregion
  1849. };