MSMDisplay.h 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164
  1. /*
  2. This software is subject to the license described in the License.txt file
  3. included with this software distribution. You may not use this file except in compliance
  4. with this license.
  5. Copyright (c) Dynastream Innovations Inc. 2012
  6. All rights reserved.
  7. */
  8. #pragma once
  9. #include "StdAfx.h"
  10. #include "ISimBase.h"
  11. #include "antPlus_MSM.h"
  12. #include "antplus_common.h" // Include common pages
  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 MSMDisplay : public System::Windows::Forms::Form, public ISimBase{
  22. public:
  23. MSMDisplay(dRequestAckMsg^ channelAckMsg){
  24. InitializeComponent();
  25. msmData = gcnew MSM();
  26. commonData = gcnew CommonData();
  27. requestAckMsg = channelAckMsg;
  28. InitializeSim();
  29. }
  30. ~MSMDisplay(){
  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. if (components)
  38. {
  39. delete components;
  40. }
  41. }
  42. public:
  43. virtual void onTimerTock(USHORT eventTime){} // Do nothing
  44. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_); // Channel event state machine
  45. virtual UCHAR getDeviceType(){return msmData->DEVICE_TYPE;}
  46. virtual UCHAR getTransmissionType(){return 0;}
  47. virtual USHORT getTransmitPeriod(){return msmData->MSG_PERIOD;}
  48. virtual DOUBLE getTimerInterval(){return 1000;} // Set to any value, as receiver does not use the timer
  49. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  50. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  51. private:
  52. void InitializeSim(); // Initialize simulation
  53. void UpdateDisplay(); // Updates the display after an ANT message is received
  54. void UpdateAcumValues();
  55. void UpdateCalibration();
  56. void SendCalibrationMsg(MSM::CalibrationStatus pageType_);
  57. void UpdateDisplayAckStatus(UCHAR ackStatus_);
  58. System::Void numericUpDownMode_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  59. System::Void numericUpDownScaleFactor_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  60. System::Void buttonCalibrationRequest_Click(System::Object^ sender, System::EventArgs^ e);
  61. System::Void buttonSetScaleFactor_Click(System::Object^ sender, System::EventArgs^ e);
  62. private:
  63. dRequestAckMsg^ requestAckMsg;
  64. MSM^ msmData;
  65. CommonData^ commonData;
  66. MSM::CalibrationStatus eCalStatus;
  67. // Previous values
  68. UCHAR ucPreviousMode; // mode
  69. USHORT usPreviousScale; // scale
  70. USHORT usPreviousDist; // distance
  71. USHORT usPreviousTime; // time
  72. // Calculated values for display
  73. double dbDispAcumDist; // Cumulative distance (m)
  74. double dbDispAcumTime; // Cumulative time (s)
  75. double dbDispInstSpeed; // Instantaneous speed (m/s)
  76. double dbDispLat; // Latitude (deg)
  77. double dbDispLong; // Longitude (deg)
  78. double dbDispElev; // Elevation (m)
  79. double dbDispHeading; // Heading (deg)
  80. private: System::Windows::Forms::Panel^ panel_Settings;
  81. private: System::Windows::Forms::Panel^ panel_Display;
  82. private: System::Windows::Forms::Label^ label1;
  83. private: System::Windows::Forms::Label^ label4;
  84. private: System::Windows::Forms::Label^ label3;
  85. private: System::Windows::Forms::TabControl^ tabControl1;
  86. private: System::Windows::Forms::TabPage^ tabPage1;
  87. private: System::Windows::Forms::TabPage^ tabPage2;
  88. private: System::Windows::Forms::Label^ labelDisplayAcumTime;
  89. private: System::Windows::Forms::Label^ labelDisplayAcumDistance;
  90. private: System::Windows::Forms::Label^ labelDisplayInstSpeed;
  91. private: System::Windows::Forms::Label^ label9;
  92. private: System::Windows::Forms::Label^ label13;
  93. private: System::Windows::Forms::Label^ labelTxAcumTime;
  94. private: System::Windows::Forms::Label^ label11;
  95. private: System::Windows::Forms::Label^ labelTxAcumDist;
  96. private: System::Windows::Forms::Label^ label10;
  97. private: System::Windows::Forms::Label^ labelTxInstSpeed;
  98. private: System::Windows::Forms::Label^ label14;
  99. private: System::Windows::Forms::Label^ label12;
  100. private: System::Windows::Forms::NumericUpDown^ numericUpDownScaleFactor;
  101. private: System::Windows::Forms::NumericUpDown^ numericUpDownMode;
  102. private: System::Windows::Forms::Button^ buttonSetScaleFactor;
  103. private: System::Windows::Forms::Button^ buttonCalibrationRequest;
  104. private: System::Windows::Forms::Label^ labelCalibrationProgress;
  105. private: System::Windows::Forms::Label^ labelDisplayFixType;
  106. private: System::Windows::Forms::Label^ labelDisplayHeading;
  107. private: System::Windows::Forms::Label^ labelDisplayElevation;
  108. private: System::Windows::Forms::Label^ labelDisplayLat;
  109. private: System::Windows::Forms::Label^ labelDisplayLong;
  110. private: System::Windows::Forms::Label^ labelFix;
  111. private: System::Windows::Forms::Label^ labelHead;
  112. private: System::Windows::Forms::Label^ labelElev;
  113. private: System::Windows::Forms::Label^ labelLon;
  114. private: System::Windows::Forms::Label^ labelLat;
  115. private: System::Windows::Forms::Label^ label2;
  116. private: System::Windows::Forms::Label^ labelRxLon;
  117. private: System::Windows::Forms::Label^ labelRxLat;
  118. private: System::Windows::Forms::Label^ label5;
  119. private: System::Windows::Forms::Label^ labelRxFix;
  120. private: System::Windows::Forms::Label^ labelRxHeading;
  121. private: System::Windows::Forms::Label^ labelRxElev;
  122. private: System::Windows::Forms::Label^ label8;
  123. private: System::Windows::Forms::Label^ label7;
  124. private: System::Windows::Forms::Label^ label6;
  125. private: System::Windows::Forms::TabPage^ tabPage3;
  126. private: System::Windows::Forms::Label^ label_Glb_SoftwareVer;
  127. private: System::Windows::Forms::Label^ label_Glb_HardwareVer;
  128. private: System::Windows::Forms::Label^ label_Glb_SoftwareVerDisplay;
  129. private: System::Windows::Forms::Label^ label_Glb_SerialNumDisplay;
  130. private: System::Windows::Forms::Label^ label_Glb_ModelNum;
  131. private: System::Windows::Forms::Label^ label_Glb_ManfIDDisplay;
  132. private: System::Windows::Forms::Label^ label_Glb_SerialNum;
  133. private: System::Windows::Forms::Label^ label_Glb_ModelNumDisplay;
  134. private: System::Windows::Forms::Label^ label_Glb_HardwareVerDisplay;
  135. private: System::Windows::Forms::Label^ label_Glb_ManfID;
  136. private: System::Windows::Forms::Label^ label16;
  137. private: System::Windows::Forms::Label^ label15;
  138. private: System::Windows::Forms::Label^ label21;
  139. private: System::Windows::Forms::Label^ label20;
  140. private: System::Windows::Forms::Label^ labelBattStatus;
  141. private: System::Windows::Forms::Label^ labelBattVolt;
  142. private: System::Windows::Forms::Label^ labelTimeRes;
  143. private: System::Windows::Forms::Label^ labelOpTime;
  144. private: System::Windows::Forms::Label^ labelDay;
  145. private: System::Windows::Forms::Label^ labelSeconds;
  146. private: System::Windows::Forms::Label^ labelMinutes;
  147. private: System::Windows::Forms::Label^ labelHours;
  148. private: System::Windows::Forms::Label^ label27;
  149. private: System::Windows::Forms::Label^ label30;
  150. private: System::Windows::Forms::Label^ label37;
  151. private: System::Windows::Forms::Label^ labelDayOfWeek;
  152. private: System::Windows::Forms::Label^ labelYear;
  153. private: System::Windows::Forms::Label^ labelMonth;
  154. private: System::Windows::Forms::Label^ label25;
  155. private: System::Windows::Forms::Label^ label24;
  156. private: System::Windows::Forms::Label^ label28;
  157. private: System::Windows::Forms::Label^ label26;
  158. private: System::Windows::Forms::Label^ label29;
  159. private: System::Windows::Forms::Label^ label23;
  160. private: System::Windows::Forms::TabControl^ tabControl2;
  161. private: System::Windows::Forms::TabPage^ tabPage5;
  162. private: System::Windows::Forms::TabPage^ tabPage6;
  163. private: System::Windows::Forms::TabPage^ tabPage7;
  164. /// <summary>
  165. /// Required designer variable.a
  166. /// </summary>
  167. System::ComponentModel::Container ^components;
  168. #pragma region Windows Form Designer generated code
  169. /// <summary>
  170. /// Required method for Designer support - do not modify
  171. /// the contents of this method with the code editor.
  172. /// </summary>
  173. void InitializeComponent(void)
  174. {
  175. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  176. this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
  177. this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
  178. this->labelDisplayFixType = (gcnew System::Windows::Forms::Label());
  179. this->labelDisplayHeading = (gcnew System::Windows::Forms::Label());
  180. this->labelDisplayElevation = (gcnew System::Windows::Forms::Label());
  181. this->labelDisplayLat = (gcnew System::Windows::Forms::Label());
  182. this->labelDisplayLong = (gcnew System::Windows::Forms::Label());
  183. this->labelFix = (gcnew System::Windows::Forms::Label());
  184. this->labelHead = (gcnew System::Windows::Forms::Label());
  185. this->labelElev = (gcnew System::Windows::Forms::Label());
  186. this->labelLon = (gcnew System::Windows::Forms::Label());
  187. this->labelLat = (gcnew System::Windows::Forms::Label());
  188. this->labelDisplayInstSpeed = (gcnew System::Windows::Forms::Label());
  189. this->labelDisplayAcumTime = (gcnew System::Windows::Forms::Label());
  190. this->labelDisplayAcumDistance = (gcnew System::Windows::Forms::Label());
  191. this->label4 = (gcnew System::Windows::Forms::Label());
  192. this->label1 = (gcnew System::Windows::Forms::Label());
  193. this->label3 = (gcnew System::Windows::Forms::Label());
  194. this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
  195. this->labelCalibrationProgress = (gcnew System::Windows::Forms::Label());
  196. this->buttonSetScaleFactor = (gcnew System::Windows::Forms::Button());
  197. this->buttonCalibrationRequest = (gcnew System::Windows::Forms::Button());
  198. this->label14 = (gcnew System::Windows::Forms::Label());
  199. this->label12 = (gcnew System::Windows::Forms::Label());
  200. this->numericUpDownScaleFactor = (gcnew System::Windows::Forms::NumericUpDown());
  201. this->numericUpDownMode = (gcnew System::Windows::Forms::NumericUpDown());
  202. this->tabPage3 = (gcnew System::Windows::Forms::TabPage());
  203. this->tabControl2 = (gcnew System::Windows::Forms::TabControl());
  204. this->tabPage5 = (gcnew System::Windows::Forms::TabPage());
  205. this->label_Glb_ManfID = (gcnew System::Windows::Forms::Label());
  206. this->label_Glb_ManfIDDisplay = (gcnew System::Windows::Forms::Label());
  207. this->label_Glb_ModelNum = (gcnew System::Windows::Forms::Label());
  208. this->label_Glb_ModelNumDisplay = (gcnew System::Windows::Forms::Label());
  209. this->label_Glb_HardwareVer = (gcnew System::Windows::Forms::Label());
  210. this->label_Glb_HardwareVerDisplay = (gcnew System::Windows::Forms::Label());
  211. this->label_Glb_SerialNumDisplay = (gcnew System::Windows::Forms::Label());
  212. this->label_Glb_SerialNum = (gcnew System::Windows::Forms::Label());
  213. this->label_Glb_SoftwareVerDisplay = (gcnew System::Windows::Forms::Label());
  214. this->label_Glb_SoftwareVer = (gcnew System::Windows::Forms::Label());
  215. this->tabPage6 = (gcnew System::Windows::Forms::TabPage());
  216. this->label21 = (gcnew System::Windows::Forms::Label());
  217. this->labelTimeRes = (gcnew System::Windows::Forms::Label());
  218. this->label15 = (gcnew System::Windows::Forms::Label());
  219. this->labelOpTime = (gcnew System::Windows::Forms::Label());
  220. this->label16 = (gcnew System::Windows::Forms::Label());
  221. this->labelBattVolt = (gcnew System::Windows::Forms::Label());
  222. this->label20 = (gcnew System::Windows::Forms::Label());
  223. this->labelBattStatus = (gcnew System::Windows::Forms::Label());
  224. this->tabPage7 = (gcnew System::Windows::Forms::TabPage());
  225. this->label29 = (gcnew System::Windows::Forms::Label());
  226. this->label30 = (gcnew System::Windows::Forms::Label());
  227. this->labelDayOfWeek = (gcnew System::Windows::Forms::Label());
  228. this->label23 = (gcnew System::Windows::Forms::Label());
  229. this->label27 = (gcnew System::Windows::Forms::Label());
  230. this->label28 = (gcnew System::Windows::Forms::Label());
  231. this->labelHours = (gcnew System::Windows::Forms::Label());
  232. this->label26 = (gcnew System::Windows::Forms::Label());
  233. this->labelMinutes = (gcnew System::Windows::Forms::Label());
  234. this->label25 = (gcnew System::Windows::Forms::Label());
  235. this->labelSeconds = (gcnew System::Windows::Forms::Label());
  236. this->labelYear = (gcnew System::Windows::Forms::Label());
  237. this->label24 = (gcnew System::Windows::Forms::Label());
  238. this->labelMonth = (gcnew System::Windows::Forms::Label());
  239. this->label37 = (gcnew System::Windows::Forms::Label());
  240. this->labelDay = (gcnew System::Windows::Forms::Label());
  241. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  242. this->labelRxFix = (gcnew System::Windows::Forms::Label());
  243. this->labelRxHeading = (gcnew System::Windows::Forms::Label());
  244. this->labelRxElev = (gcnew System::Windows::Forms::Label());
  245. this->label8 = (gcnew System::Windows::Forms::Label());
  246. this->label7 = (gcnew System::Windows::Forms::Label());
  247. this->label6 = (gcnew System::Windows::Forms::Label());
  248. this->labelRxLon = (gcnew System::Windows::Forms::Label());
  249. this->labelRxLat = (gcnew System::Windows::Forms::Label());
  250. this->label5 = (gcnew System::Windows::Forms::Label());
  251. this->label2 = (gcnew System::Windows::Forms::Label());
  252. this->labelTxInstSpeed = (gcnew System::Windows::Forms::Label());
  253. this->label13 = (gcnew System::Windows::Forms::Label());
  254. this->labelTxAcumTime = (gcnew System::Windows::Forms::Label());
  255. this->label11 = (gcnew System::Windows::Forms::Label());
  256. this->labelTxAcumDist = (gcnew System::Windows::Forms::Label());
  257. this->label10 = (gcnew System::Windows::Forms::Label());
  258. this->label9 = (gcnew System::Windows::Forms::Label());
  259. this->panel_Settings->SuspendLayout();
  260. this->tabControl1->SuspendLayout();
  261. this->tabPage1->SuspendLayout();
  262. this->tabPage2->SuspendLayout();
  263. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownScaleFactor))->BeginInit();
  264. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownMode))->BeginInit();
  265. this->tabPage3->SuspendLayout();
  266. this->tabControl2->SuspendLayout();
  267. this->tabPage5->SuspendLayout();
  268. this->tabPage6->SuspendLayout();
  269. this->tabPage7->SuspendLayout();
  270. this->panel_Display->SuspendLayout();
  271. this->SuspendLayout();
  272. //
  273. // panel_Settings
  274. //
  275. this->panel_Settings->Controls->Add(this->tabControl1);
  276. this->panel_Settings->Location = System::Drawing::Point(322, 50);
  277. this->panel_Settings->Name = L"panel_Settings";
  278. this->panel_Settings->Size = System::Drawing::Size(400, 140);
  279. this->panel_Settings->TabIndex = 0;
  280. //
  281. // tabControl1
  282. //
  283. this->tabControl1->Controls->Add(this->tabPage1);
  284. this->tabControl1->Controls->Add(this->tabPage2);
  285. this->tabControl1->Controls->Add(this->tabPage3);
  286. this->tabControl1->Location = System::Drawing::Point(3, 0);
  287. this->tabControl1->Name = L"tabControl1";
  288. this->tabControl1->SelectedIndex = 0;
  289. this->tabControl1->Size = System::Drawing::Size(397, 140);
  290. this->tabControl1->TabIndex = 8;
  291. //
  292. // tabPage1
  293. //
  294. this->tabPage1->Controls->Add(this->labelDisplayFixType);
  295. this->tabPage1->Controls->Add(this->labelDisplayHeading);
  296. this->tabPage1->Controls->Add(this->labelDisplayElevation);
  297. this->tabPage1->Controls->Add(this->labelDisplayLat);
  298. this->tabPage1->Controls->Add(this->labelDisplayLong);
  299. this->tabPage1->Controls->Add(this->labelFix);
  300. this->tabPage1->Controls->Add(this->labelHead);
  301. this->tabPage1->Controls->Add(this->labelElev);
  302. this->tabPage1->Controls->Add(this->labelLon);
  303. this->tabPage1->Controls->Add(this->labelLat);
  304. this->tabPage1->Controls->Add(this->labelDisplayInstSpeed);
  305. this->tabPage1->Controls->Add(this->labelDisplayAcumTime);
  306. this->tabPage1->Controls->Add(this->labelDisplayAcumDistance);
  307. this->tabPage1->Controls->Add(this->label4);
  308. this->tabPage1->Controls->Add(this->label1);
  309. this->tabPage1->Controls->Add(this->label3);
  310. this->tabPage1->Location = System::Drawing::Point(4, 22);
  311. this->tabPage1->Name = L"tabPage1";
  312. this->tabPage1->Padding = System::Windows::Forms::Padding(3);
  313. this->tabPage1->Size = System::Drawing::Size(389, 114);
  314. this->tabPage1->TabIndex = 0;
  315. this->tabPage1->Text = L"MSM Data";
  316. this->tabPage1->UseVisualStyleBackColor = true;
  317. //
  318. // labelDisplayFixType
  319. //
  320. this->labelDisplayFixType->AutoSize = true;
  321. this->labelDisplayFixType->Location = System::Drawing::Point(306, 98);
  322. this->labelDisplayFixType->Name = L"labelDisplayFixType";
  323. this->labelDisplayFixType->Size = System::Drawing::Size(16, 13);
  324. this->labelDisplayFixType->TabIndex = 35;
  325. this->labelDisplayFixType->Text = L"---";
  326. //
  327. // labelDisplayHeading
  328. //
  329. this->labelDisplayHeading->AutoSize = true;
  330. this->labelDisplayHeading->Location = System::Drawing::Point(306, 73);
  331. this->labelDisplayHeading->Name = L"labelDisplayHeading";
  332. this->labelDisplayHeading->Size = System::Drawing::Size(16, 13);
  333. this->labelDisplayHeading->TabIndex = 34;
  334. this->labelDisplayHeading->Text = L"---";
  335. //
  336. // labelDisplayElevation
  337. //
  338. this->labelDisplayElevation->AutoSize = true;
  339. this->labelDisplayElevation->Location = System::Drawing::Point(306, 50);
  340. this->labelDisplayElevation->Name = L"labelDisplayElevation";
  341. this->labelDisplayElevation->Size = System::Drawing::Size(16, 13);
  342. this->labelDisplayElevation->TabIndex = 33;
  343. this->labelDisplayElevation->Text = L"---";
  344. //
  345. // labelDisplayLat
  346. //
  347. this->labelDisplayLat->AutoSize = true;
  348. this->labelDisplayLat->Location = System::Drawing::Point(306, 4);
  349. this->labelDisplayLat->Name = L"labelDisplayLat";
  350. this->labelDisplayLat->Size = System::Drawing::Size(16, 13);
  351. this->labelDisplayLat->TabIndex = 32;
  352. this->labelDisplayLat->Text = L"---";
  353. //
  354. // labelDisplayLong
  355. //
  356. this->labelDisplayLong->AutoSize = true;
  357. this->labelDisplayLong->Location = System::Drawing::Point(306, 27);
  358. this->labelDisplayLong->Name = L"labelDisplayLong";
  359. this->labelDisplayLong->Size = System::Drawing::Size(16, 13);
  360. this->labelDisplayLong->TabIndex = 31;
  361. this->labelDisplayLong->Text = L"---";
  362. //
  363. // labelFix
  364. //
  365. this->labelFix->AutoSize = true;
  366. this->labelFix->Location = System::Drawing::Point(216, 96);
  367. this->labelFix->Name = L"labelFix";
  368. this->labelFix->Size = System::Drawing::Size(50, 13);
  369. this->labelFix->TabIndex = 30;
  370. this->labelFix->Text = L"Fix Type:";
  371. //
  372. // labelHead
  373. //
  374. this->labelHead->AutoSize = true;
  375. this->labelHead->Location = System::Drawing::Point(216, 73);
  376. this->labelHead->Name = L"labelHead";
  377. this->labelHead->Size = System::Drawing::Size(77, 13);
  378. this->labelHead->TabIndex = 29;
  379. this->labelHead->Text = L"Heading (deg):";
  380. //
  381. // labelElev
  382. //
  383. this->labelElev->AutoSize = true;
  384. this->labelElev->Location = System::Drawing::Point(216, 50);
  385. this->labelElev->Name = L"labelElev";
  386. this->labelElev->Size = System::Drawing::Size(71, 13);
  387. this->labelElev->TabIndex = 28;
  388. this->labelElev->Text = L"Elevation (m):";
  389. //
  390. // labelLon
  391. //
  392. this->labelLon->AutoSize = true;
  393. this->labelLon->Location = System::Drawing::Point(216, 27);
  394. this->labelLon->Name = L"labelLon";
  395. this->labelLon->Size = System::Drawing::Size(84, 13);
  396. this->labelLon->TabIndex = 27;
  397. this->labelLon->Text = L"Longitude (deg):";
  398. //
  399. // labelLat
  400. //
  401. this->labelLat->AutoSize = true;
  402. this->labelLat->Location = System::Drawing::Point(216, 4);
  403. this->labelLat->Name = L"labelLat";
  404. this->labelLat->Size = System::Drawing::Size(75, 13);
  405. this->labelLat->TabIndex = 26;
  406. this->labelLat->Text = L"Latitude (deg):";
  407. //
  408. // labelDisplayInstSpeed
  409. //
  410. this->labelDisplayInstSpeed->AutoSize = true;
  411. this->labelDisplayInstSpeed->Location = System::Drawing::Point(146, 50);
  412. this->labelDisplayInstSpeed->Name = L"labelDisplayInstSpeed";
  413. this->labelDisplayInstSpeed->Size = System::Drawing::Size(16, 13);
  414. this->labelDisplayInstSpeed->TabIndex = 10;
  415. this->labelDisplayInstSpeed->Text = L"---";
  416. //
  417. // labelDisplayAcumTime
  418. //
  419. this->labelDisplayAcumTime->AutoSize = true;
  420. this->labelDisplayAcumTime->Location = System::Drawing::Point(146, 4);
  421. this->labelDisplayAcumTime->Name = L"labelDisplayAcumTime";
  422. this->labelDisplayAcumTime->Size = System::Drawing::Size(16, 13);
  423. this->labelDisplayAcumTime->TabIndex = 9;
  424. this->labelDisplayAcumTime->Text = L"---";
  425. //
  426. // labelDisplayAcumDistance
  427. //
  428. this->labelDisplayAcumDistance->AutoSize = true;
  429. this->labelDisplayAcumDistance->Location = System::Drawing::Point(146, 27);
  430. this->labelDisplayAcumDistance->Name = L"labelDisplayAcumDistance";
  431. this->labelDisplayAcumDistance->Size = System::Drawing::Size(16, 13);
  432. this->labelDisplayAcumDistance->TabIndex = 8;
  433. this->labelDisplayAcumDistance->Text = L"---";
  434. //
  435. // label4
  436. //
  437. this->label4->AutoSize = true;
  438. this->label4->Location = System::Drawing::Point(6, 4);
  439. this->label4->Name = L"label4";
  440. this->label4->Size = System::Drawing::Size(112, 13);
  441. this->label4->TabIndex = 3;
  442. this->label4->Text = L"Accumulated Time (s):";
  443. //
  444. // label1
  445. //
  446. this->label1->AutoSize = true;
  447. this->label1->Location = System::Drawing::Point(6, 27);
  448. this->label1->Name = L"label1";
  449. this->label1->Size = System::Drawing::Size(134, 13);
  450. this->label1->TabIndex = 0;
  451. this->label1->Text = L"Accumulated Distance (m):";
  452. //
  453. // label3
  454. //
  455. this->label3->AutoSize = true;
  456. this->label3->Location = System::Drawing::Point(6, 50);
  457. this->label3->Name = L"label3";
  458. this->label3->Size = System::Drawing::Size(138, 13);
  459. this->label3->TabIndex = 2;
  460. this->label3->Text = L"Instantaneous Speed (m/s):";
  461. //
  462. // tabPage2
  463. //
  464. this->tabPage2->Controls->Add(this->labelCalibrationProgress);
  465. this->tabPage2->Controls->Add(this->buttonSetScaleFactor);
  466. this->tabPage2->Controls->Add(this->buttonCalibrationRequest);
  467. this->tabPage2->Controls->Add(this->label14);
  468. this->tabPage2->Controls->Add(this->label12);
  469. this->tabPage2->Controls->Add(this->numericUpDownScaleFactor);
  470. this->tabPage2->Controls->Add(this->numericUpDownMode);
  471. this->tabPage2->Location = System::Drawing::Point(4, 22);
  472. this->tabPage2->Name = L"tabPage2";
  473. this->tabPage2->Padding = System::Windows::Forms::Padding(3);
  474. this->tabPage2->Size = System::Drawing::Size(389, 114);
  475. this->tabPage2->TabIndex = 1;
  476. this->tabPage2->Text = L"Calibration";
  477. this->tabPage2->UseVisualStyleBackColor = true;
  478. //
  479. // labelCalibrationProgress
  480. //
  481. this->labelCalibrationProgress->AutoSize = true;
  482. this->labelCalibrationProgress->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Regular,
  483. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  484. this->labelCalibrationProgress->Location = System::Drawing::Point(188, 64);
  485. this->labelCalibrationProgress->Name = L"labelCalibrationProgress";
  486. this->labelCalibrationProgress->Size = System::Drawing::Size(146, 17);
  487. this->labelCalibrationProgress->TabIndex = 6;
  488. this->labelCalibrationProgress->Text = L"Calibration Uninitiated";
  489. //
  490. // buttonSetScaleFactor
  491. //
  492. this->buttonSetScaleFactor->Location = System::Drawing::Point(9, 85);
  493. this->buttonSetScaleFactor->Name = L"buttonSetScaleFactor";
  494. this->buttonSetScaleFactor->Size = System::Drawing::Size(153, 20);
  495. this->buttonSetScaleFactor->TabIndex = 5;
  496. this->buttonSetScaleFactor->Text = L"Set Mode and Scale Factor";
  497. this->buttonSetScaleFactor->UseVisualStyleBackColor = true;
  498. this->buttonSetScaleFactor->Click += gcnew System::EventHandler(this, &MSMDisplay::buttonSetScaleFactor_Click);
  499. //
  500. // buttonCalibrationRequest
  501. //
  502. this->buttonCalibrationRequest->Location = System::Drawing::Point(9, 58);
  503. this->buttonCalibrationRequest->Name = L"buttonCalibrationRequest";
  504. this->buttonCalibrationRequest->Size = System::Drawing::Size(153, 20);
  505. this->buttonCalibrationRequest->TabIndex = 4;
  506. this->buttonCalibrationRequest->Text = L"Send Calibration Request";
  507. this->buttonCalibrationRequest->UseVisualStyleBackColor = true;
  508. this->buttonCalibrationRequest->Click += gcnew System::EventHandler(this, &MSMDisplay::buttonCalibrationRequest_Click);
  509. //
  510. // label14
  511. //
  512. this->label14->AutoSize = true;
  513. this->label14->Location = System::Drawing::Point(6, 34);
  514. this->label14->Name = L"label14";
  515. this->label14->Size = System::Drawing::Size(67, 13);
  516. this->label14->TabIndex = 3;
  517. this->label14->Text = L"Scale Factor";
  518. //
  519. // label12
  520. //
  521. this->label12->AutoSize = true;
  522. this->label12->Location = System::Drawing::Point(6, 5);
  523. this->label12->Name = L"label12";
  524. this->label12->Size = System::Drawing::Size(68, 13);
  525. this->label12->TabIndex = 2;
  526. this->label12->Text = L"Mode (km/h)";
  527. //
  528. // numericUpDownScaleFactor
  529. //
  530. this->numericUpDownScaleFactor->DecimalPlaces = 4;
  531. this->numericUpDownScaleFactor->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 262144});
  532. this->numericUpDownScaleFactor->Location = System::Drawing::Point(79, 32);
  533. this->numericUpDownScaleFactor->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {65534, 0, 0, 262144});
  534. this->numericUpDownScaleFactor->Name = L"numericUpDownScaleFactor";
  535. this->numericUpDownScaleFactor->Size = System::Drawing::Size(60, 20);
  536. this->numericUpDownScaleFactor->TabIndex = 1;
  537. this->numericUpDownScaleFactor->ValueChanged += gcnew System::EventHandler(this, &MSMDisplay::numericUpDownScaleFactor_ValueChanged);
  538. //
  539. // numericUpDownMode
  540. //
  541. this->numericUpDownMode->Location = System::Drawing::Point(79, 3);
  542. this->numericUpDownMode->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {235, 0, 0, 0});
  543. this->numericUpDownMode->Name = L"numericUpDownMode";
  544. this->numericUpDownMode->Size = System::Drawing::Size(49, 20);
  545. this->numericUpDownMode->TabIndex = 0;
  546. this->numericUpDownMode->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {10, 0, 0, 0});
  547. this->numericUpDownMode->ValueChanged += gcnew System::EventHandler(this, &MSMDisplay::numericUpDownMode_ValueChanged);
  548. //
  549. // tabPage3
  550. //
  551. this->tabPage3->Controls->Add(this->tabControl2);
  552. this->tabPage3->Location = System::Drawing::Point(4, 22);
  553. this->tabPage3->Name = L"tabPage3";
  554. this->tabPage3->Size = System::Drawing::Size(389, 114);
  555. this->tabPage3->TabIndex = 2;
  556. this->tabPage3->Text = L"Common Data";
  557. this->tabPage3->UseVisualStyleBackColor = true;
  558. //
  559. // tabControl2
  560. //
  561. this->tabControl2->Controls->Add(this->tabPage5);
  562. this->tabControl2->Controls->Add(this->tabPage6);
  563. this->tabControl2->Controls->Add(this->tabPage7);
  564. this->tabControl2->Location = System::Drawing::Point(0, 3);
  565. this->tabControl2->Name = L"tabControl2";
  566. this->tabControl2->SelectedIndex = 0;
  567. this->tabControl2->Size = System::Drawing::Size(389, 111);
  568. this->tabControl2->TabIndex = 0;
  569. //
  570. // tabPage5
  571. //
  572. this->tabPage5->Controls->Add(this->label_Glb_ManfID);
  573. this->tabPage5->Controls->Add(this->label_Glb_ManfIDDisplay);
  574. this->tabPage5->Controls->Add(this->label_Glb_ModelNum);
  575. this->tabPage5->Controls->Add(this->label_Glb_ModelNumDisplay);
  576. this->tabPage5->Controls->Add(this->label_Glb_HardwareVer);
  577. this->tabPage5->Controls->Add(this->label_Glb_HardwareVerDisplay);
  578. this->tabPage5->Controls->Add(this->label_Glb_SerialNumDisplay);
  579. this->tabPage5->Controls->Add(this->label_Glb_SerialNum);
  580. this->tabPage5->Controls->Add(this->label_Glb_SoftwareVerDisplay);
  581. this->tabPage5->Controls->Add(this->label_Glb_SoftwareVer);
  582. this->tabPage5->Location = System::Drawing::Point(4, 22);
  583. this->tabPage5->Name = L"tabPage5";
  584. this->tabPage5->Padding = System::Windows::Forms::Padding(3);
  585. this->tabPage5->Size = System::Drawing::Size(381, 85);
  586. this->tabPage5->TabIndex = 0;
  587. this->tabPage5->Text = L"Manufacturer\'s Info";
  588. this->tabPage5->UseVisualStyleBackColor = true;
  589. //
  590. // label_Glb_ManfID
  591. //
  592. this->label_Glb_ManfID->AutoSize = true;
  593. this->label_Glb_ManfID->Location = System::Drawing::Point(43, 14);
  594. this->label_Glb_ManfID->Name = L"label_Glb_ManfID";
  595. this->label_Glb_ManfID->Size = System::Drawing::Size(51, 13);
  596. this->label_Glb_ManfID->TabIndex = 17;
  597. this->label_Glb_ManfID->Text = L"Manf. ID:";
  598. //
  599. // label_Glb_ManfIDDisplay
  600. //
  601. this->label_Glb_ManfIDDisplay->Location = System::Drawing::Point(100, 14);
  602. this->label_Glb_ManfIDDisplay->Name = L"label_Glb_ManfIDDisplay";
  603. this->label_Glb_ManfIDDisplay->Size = System::Drawing::Size(27, 13);
  604. this->label_Glb_ManfIDDisplay->TabIndex = 22;
  605. this->label_Glb_ManfIDDisplay->Text = L"---";
  606. //
  607. // label_Glb_ModelNum
  608. //
  609. this->label_Glb_ModelNum->AutoSize = true;
  610. this->label_Glb_ModelNum->Location = System::Drawing::Point(45, 37);
  611. this->label_Glb_ModelNum->Name = L"label_Glb_ModelNum";
  612. this->label_Glb_ModelNum->Size = System::Drawing::Size(49, 13);
  613. this->label_Glb_ModelNum->TabIndex = 21;
  614. this->label_Glb_ModelNum->Text = L"Model #:";
  615. //
  616. // label_Glb_ModelNumDisplay
  617. //
  618. this->label_Glb_ModelNumDisplay->Location = System::Drawing::Point(100, 37);
  619. this->label_Glb_ModelNumDisplay->Name = L"label_Glb_ModelNumDisplay";
  620. this->label_Glb_ModelNumDisplay->Size = System::Drawing::Size(42, 13);
  621. this->label_Glb_ModelNumDisplay->TabIndex = 23;
  622. this->label_Glb_ModelNumDisplay->Text = L"---";
  623. //
  624. // label_Glb_HardwareVer
  625. //
  626. this->label_Glb_HardwareVer->AutoSize = true;
  627. this->label_Glb_HardwareVer->Location = System::Drawing::Point(182, 14);
  628. this->label_Glb_HardwareVer->Name = L"label_Glb_HardwareVer";
  629. this->label_Glb_HardwareVer->Size = System::Drawing::Size(64, 13);
  630. this->label_Glb_HardwareVer->TabIndex = 19;
  631. this->label_Glb_HardwareVer->Text = L"Hw Version:";
  632. //
  633. // label_Glb_HardwareVerDisplay
  634. //
  635. this->label_Glb_HardwareVerDisplay->Location = System::Drawing::Point(247, 14);
  636. this->label_Glb_HardwareVerDisplay->Name = L"label_Glb_HardwareVerDisplay";
  637. this->label_Glb_HardwareVerDisplay->Size = System::Drawing::Size(27, 13);
  638. this->label_Glb_HardwareVerDisplay->TabIndex = 25;
  639. this->label_Glb_HardwareVerDisplay->Text = L"---";
  640. //
  641. // label_Glb_SerialNumDisplay
  642. //
  643. this->label_Glb_SerialNumDisplay->AutoSize = true;
  644. this->label_Glb_SerialNumDisplay->Location = System::Drawing::Point(100, 59);
  645. this->label_Glb_SerialNumDisplay->Name = L"label_Glb_SerialNumDisplay";
  646. this->label_Glb_SerialNumDisplay->Size = System::Drawing::Size(16, 13);
  647. this->label_Glb_SerialNumDisplay->TabIndex = 24;
  648. this->label_Glb_SerialNumDisplay->Text = L"---";
  649. //
  650. // label_Glb_SerialNum
  651. //
  652. this->label_Glb_SerialNum->AutoSize = true;
  653. this->label_Glb_SerialNum->Location = System::Drawing::Point(48, 59);
  654. this->label_Glb_SerialNum->Name = L"label_Glb_SerialNum";
  655. this->label_Glb_SerialNum->Size = System::Drawing::Size(46, 13);
  656. this->label_Glb_SerialNum->TabIndex = 18;
  657. this->label_Glb_SerialNum->Text = L"Serial #:";
  658. //
  659. // label_Glb_SoftwareVerDisplay
  660. //
  661. this->label_Glb_SoftwareVerDisplay->AutoSize = true;
  662. this->label_Glb_SoftwareVerDisplay->Location = System::Drawing::Point(247, 37);
  663. this->label_Glb_SoftwareVerDisplay->Name = L"label_Glb_SoftwareVerDisplay";
  664. this->label_Glb_SoftwareVerDisplay->Size = System::Drawing::Size(16, 13);
  665. this->label_Glb_SoftwareVerDisplay->TabIndex = 26;
  666. this->label_Glb_SoftwareVerDisplay->Text = L"---";
  667. //
  668. // label_Glb_SoftwareVer
  669. //
  670. this->label_Glb_SoftwareVer->AutoSize = true;
  671. this->label_Glb_SoftwareVer->Location = System::Drawing::Point(183, 37);
  672. this->label_Glb_SoftwareVer->Name = L"label_Glb_SoftwareVer";
  673. this->label_Glb_SoftwareVer->Size = System::Drawing::Size(63, 13);
  674. this->label_Glb_SoftwareVer->TabIndex = 20;
  675. this->label_Glb_SoftwareVer->Text = L"Sw Version:";
  676. //
  677. // tabPage6
  678. //
  679. this->tabPage6->Controls->Add(this->label21);
  680. this->tabPage6->Controls->Add(this->labelTimeRes);
  681. this->tabPage6->Controls->Add(this->label15);
  682. this->tabPage6->Controls->Add(this->labelOpTime);
  683. this->tabPage6->Controls->Add(this->label16);
  684. this->tabPage6->Controls->Add(this->labelBattVolt);
  685. this->tabPage6->Controls->Add(this->label20);
  686. this->tabPage6->Controls->Add(this->labelBattStatus);
  687. this->tabPage6->Location = System::Drawing::Point(4, 22);
  688. this->tabPage6->Name = L"tabPage6";
  689. this->tabPage6->Padding = System::Windows::Forms::Padding(3);
  690. this->tabPage6->Size = System::Drawing::Size(381, 85);
  691. this->tabPage6->TabIndex = 1;
  692. this->tabPage6->Text = L"Battery Status";
  693. this->tabPage6->UseVisualStyleBackColor = true;
  694. //
  695. // label21
  696. //
  697. this->label21->AutoSize = true;
  698. this->label21->Location = System::Drawing::Point(49, 12);
  699. this->label21->Name = L"label21";
  700. this->label21->Size = System::Drawing::Size(86, 13);
  701. this->label21->TabIndex = 33;
  702. this->label21->Text = L"Time Resolution:";
  703. //
  704. // labelTimeRes
  705. //
  706. this->labelTimeRes->AutoSize = true;
  707. this->labelTimeRes->Location = System::Drawing::Point(141, 12);
  708. this->labelTimeRes->Name = L"labelTimeRes";
  709. this->labelTimeRes->Size = System::Drawing::Size(16, 13);
  710. this->labelTimeRes->TabIndex = 35;
  711. this->labelTimeRes->Text = L"---";
  712. //
  713. // label15
  714. //
  715. this->label15->AutoSize = true;
  716. this->label15->Location = System::Drawing::Point(53, 34);
  717. this->label15->Name = L"label15";
  718. this->label15->Size = System::Drawing::Size(82, 13);
  719. this->label15->TabIndex = 27;
  720. this->label15->Text = L"Operating Time:";
  721. //
  722. // labelOpTime
  723. //
  724. this->labelOpTime->AutoSize = true;
  725. this->labelOpTime->Location = System::Drawing::Point(141, 34);
  726. this->labelOpTime->Name = L"labelOpTime";
  727. this->labelOpTime->Size = System::Drawing::Size(16, 13);
  728. this->labelOpTime->TabIndex = 34;
  729. this->labelOpTime->Text = L"---";
  730. //
  731. // label16
  732. //
  733. this->label16->AutoSize = true;
  734. this->label16->Location = System::Drawing::Point(189, 12);
  735. this->label16->Name = L"label16";
  736. this->label16->Size = System::Drawing::Size(82, 13);
  737. this->label16->TabIndex = 28;
  738. this->label16->Text = L"Battery Voltage:";
  739. //
  740. // labelBattVolt
  741. //
  742. this->labelBattVolt->AutoSize = true;
  743. this->labelBattVolt->Location = System::Drawing::Point(277, 12);
  744. this->labelBattVolt->Name = L"labelBattVolt";
  745. this->labelBattVolt->Size = System::Drawing::Size(16, 13);
  746. this->labelBattVolt->TabIndex = 36;
  747. this->labelBattVolt->Text = L"---";
  748. //
  749. // label20
  750. //
  751. this->label20->AutoSize = true;
  752. this->label20->Location = System::Drawing::Point(195, 34);
  753. this->label20->Name = L"label20";
  754. this->label20->Size = System::Drawing::Size(76, 13);
  755. this->label20->TabIndex = 32;
  756. this->label20->Text = L"Battery Status:";
  757. //
  758. // labelBattStatus
  759. //
  760. this->labelBattStatus->AutoSize = true;
  761. this->labelBattStatus->Location = System::Drawing::Point(277, 34);
  762. this->labelBattStatus->Name = L"labelBattStatus";
  763. this->labelBattStatus->Size = System::Drawing::Size(16, 13);
  764. this->labelBattStatus->TabIndex = 37;
  765. this->labelBattStatus->Text = L"---";
  766. //
  767. // tabPage7
  768. //
  769. this->tabPage7->Controls->Add(this->label29);
  770. this->tabPage7->Controls->Add(this->label30);
  771. this->tabPage7->Controls->Add(this->labelDayOfWeek);
  772. this->tabPage7->Controls->Add(this->label23);
  773. this->tabPage7->Controls->Add(this->label27);
  774. this->tabPage7->Controls->Add(this->label28);
  775. this->tabPage7->Controls->Add(this->labelHours);
  776. this->tabPage7->Controls->Add(this->label26);
  777. this->tabPage7->Controls->Add(this->labelMinutes);
  778. this->tabPage7->Controls->Add(this->label25);
  779. this->tabPage7->Controls->Add(this->labelSeconds);
  780. this->tabPage7->Controls->Add(this->labelYear);
  781. this->tabPage7->Controls->Add(this->label24);
  782. this->tabPage7->Controls->Add(this->labelMonth);
  783. this->tabPage7->Controls->Add(this->label37);
  784. this->tabPage7->Controls->Add(this->labelDay);
  785. this->tabPage7->Location = System::Drawing::Point(4, 22);
  786. this->tabPage7->Name = L"tabPage7";
  787. this->tabPage7->Size = System::Drawing::Size(381, 85);
  788. this->tabPage7->TabIndex = 2;
  789. this->tabPage7->Text = L"Time and Data";
  790. this->tabPage7->UseVisualStyleBackColor = true;
  791. //
  792. // label29
  793. //
  794. this->label29->AutoSize = true;
  795. this->label29->Location = System::Drawing::Point(194, 61);
  796. this->label29->Name = L"label29";
  797. this->label29->Size = System::Drawing::Size(56, 13);
  798. this->label29->TabIndex = 59;
  799. this->label29->Text = L"Weekday:";
  800. //
  801. // label30
  802. //
  803. this->label30->AutoSize = true;
  804. this->label30->Location = System::Drawing::Point(3, 19);
  805. this->label30->Name = L"label30";
  806. this->label30->Size = System::Drawing::Size(70, 13);
  807. this->label30->TabIndex = 39;
  808. this->label30->Text = L"Current Time:";
  809. //
  810. // labelDayOfWeek
  811. //
  812. this->labelDayOfWeek->AutoSize = true;
  813. this->labelDayOfWeek->Location = System::Drawing::Point(256, 61);
  814. this->labelDayOfWeek->Name = L"labelDayOfWeek";
  815. this->labelDayOfWeek->Size = System::Drawing::Size(16, 13);
  816. this->labelDayOfWeek->TabIndex = 52;
  817. this->labelDayOfWeek->Text = L"---";
  818. //
  819. // label23
  820. //
  821. this->label23->AutoSize = true;
  822. this->label23->Location = System::Drawing::Point(79, 32);
  823. this->label23->Name = L"label23";
  824. this->label23->Size = System::Drawing::Size(63, 13);
  825. this->label23->TabIndex = 58;
  826. this->label23->Text = L"hh : mm : ss";
  827. //
  828. // label27
  829. //
  830. this->label27->AutoSize = true;
  831. this->label27->Location = System::Drawing::Point(94, 19);
  832. this->label27->Name = L"label27";
  833. this->label27->Size = System::Drawing::Size(10, 13);
  834. this->label27->TabIndex = 42;
  835. this->label27->Text = L":";
  836. //
  837. // label28
  838. //
  839. this->label28->AutoSize = true;
  840. this->label28->Location = System::Drawing::Point(297, 19);
  841. this->label28->Name = L"label28";
  842. this->label28->Size = System::Drawing::Size(12, 13);
  843. this->label28->TabIndex = 57;
  844. this->label28->Text = L"/";
  845. //
  846. // labelHours
  847. //
  848. this->labelHours->AutoSize = true;
  849. this->labelHours->Location = System::Drawing::Point(77, 19);
  850. this->labelHours->Name = L"labelHours";
  851. this->labelHours->Size = System::Drawing::Size(19, 13);
  852. this->labelHours->TabIndex = 43;
  853. this->labelHours->Text = L"00";
  854. //
  855. // label26
  856. //
  857. this->label26->AutoSize = true;
  858. this->label26->Location = System::Drawing::Point(258, 32);
  859. this->label26->Name = L"label26";
  860. this->label26->Size = System::Drawing::Size(67, 13);
  861. this->label26->TabIndex = 56;
  862. this->label26->Text = L"dd / mm / yy";
  863. //
  864. // labelMinutes
  865. //
  866. this->labelMinutes->AutoSize = true;
  867. this->labelMinutes->Location = System::Drawing::Point(102, 19);
  868. this->labelMinutes->Name = L"labelMinutes";
  869. this->labelMinutes->Size = System::Drawing::Size(19, 13);
  870. this->labelMinutes->TabIndex = 44;
  871. this->labelMinutes->Text = L"00";
  872. //
  873. // label25
  874. //
  875. this->label25->AutoSize = true;
  876. this->label25->Location = System::Drawing::Point(271, 19);
  877. this->label25->Name = L"label25";
  878. this->label25->Size = System::Drawing::Size(12, 13);
  879. this->label25->TabIndex = 55;
  880. this->label25->Text = L"/";
  881. //
  882. // labelSeconds
  883. //
  884. this->labelSeconds->AutoSize = true;
  885. this->labelSeconds->Location = System::Drawing::Point(126, 19);
  886. this->labelSeconds->Name = L"labelSeconds";
  887. this->labelSeconds->Size = System::Drawing::Size(19, 13);
  888. this->labelSeconds->TabIndex = 45;
  889. this->labelSeconds->Text = L"00";
  890. //
  891. // labelYear
  892. //
  893. this->labelYear->AutoSize = true;
  894. this->labelYear->Location = System::Drawing::Point(306, 19);
  895. this->labelYear->Name = L"labelYear";
  896. this->labelYear->Size = System::Drawing::Size(19, 13);
  897. this->labelYear->TabIndex = 51;
  898. this->labelYear->Text = L"00";
  899. //
  900. // label24
  901. //
  902. this->label24->AutoSize = true;
  903. this->label24->Location = System::Drawing::Point(180, 19);
  904. this->label24->Name = L"label24";
  905. this->label24->Size = System::Drawing::Size(70, 13);
  906. this->label24->TabIndex = 54;
  907. this->label24->Text = L"Current Date:";
  908. //
  909. // labelMonth
  910. //
  911. this->labelMonth->AutoSize = true;
  912. this->labelMonth->Location = System::Drawing::Point(281, 19);
  913. this->labelMonth->Name = L"labelMonth";
  914. this->labelMonth->Size = System::Drawing::Size(19, 13);
  915. this->labelMonth->TabIndex = 50;
  916. this->labelMonth->Text = L"00";
  917. //
  918. // label37
  919. //
  920. this->label37->AutoSize = true;
  921. this->label37->Location = System::Drawing::Point(118, 19);
  922. this->label37->Name = L"label37";
  923. this->label37->Size = System::Drawing::Size(10, 13);
  924. this->label37->TabIndex = 53;
  925. this->label37->Text = L":";
  926. //
  927. // labelDay
  928. //
  929. this->labelDay->AutoSize = true;
  930. this->labelDay->Location = System::Drawing::Point(256, 18);
  931. this->labelDay->Name = L"labelDay";
  932. this->labelDay->Size = System::Drawing::Size(19, 13);
  933. this->labelDay->TabIndex = 46;
  934. this->labelDay->Text = L"00";
  935. //
  936. // panel_Display
  937. //
  938. this->panel_Display->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D;
  939. this->panel_Display->Controls->Add(this->labelRxFix);
  940. this->panel_Display->Controls->Add(this->labelRxHeading);
  941. this->panel_Display->Controls->Add(this->labelRxElev);
  942. this->panel_Display->Controls->Add(this->label8);
  943. this->panel_Display->Controls->Add(this->label7);
  944. this->panel_Display->Controls->Add(this->label6);
  945. this->panel_Display->Controls->Add(this->labelRxLon);
  946. this->panel_Display->Controls->Add(this->labelRxLat);
  947. this->panel_Display->Controls->Add(this->label5);
  948. this->panel_Display->Controls->Add(this->label2);
  949. this->panel_Display->Controls->Add(this->labelTxInstSpeed);
  950. this->panel_Display->Controls->Add(this->label13);
  951. this->panel_Display->Controls->Add(this->labelTxAcumTime);
  952. this->panel_Display->Controls->Add(this->label11);
  953. this->panel_Display->Controls->Add(this->labelTxAcumDist);
  954. this->panel_Display->Controls->Add(this->label10);
  955. this->panel_Display->Controls->Add(this->label9);
  956. this->panel_Display->Location = System::Drawing::Point(58, 188);
  957. this->panel_Display->Name = L"panel_Display";
  958. this->panel_Display->Size = System::Drawing::Size(200, 90);
  959. this->panel_Display->TabIndex = 1;
  960. //
  961. // labelRxFix
  962. //
  963. this->labelRxFix->AutoSize = true;
  964. this->labelRxFix->Location = System::Drawing::Point(160, 43);
  965. this->labelRxFix->Name = L"labelRxFix";
  966. this->labelRxFix->Size = System::Drawing::Size(16, 13);
  967. this->labelRxFix->TabIndex = 16;
  968. this->labelRxFix->Text = L"---";
  969. //
  970. // labelRxHeading
  971. //
  972. this->labelRxHeading->AutoSize = true;
  973. this->labelRxHeading->Location = System::Drawing::Point(160, 28);
  974. this->labelRxHeading->Name = L"labelRxHeading";
  975. this->labelRxHeading->Size = System::Drawing::Size(16, 13);
  976. this->labelRxHeading->TabIndex = 15;
  977. this->labelRxHeading->Text = L"---";
  978. //
  979. // labelRxElev
  980. //
  981. this->labelRxElev->AutoSize = true;
  982. this->labelRxElev->Location = System::Drawing::Point(160, 13);
  983. this->labelRxElev->Name = L"labelRxElev";
  984. this->labelRxElev->Size = System::Drawing::Size(16, 13);
  985. this->labelRxElev->TabIndex = 14;
  986. this->labelRxElev->Text = L"---";
  987. //
  988. // label8
  989. //
  990. this->label8->AutoSize = true;
  991. this->label8->Location = System::Drawing::Point(100, 43);
  992. this->label8->Name = L"label8";
  993. this->label8->Size = System::Drawing::Size(50, 13);
  994. this->label8->TabIndex = 13;
  995. this->label8->Text = L"Fix Type:";
  996. //
  997. // label7
  998. //
  999. this->label7->AutoSize = true;
  1000. this->label7->Location = System::Drawing::Point(100, 28);
  1001. this->label7->Name = L"label7";
  1002. this->label7->Size = System::Drawing::Size(50, 13);
  1003. this->label7->TabIndex = 12;
  1004. this->label7->Text = L"Heading:";
  1005. //
  1006. // label6
  1007. //
  1008. this->label6->AutoSize = true;
  1009. this->label6->Location = System::Drawing::Point(100, 13);
  1010. this->label6->Name = L"label6";
  1011. this->label6->Size = System::Drawing::Size(54, 13);
  1012. this->label6->TabIndex = 11;
  1013. this->label6->Text = L"Elevation:";
  1014. //
  1015. // labelRxLon
  1016. //
  1017. this->labelRxLon->AutoSize = true;
  1018. this->labelRxLon->Location = System::Drawing::Point(61, 73);
  1019. this->labelRxLon->Name = L"labelRxLon";
  1020. this->labelRxLon->Size = System::Drawing::Size(16, 13);
  1021. this->labelRxLon->TabIndex = 10;
  1022. this->labelRxLon->Text = L"---";
  1023. //
  1024. // labelRxLat
  1025. //
  1026. this->labelRxLat->AutoSize = true;
  1027. this->labelRxLat->Location = System::Drawing::Point(61, 60);
  1028. this->labelRxLat->Name = L"labelRxLat";
  1029. this->labelRxLat->Size = System::Drawing::Size(16, 13);
  1030. this->labelRxLat->TabIndex = 9;
  1031. this->labelRxLat->Text = L"---";
  1032. //
  1033. // label5
  1034. //
  1035. this->label5->AutoSize = true;
  1036. this->label5->Location = System::Drawing::Point(3, 58);
  1037. this->label5->Name = L"label5";
  1038. this->label5->Size = System::Drawing::Size(48, 13);
  1039. this->label5->TabIndex = 8;
  1040. this->label5->Text = L"Latitude:";
  1041. //
  1042. // label2
  1043. //
  1044. this->label2->AutoSize = true;
  1045. this->label2->Location = System::Drawing::Point(3, 73);
  1046. this->label2->Name = L"label2";
  1047. this->label2->Size = System::Drawing::Size(57, 13);
  1048. this->label2->TabIndex = 7;
  1049. this->label2->Text = L"Longitude:";
  1050. //
  1051. // labelTxInstSpeed
  1052. //
  1053. this->labelTxInstSpeed->AutoSize = true;
  1054. this->labelTxInstSpeed->Location = System::Drawing::Point(61, 43);
  1055. this->labelTxInstSpeed->Name = L"labelTxInstSpeed";
  1056. this->labelTxInstSpeed->Size = System::Drawing::Size(16, 13);
  1057. this->labelTxInstSpeed->TabIndex = 6;
  1058. this->labelTxInstSpeed->Text = L"---";
  1059. //
  1060. // label13
  1061. //
  1062. this->label13->AutoSize = true;
  1063. this->label13->Location = System::Drawing::Point(3, 43);
  1064. this->label13->Name = L"label13";
  1065. this->label13->Size = System::Drawing::Size(41, 13);
  1066. this->label13->TabIndex = 5;
  1067. this->label13->Text = L"Speed:";
  1068. //
  1069. // labelTxAcumTime
  1070. //
  1071. this->labelTxAcumTime->AutoSize = true;
  1072. this->labelTxAcumTime->Location = System::Drawing::Point(61, 13);
  1073. this->labelTxAcumTime->Name = L"labelTxAcumTime";
  1074. this->labelTxAcumTime->Size = System::Drawing::Size(16, 13);
  1075. this->labelTxAcumTime->TabIndex = 4;
  1076. this->labelTxAcumTime->Text = L"---";
  1077. //
  1078. // label11
  1079. //
  1080. this->label11->AutoSize = true;
  1081. this->label11->Location = System::Drawing::Point(3, 13);
  1082. this->label11->Name = L"label11";
  1083. this->label11->Size = System::Drawing::Size(33, 13);
  1084. this->label11->TabIndex = 3;
  1085. this->label11->Text = L"Time:";
  1086. //
  1087. // labelTxAcumDist
  1088. //
  1089. this->labelTxAcumDist->AutoSize = true;
  1090. this->labelTxAcumDist->Location = System::Drawing::Point(61, 28);
  1091. this->labelTxAcumDist->Name = L"labelTxAcumDist";
  1092. this->labelTxAcumDist->Size = System::Drawing::Size(16, 13);
  1093. this->labelTxAcumDist->TabIndex = 2;
  1094. this->labelTxAcumDist->Text = L"---";
  1095. //
  1096. // label10
  1097. //
  1098. this->label10->AutoSize = true;
  1099. this->label10->Location = System::Drawing::Point(3, 28);
  1100. this->label10->Name = L"label10";
  1101. this->label10->Size = System::Drawing::Size(52, 13);
  1102. this->label10->TabIndex = 1;
  1103. this->label10->Text = L"Distance:";
  1104. //
  1105. // label9
  1106. //
  1107. this->label9->AutoSize = true;
  1108. this->label9->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline, System::Drawing::GraphicsUnit::Point,
  1109. static_cast<System::Byte>(0)));
  1110. this->label9->Location = System::Drawing::Point(3, 0);
  1111. this->label9->Name = L"label9";
  1112. this->label9->Size = System::Drawing::Size(114, 13);
  1113. this->label9->TabIndex = 0;
  1114. this->label9->Text = L"Current MSM Rx Data:";
  1115. //
  1116. // MSMDisplay
  1117. //
  1118. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1119. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1120. this->ClientSize = System::Drawing::Size(794, 351);
  1121. this->Controls->Add(this->panel_Display);
  1122. this->Controls->Add(this->panel_Settings);
  1123. this->Name = L"MSMDisplay";
  1124. this->Text = L"Multi-Sport Speed and Distance Display";
  1125. this->panel_Settings->ResumeLayout(false);
  1126. this->tabControl1->ResumeLayout(false);
  1127. this->tabPage1->ResumeLayout(false);
  1128. this->tabPage1->PerformLayout();
  1129. this->tabPage2->ResumeLayout(false);
  1130. this->tabPage2->PerformLayout();
  1131. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownScaleFactor))->EndInit();
  1132. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownMode))->EndInit();
  1133. this->tabPage3->ResumeLayout(false);
  1134. this->tabControl2->ResumeLayout(false);
  1135. this->tabPage5->ResumeLayout(false);
  1136. this->tabPage5->PerformLayout();
  1137. this->tabPage6->ResumeLayout(false);
  1138. this->tabPage6->PerformLayout();
  1139. this->tabPage7->ResumeLayout(false);
  1140. this->tabPage7->PerformLayout();
  1141. this->panel_Display->ResumeLayout(false);
  1142. this->panel_Display->PerformLayout();
  1143. this->ResumeLayout(false);
  1144. }
  1145. #pragma endregion
  1146. };