TemperatureSensor.h 63 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127
  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. /*
  9. * VCS Information - autogenerated - do not modify
  10. *
  11. * $Header: /repository/Support_Utilities/ANTPlus_Simulator/devices/TemperatureSensor.h,v 1.9 2012-10-11 21:07:36 canotinoco Exp $
  12. *
  13. **************************************************************************
  14. *
  15. * $Log: TemperatureSensor.h,v $
  16. * Revision 1.9 2012-10-11 21:07:36 canotinoco
  17. * Updated headers in all files to put all the source code of the simulator under the ANT+ Shared Source license
  18. * Added License.txt to be included with the file
  19. * Network key is available now in public releases, with a disclaimer prohibiting its redistribution in source form, according to the license terms
  20. *
  21. * Revision 1.8 2012-08-02 15:11:49 laprairie
  22. * - Update to Temp
  23. * - Update Racquet to include new pages (36, 37, 38)
  24. * - Reverted SimTypes.h to normal build version (was temp beta before)
  25. * - Updated sim-release.pl to include missing devices (was also temp beta before)
  26. *
  27. * Revision 1.7 2012-07-23 15:48:51 laprairie
  28. * - Bug fixes regarding period switching for temperature sensor and display.
  29. * - Battery page bug fixes for temperature display
  30. *
  31. * Revision 1.6 2012-07-20 20:39:28 laprairie
  32. * Added functionality for page 82 in temperature sensor and display
  33. * Implemented 4Hz/0.5Hz period changing in accordance with the temp profile
  34. *
  35. * Revision 1.5 2012-06-21 16:03:40 laprairie
  36. * Added Current Time into Temperature TxInfo bit field - updated Temperature UI's
  37. *
  38. * Revision 1.4 2012-06-18 22:48:19 laprairie
  39. * Small UI tweaks (labels)
  40. *
  41. * Revision 1.3 2012-06-05 19:27:06 laprairie
  42. * - fixed undefined pages bug in BikeSpeedDisplay.cpp
  43. * - minor change to invalid value representation in temperature sensor/display
  44. *
  45. * Revision 1.2 2012-05-14 23:56:35 laprairie
  46. * Fixed: However it was that I managed to break it
  47. * Removed: Irrelevant elapsed time functionality
  48. * Rearranged: UI
  49. *
  50. **************************************************************************
  51. *
  52. * LOG PRIOR TO MERGE (SigSim)
  53. * Revision 1.1.1.1 2008/08/12 22:22:07 gallup
  54. * Intial Revision
  55. *
  56. **************************************************************************
  57. */
  58. #pragma once
  59. #include "StdAfx.h"
  60. #include "ISimBase.h"
  61. #include "antplus_temperature.h"
  62. #include "antplus_common.h"
  63. #include "types.h"
  64. #include "antdefines.h"
  65. using namespace System;
  66. using namespace System::ComponentModel;
  67. using namespace System::Collections;
  68. using namespace System::Windows::Forms;
  69. using namespace System::Data;
  70. using namespace System::Drawing;
  71. public ref class TemperatureSensor : public System::Windows::Forms::Form, public ISimBase{
  72. public:
  73. TemperatureSensor(System::Timers::Timer^ channelTimer, dRequestUpdateMesgPeriod^ channelUpdateMesgPeriod){
  74. InitializeComponent();
  75. TemperatureData = gcnew Temperature();
  76. commonData = gcnew CommonData();
  77. requestUpdateMesgPeriod = channelUpdateMesgPeriod;
  78. timerHandle = channelTimer;
  79. InitializeSim();
  80. }
  81. ~TemperatureSensor(){
  82. this->panel_Display->Controls->Clear();
  83. this->panel_Settings->Controls->Clear();
  84. delete this->panel_Display;
  85. delete this->panel_Settings;
  86. //clean up floating resources with the garbage collector
  87. GC::Collect(2);
  88. if (components)
  89. {
  90. delete components;
  91. }
  92. }
  93. // Methods required by the interface class
  94. public:
  95. virtual void onTimerTock(USHORT eventTime);
  96. virtual void ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_);
  97. virtual UCHAR getDeviceType(){return TemperatureData->DEVICE_TYPE;}
  98. virtual UCHAR getTransmissionType(){return TemperatureData->TX_TYPE_SENSOR;}
  99. virtual USHORT getTransmitPeriod(){return TemperatureData->MESG_P5HZ_PERIOD;}
  100. virtual DOUBLE getTimerInterval(){return (double) ulTimerInterval;}
  101. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  102. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  103. private:
  104. void InitializeSim(); // Initialize simulation
  105. void HandleTransmit(UCHAR* pucTxBuffer_); // Handles the data page transmissions
  106. void HandleReceive(UCHAR* pucRxBuffer_); // Handles page requests
  107. void UpdateBatStatus();
  108. void UpdateDisplay();
  109. void ForceUpdate();
  110. System::Void radioButton_SimTypeChanged (System::Object^ sender, System::EventArgs^ e);
  111. System::Void numericUpDown_Prm_CurTemp_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  112. System::Void numericUpDown_Prm_MinMaxTemp_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  113. System::Void numericUpDown_Prm_24HrHighLow_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  114. System::Void button_AdvancedUpdate_Click(System::Object^ sender, System::EventArgs^ e);
  115. System::Void radioButton_Time_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  116. System::Void checkBox_Bat_Status_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  117. System::Void checkBox_Bat_Voltage_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  118. System::Void numericUpDown_Bat_VoltInt_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  119. System::Void numericUpDown_Bat_VoltFrac_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  120. System::Void comboBoxBatStatus_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e);
  121. System::Void button_Bat_ElpTimeUpdate_Click(System::Object^ sender, System::EventArgs^ e);
  122. System::Void radioButton_Bat_Elp2Units_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  123. System::Void radioButton_Bat_Elp16Units_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  124. System::Void radioButton_Default_4Hz_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  125. private:
  126. //dRequestAckMsg^ requestAckMsg;
  127. dRequestUpdateMesgPeriod^ requestUpdateMesgPeriod;
  128. Temperature^ TemperatureData; // Temperature class variable
  129. CommonData^ commonData;
  130. System::Timers::Timer^ timerHandle;
  131. ULONG ulTimerInterval;
  132. ULONG ulTotalTime; // used to track the on time for the batt page
  133. // Simulator Variables
  134. ULONG ulRunTime; // Time in ms
  135. UCHAR ucReserved; // Reserved field
  136. UCHAR ucEventCount; // Event count
  137. short sMinTemp; // Minimum Temperature (hundredths of deg C)
  138. short sCurTemp; // Current Temperature (hundredths of deg C)
  139. short sMaxTemp; // Maximum Temperature (hundredths of deg C)
  140. UCHAR ucRequestCount; // Used to count the number of times to re-send the request pages
  141. UCHAR TxInfo; // Contains Transmission info for Page 0
  142. // Background Data
  143. USHORT usMfgID; // Manufacturing ID
  144. UCHAR ucHwVersion; // Hardware version
  145. UCHAR ucSwVersion; // Software version
  146. USHORT usModelNum; // Model number
  147. USHORT usSerialNum; // Serial number
  148. // Status
  149. UCHAR ucSimDataType; // Method to generate simulated data
  150. BOOL bSweepAscending; // Sweep through heart rate values ascending
  151. BOOL b4HzDefault;
  152. private: System::Windows::Forms::Panel^ panel_Settings;
  153. private: System::Windows::Forms::Panel^ panel_Display;
  154. private: System::Windows::Forms::TabControl^ tabControl1;
  155. private: System::Windows::Forms::TabPage^ tabPage1;
  156. private: System::Windows::Forms::TabPage^ tabPage2;
  157. private: System::Windows::Forms::Label^ label_EventCount;
  158. private: System::Windows::Forms::Label^ label_TxEventCount;
  159. private: System::Windows::Forms::Label^ label_TranslatedDisplayLabel;
  160. private: System::Windows::Forms::Label^ label_TempTx;
  161. private: System::Windows::Forms::Label^ label_TxTempOf;
  162. private: System::Windows::Forms::Label^ label_SoftwareVer;
  163. private: System::Windows::Forms::Label^ label_HardwareVer;
  164. private: System::Windows::Forms::Label^ label_ManfID;
  165. private: System::Windows::Forms::Label^ label_ModelNum;
  166. private: System::Windows::Forms::Label^ label_AdvancedError;
  167. private: System::Windows::Forms::TextBox^ textBox_SoftwareVerChange;
  168. private: System::Windows::Forms::Button^ button_AdvancedUpdate;
  169. private: System::Windows::Forms::TextBox^ textBox_HardwareVerChange;
  170. private: System::Windows::Forms::TextBox^ textBox_ModelNumChange;
  171. private: System::Windows::Forms::TextBox^ textBox_SerialNumChange;
  172. private: System::Windows::Forms::TextBox^ textBox_ManfIDChange;
  173. private: System::Windows::Forms::Label^ label_SerialNum;
  174. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Prm_MaxTemp;
  175. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Prm_MinTemp;
  176. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Prm_CurTemp;
  177. private: System::Windows::Forms::RadioButton^ radioButton_SimTypeSweep;
  178. private: System::Windows::Forms::RadioButton^ radioButton_SimTypeFixed;
  179. private: System::Windows::Forms::Label^ label_MaxTemp;
  180. private: System::Windows::Forms::Label^ label_CurrentTemp;
  181. private: System::Windows::Forms::Label^ label_MinTemp;
  182. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Prm_24HrHigh;
  183. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Prm_24HrLow;
  184. private: System::Windows::Forms::Label^ label_Prm_24HrLow;
  185. private: System::Windows::Forms::Label^ label_Prm_24HrHigh;
  186. private: System::Windows::Forms::TabPage^ tabPage3;
  187. private: System::Windows::Forms::RadioButton^ radioButton_UTCTime_Set;
  188. private: System::Windows::Forms::RadioButton^ radioButton_UTCTime_NotSet;
  189. private: System::Windows::Forms::RadioButton^ radioButton_UTCTime_NotSupported;
  190. private: System::Windows::Forms::TabControl^ tabControl2;
  191. private: System::Windows::Forms::TabPage^ tabPage4;
  192. private: System::Windows::Forms::TabPage^ tabPage5;
  193. private: System::Windows::Forms::Label^ label19;
  194. private: System::Windows::Forms::ComboBox^ comboBoxBatStatus;
  195. private: System::Windows::Forms::Label^ label_Voltage_Display;
  196. private: System::Windows::Forms::GroupBox^ groupBox_Resol;
  197. private: System::Windows::Forms::RadioButton^ radioButton_Bat_Elp2Units;
  198. private: System::Windows::Forms::RadioButton^ radioButton_Bat_Elp16Units;
  199. private: System::Windows::Forms::Label^ label_Bat_ElpTimeDisplay;
  200. private: System::Windows::Forms::Label^ label_Bat_ElpTime;
  201. private: System::Windows::Forms::CheckBox^ checkBox_Bat_Status;
  202. private: System::Windows::Forms::Label^ label20;
  203. private: System::Windows::Forms::Button^ button_Bat_ElpTimeUpdate;
  204. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Bat_VoltInt;
  205. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Bat_VoltFrac;
  206. private: System::Windows::Forms::CheckBox^ checkBox_Bat_Voltage;
  207. private: System::Windows::Forms::TextBox^ textBox_Bat_ElpTimeChange;
  208. private: System::Windows::Forms::GroupBox^ groupBox_defaultPeriod;
  209. private: System::Windows::Forms::RadioButton^ radioButton_Default_4Hz;
  210. private: System::Windows::Forms::RadioButton^ radioButton_Default_P5Hz;
  211. private: System::Windows::Forms::TableLayoutPanel^ tableLayoutPanel_TxInfo_Time;
  212. private: System::Windows::Forms::GroupBox^ groupBox_UTC_Time;
  213. private: System::Windows::Forms::GroupBox^ groupBox_Local_Time;
  214. private: System::Windows::Forms::RadioButton^ radioButton_LocalTime_Set;
  215. private: System::Windows::Forms::RadioButton^ radioButton_LocalTime_NotSupported;
  216. private: System::Windows::Forms::RadioButton^ radioButton_LocalTime_NotSet;
  217. /// <summary>
  218. /// Required designer variable.a
  219. /// </summary>
  220. System::ComponentModel::Container ^components;
  221. #pragma region Windows Form Designer generated code
  222. /// <summary>
  223. /// Required method for Designer support - do not modify
  224. /// the contents of this method with the code editor.
  225. /// </summary>
  226. void InitializeComponent(void)
  227. {
  228. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  229. this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
  230. this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
  231. this->groupBox_defaultPeriod = (gcnew System::Windows::Forms::GroupBox());
  232. this->radioButton_Default_4Hz = (gcnew System::Windows::Forms::RadioButton());
  233. this->radioButton_Default_P5Hz = (gcnew System::Windows::Forms::RadioButton());
  234. this->numericUpDown_Prm_24HrHigh = (gcnew System::Windows::Forms::NumericUpDown());
  235. this->numericUpDown_Prm_24HrLow = (gcnew System::Windows::Forms::NumericUpDown());
  236. this->label_Prm_24HrLow = (gcnew System::Windows::Forms::Label());
  237. this->label_Prm_24HrHigh = (gcnew System::Windows::Forms::Label());
  238. this->numericUpDown_Prm_MaxTemp = (gcnew System::Windows::Forms::NumericUpDown());
  239. this->numericUpDown_Prm_MinTemp = (gcnew System::Windows::Forms::NumericUpDown());
  240. this->numericUpDown_Prm_CurTemp = (gcnew System::Windows::Forms::NumericUpDown());
  241. this->radioButton_SimTypeSweep = (gcnew System::Windows::Forms::RadioButton());
  242. this->radioButton_SimTypeFixed = (gcnew System::Windows::Forms::RadioButton());
  243. this->label_MaxTemp = (gcnew System::Windows::Forms::Label());
  244. this->label_CurrentTemp = (gcnew System::Windows::Forms::Label());
  245. this->label_MinTemp = (gcnew System::Windows::Forms::Label());
  246. this->tabPage3 = (gcnew System::Windows::Forms::TabPage());
  247. this->tableLayoutPanel_TxInfo_Time = (gcnew System::Windows::Forms::TableLayoutPanel());
  248. this->groupBox_UTC_Time = (gcnew System::Windows::Forms::GroupBox());
  249. this->radioButton_UTCTime_Set = (gcnew System::Windows::Forms::RadioButton());
  250. this->radioButton_UTCTime_NotSupported = (gcnew System::Windows::Forms::RadioButton());
  251. this->radioButton_UTCTime_NotSet = (gcnew System::Windows::Forms::RadioButton());
  252. this->groupBox_Local_Time = (gcnew System::Windows::Forms::GroupBox());
  253. this->radioButton_LocalTime_Set = (gcnew System::Windows::Forms::RadioButton());
  254. this->radioButton_LocalTime_NotSupported = (gcnew System::Windows::Forms::RadioButton());
  255. this->radioButton_LocalTime_NotSet = (gcnew System::Windows::Forms::RadioButton());
  256. this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
  257. this->tabControl2 = (gcnew System::Windows::Forms::TabControl());
  258. this->tabPage4 = (gcnew System::Windows::Forms::TabPage());
  259. this->label_SoftwareVer = (gcnew System::Windows::Forms::Label());
  260. this->label_ManfID = (gcnew System::Windows::Forms::Label());
  261. this->label_HardwareVer = (gcnew System::Windows::Forms::Label());
  262. this->label_SerialNum = (gcnew System::Windows::Forms::Label());
  263. this->textBox_ManfIDChange = (gcnew System::Windows::Forms::TextBox());
  264. this->label_ModelNum = (gcnew System::Windows::Forms::Label());
  265. this->textBox_SerialNumChange = (gcnew System::Windows::Forms::TextBox());
  266. this->label_AdvancedError = (gcnew System::Windows::Forms::Label());
  267. this->textBox_ModelNumChange = (gcnew System::Windows::Forms::TextBox());
  268. this->textBox_SoftwareVerChange = (gcnew System::Windows::Forms::TextBox());
  269. this->textBox_HardwareVerChange = (gcnew System::Windows::Forms::TextBox());
  270. this->button_AdvancedUpdate = (gcnew System::Windows::Forms::Button());
  271. this->tabPage5 = (gcnew System::Windows::Forms::TabPage());
  272. this->label20 = (gcnew System::Windows::Forms::Label());
  273. this->button_Bat_ElpTimeUpdate = (gcnew System::Windows::Forms::Button());
  274. this->numericUpDown_Bat_VoltInt = (gcnew System::Windows::Forms::NumericUpDown());
  275. this->numericUpDown_Bat_VoltFrac = (gcnew System::Windows::Forms::NumericUpDown());
  276. this->checkBox_Bat_Voltage = (gcnew System::Windows::Forms::CheckBox());
  277. this->textBox_Bat_ElpTimeChange = (gcnew System::Windows::Forms::TextBox());
  278. this->label19 = (gcnew System::Windows::Forms::Label());
  279. this->comboBoxBatStatus = (gcnew System::Windows::Forms::ComboBox());
  280. this->label_Voltage_Display = (gcnew System::Windows::Forms::Label());
  281. this->groupBox_Resol = (gcnew System::Windows::Forms::GroupBox());
  282. this->radioButton_Bat_Elp2Units = (gcnew System::Windows::Forms::RadioButton());
  283. this->radioButton_Bat_Elp16Units = (gcnew System::Windows::Forms::RadioButton());
  284. this->label_Bat_ElpTimeDisplay = (gcnew System::Windows::Forms::Label());
  285. this->label_Bat_ElpTime = (gcnew System::Windows::Forms::Label());
  286. this->checkBox_Bat_Status = (gcnew System::Windows::Forms::CheckBox());
  287. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  288. this->label_EventCount = (gcnew System::Windows::Forms::Label());
  289. this->label_TxEventCount = (gcnew System::Windows::Forms::Label());
  290. this->label_TranslatedDisplayLabel = (gcnew System::Windows::Forms::Label());
  291. this->label_TempTx = (gcnew System::Windows::Forms::Label());
  292. this->label_TxTempOf = (gcnew System::Windows::Forms::Label());
  293. this->panel_Settings->SuspendLayout();
  294. this->tabControl1->SuspendLayout();
  295. this->tabPage1->SuspendLayout();
  296. this->groupBox_defaultPeriod->SuspendLayout();
  297. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_24HrHigh))->BeginInit();
  298. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_24HrLow))->BeginInit();
  299. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_MaxTemp))->BeginInit();
  300. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_MinTemp))->BeginInit();
  301. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_CurTemp))->BeginInit();
  302. this->tabPage3->SuspendLayout();
  303. this->tableLayoutPanel_TxInfo_Time->SuspendLayout();
  304. this->groupBox_UTC_Time->SuspendLayout();
  305. this->groupBox_Local_Time->SuspendLayout();
  306. this->tabPage2->SuspendLayout();
  307. this->tabControl2->SuspendLayout();
  308. this->tabPage4->SuspendLayout();
  309. this->tabPage5->SuspendLayout();
  310. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Bat_VoltInt))->BeginInit();
  311. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Bat_VoltFrac))->BeginInit();
  312. this->groupBox_Resol->SuspendLayout();
  313. this->panel_Display->SuspendLayout();
  314. this->SuspendLayout();
  315. //
  316. // panel_Settings
  317. //
  318. this->panel_Settings->Controls->Add(this->tabControl1);
  319. this->panel_Settings->Location = System::Drawing::Point(322, 40);
  320. this->panel_Settings->Name = L"panel_Settings";
  321. this->panel_Settings->Size = System::Drawing::Size(400, 166);
  322. this->panel_Settings->TabIndex = 0;
  323. //
  324. // tabControl1
  325. //
  326. this->tabControl1->Controls->Add(this->tabPage1);
  327. this->tabControl1->Controls->Add(this->tabPage3);
  328. this->tabControl1->Controls->Add(this->tabPage2);
  329. this->tabControl1->Dock = System::Windows::Forms::DockStyle::Fill;
  330. this->tabControl1->Location = System::Drawing::Point(0, 0);
  331. this->tabControl1->Name = L"tabControl1";
  332. this->tabControl1->SelectedIndex = 0;
  333. this->tabControl1->Size = System::Drawing::Size(400, 166);
  334. this->tabControl1->TabIndex = 0;
  335. //
  336. // tabPage1
  337. //
  338. this->tabPage1->Controls->Add(this->groupBox_defaultPeriod);
  339. this->tabPage1->Controls->Add(this->numericUpDown_Prm_24HrHigh);
  340. this->tabPage1->Controls->Add(this->numericUpDown_Prm_24HrLow);
  341. this->tabPage1->Controls->Add(this->label_Prm_24HrLow);
  342. this->tabPage1->Controls->Add(this->label_Prm_24HrHigh);
  343. this->tabPage1->Controls->Add(this->numericUpDown_Prm_MaxTemp);
  344. this->tabPage1->Controls->Add(this->numericUpDown_Prm_MinTemp);
  345. this->tabPage1->Controls->Add(this->numericUpDown_Prm_CurTemp);
  346. this->tabPage1->Controls->Add(this->radioButton_SimTypeSweep);
  347. this->tabPage1->Controls->Add(this->radioButton_SimTypeFixed);
  348. this->tabPage1->Controls->Add(this->label_MaxTemp);
  349. this->tabPage1->Controls->Add(this->label_CurrentTemp);
  350. this->tabPage1->Controls->Add(this->label_MinTemp);
  351. this->tabPage1->Location = System::Drawing::Point(4, 22);
  352. this->tabPage1->Name = L"tabPage1";
  353. this->tabPage1->Padding = System::Windows::Forms::Padding(3);
  354. this->tabPage1->Size = System::Drawing::Size(392, 140);
  355. this->tabPage1->TabIndex = 0;
  356. this->tabPage1->Text = L"Parameters";
  357. this->tabPage1->UseVisualStyleBackColor = true;
  358. //
  359. // groupBox_defaultPeriod
  360. //
  361. this->groupBox_defaultPeriod->Controls->Add(this->radioButton_Default_4Hz);
  362. this->groupBox_defaultPeriod->Controls->Add(this->radioButton_Default_P5Hz);
  363. this->groupBox_defaultPeriod->Enabled = false;
  364. this->groupBox_defaultPeriod->Location = System::Drawing::Point(218, 80);
  365. this->groupBox_defaultPeriod->Name = L"groupBox_defaultPeriod";
  366. this->groupBox_defaultPeriod->Size = System::Drawing::Size(114, 44);
  367. this->groupBox_defaultPeriod->TabIndex = 31;
  368. this->groupBox_defaultPeriod->TabStop = false;
  369. this->groupBox_defaultPeriod->Text = L"Default Tx Period";
  370. //
  371. // radioButton_Default_4Hz
  372. //
  373. this->radioButton_Default_4Hz->AutoSize = true;
  374. this->radioButton_Default_4Hz->Location = System::Drawing::Point(65, 19);
  375. this->radioButton_Default_4Hz->Name = L"radioButton_Default_4Hz";
  376. this->radioButton_Default_4Hz->Size = System::Drawing::Size(44, 17);
  377. this->radioButton_Default_4Hz->TabIndex = 1;
  378. this->radioButton_Default_4Hz->Text = L"4Hz";
  379. this->radioButton_Default_4Hz->UseVisualStyleBackColor = true;
  380. this->radioButton_Default_4Hz->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Default_4Hz_CheckedChanged);
  381. //
  382. // radioButton_Default_P5Hz
  383. //
  384. this->radioButton_Default_P5Hz->AutoSize = true;
  385. this->radioButton_Default_P5Hz->Checked = true;
  386. this->radioButton_Default_P5Hz->Location = System::Drawing::Point(6, 19);
  387. this->radioButton_Default_P5Hz->Name = L"radioButton_Default_P5Hz";
  388. this->radioButton_Default_P5Hz->Size = System::Drawing::Size(53, 17);
  389. this->radioButton_Default_P5Hz->TabIndex = 0;
  390. this->radioButton_Default_P5Hz->TabStop = true;
  391. this->radioButton_Default_P5Hz->Text = L"0.5Hz";
  392. this->radioButton_Default_P5Hz->UseVisualStyleBackColor = true;
  393. //
  394. // numericUpDown_Prm_24HrHigh
  395. //
  396. this->numericUpDown_Prm_24HrHigh->DecimalPlaces = 1;
  397. this->numericUpDown_Prm_24HrHigh->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
  398. this->numericUpDown_Prm_24HrHigh->Location = System::Drawing::Point(218, 28);
  399. this->numericUpDown_Prm_24HrHigh->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2047, 0, 0, 65536});
  400. this->numericUpDown_Prm_24HrHigh->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2047, 0, 0, -2147418112});
  401. this->numericUpDown_Prm_24HrHigh->Name = L"numericUpDown_Prm_24HrHigh";
  402. this->numericUpDown_Prm_24HrHigh->Size = System::Drawing::Size(60, 20);
  403. this->numericUpDown_Prm_24HrHigh->TabIndex = 30;
  404. this->numericUpDown_Prm_24HrHigh->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {45, 0, 0, 0});
  405. this->numericUpDown_Prm_24HrHigh->ValueChanged += gcnew System::EventHandler(this, &TemperatureSensor::numericUpDown_Prm_24HrHighLow_ValueChanged);
  406. //
  407. // numericUpDown_Prm_24HrLow
  408. //
  409. this->numericUpDown_Prm_24HrLow->DecimalPlaces = 1;
  410. this->numericUpDown_Prm_24HrLow->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
  411. this->numericUpDown_Prm_24HrLow->Location = System::Drawing::Point(218, 52);
  412. this->numericUpDown_Prm_24HrLow->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2047, 0, 0, 65536});
  413. this->numericUpDown_Prm_24HrLow->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2047, 0, 0, -2147418112});
  414. this->numericUpDown_Prm_24HrLow->Name = L"numericUpDown_Prm_24HrLow";
  415. this->numericUpDown_Prm_24HrLow->Size = System::Drawing::Size(60, 20);
  416. this->numericUpDown_Prm_24HrLow->TabIndex = 29;
  417. this->numericUpDown_Prm_24HrLow->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {5, 0, 0, System::Int32::MinValue});
  418. this->numericUpDown_Prm_24HrLow->ValueChanged += gcnew System::EventHandler(this, &TemperatureSensor::numericUpDown_Prm_24HrHighLow_ValueChanged);
  419. //
  420. // label_Prm_24HrLow
  421. //
  422. this->label_Prm_24HrLow->AutoSize = true;
  423. this->label_Prm_24HrLow->Location = System::Drawing::Point(136, 54);
  424. this->label_Prm_24HrLow->Name = L"label_Prm_24HrLow";
  425. this->label_Prm_24HrLow->Size = System::Drawing::Size(76, 13);
  426. this->label_Prm_24HrLow->TabIndex = 28;
  427. this->label_Prm_24HrLow->Text = L"24 Hr Low (°C)";
  428. //
  429. // label_Prm_24HrHigh
  430. //
  431. this->label_Prm_24HrHigh->AutoSize = true;
  432. this->label_Prm_24HrHigh->Location = System::Drawing::Point(134, 30);
  433. this->label_Prm_24HrHigh->Name = L"label_Prm_24HrHigh";
  434. this->label_Prm_24HrHigh->Size = System::Drawing::Size(78, 13);
  435. this->label_Prm_24HrHigh->TabIndex = 27;
  436. this->label_Prm_24HrHigh->Text = L"24 Hr High (°C)";
  437. //
  438. // numericUpDown_Prm_MaxTemp
  439. //
  440. this->numericUpDown_Prm_MaxTemp->DecimalPlaces = 2;
  441. this->numericUpDown_Prm_MaxTemp->Enabled = false;
  442. this->numericUpDown_Prm_MaxTemp->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  443. this->numericUpDown_Prm_MaxTemp->Location = System::Drawing::Point(66, 78);
  444. this->numericUpDown_Prm_MaxTemp->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {32767, 0, 0, 131072});
  445. this->numericUpDown_Prm_MaxTemp->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {32767, 0, 0, -2147352576});
  446. this->numericUpDown_Prm_MaxTemp->Name = L"numericUpDown_Prm_MaxTemp";
  447. this->numericUpDown_Prm_MaxTemp->Size = System::Drawing::Size(60, 20);
  448. this->numericUpDown_Prm_MaxTemp->TabIndex = 23;
  449. this->numericUpDown_Prm_MaxTemp->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {35, 0, 0, 0});
  450. this->numericUpDown_Prm_MaxTemp->ValueChanged += gcnew System::EventHandler(this, &TemperatureSensor::numericUpDown_Prm_MinMaxTemp_ValueChanged);
  451. //
  452. // numericUpDown_Prm_MinTemp
  453. //
  454. this->numericUpDown_Prm_MinTemp->DecimalPlaces = 2;
  455. this->numericUpDown_Prm_MinTemp->Enabled = false;
  456. this->numericUpDown_Prm_MinTemp->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  457. this->numericUpDown_Prm_MinTemp->Location = System::Drawing::Point(66, 27);
  458. this->numericUpDown_Prm_MinTemp->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {32767, 0, 0, 131072});
  459. this->numericUpDown_Prm_MinTemp->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {32767, 0, 0, -2147352576});
  460. this->numericUpDown_Prm_MinTemp->Name = L"numericUpDown_Prm_MinTemp";
  461. this->numericUpDown_Prm_MinTemp->Size = System::Drawing::Size(60, 20);
  462. this->numericUpDown_Prm_MinTemp->TabIndex = 22;
  463. this->numericUpDown_Prm_MinTemp->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {10, 0, 0, System::Int32::MinValue});
  464. this->numericUpDown_Prm_MinTemp->ValueChanged += gcnew System::EventHandler(this, &TemperatureSensor::numericUpDown_Prm_MinMaxTemp_ValueChanged);
  465. //
  466. // numericUpDown_Prm_CurTemp
  467. //
  468. this->numericUpDown_Prm_CurTemp->DecimalPlaces = 2;
  469. this->numericUpDown_Prm_CurTemp->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  470. this->numericUpDown_Prm_CurTemp->Location = System::Drawing::Point(66, 52);
  471. this->numericUpDown_Prm_CurTemp->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {32767, 0, 0, 131072});
  472. this->numericUpDown_Prm_CurTemp->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {32767, 0, 0, -2147352576});
  473. this->numericUpDown_Prm_CurTemp->Name = L"numericUpDown_Prm_CurTemp";
  474. this->numericUpDown_Prm_CurTemp->Size = System::Drawing::Size(60, 20);
  475. this->numericUpDown_Prm_CurTemp->TabIndex = 20;
  476. this->numericUpDown_Prm_CurTemp->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {23, 0, 0, 0});
  477. this->numericUpDown_Prm_CurTemp->ValueChanged += gcnew System::EventHandler(this, &TemperatureSensor::numericUpDown_Prm_CurTemp_ValueChanged);
  478. //
  479. // radioButton_SimTypeSweep
  480. //
  481. this->radioButton_SimTypeSweep->AutoSize = true;
  482. this->radioButton_SimTypeSweep->Location = System::Drawing::Point(296, 52);
  483. this->radioButton_SimTypeSweep->Name = L"radioButton_SimTypeSweep";
  484. this->radioButton_SimTypeSweep->Size = System::Drawing::Size(58, 17);
  485. this->radioButton_SimTypeSweep->TabIndex = 26;
  486. this->radioButton_SimTypeSweep->Text = L"Sweep";
  487. this->radioButton_SimTypeSweep->UseVisualStyleBackColor = true;
  488. this->radioButton_SimTypeSweep->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_SimTypeChanged);
  489. //
  490. // radioButton_SimTypeFixed
  491. //
  492. this->radioButton_SimTypeFixed->AutoSize = true;
  493. this->radioButton_SimTypeFixed->Checked = true;
  494. this->radioButton_SimTypeFixed->Location = System::Drawing::Point(296, 28);
  495. this->radioButton_SimTypeFixed->Name = L"radioButton_SimTypeFixed";
  496. this->radioButton_SimTypeFixed->Size = System::Drawing::Size(50, 17);
  497. this->radioButton_SimTypeFixed->TabIndex = 25;
  498. this->radioButton_SimTypeFixed->TabStop = true;
  499. this->radioButton_SimTypeFixed->Text = L"Fixed";
  500. this->radioButton_SimTypeFixed->UseVisualStyleBackColor = true;
  501. this->radioButton_SimTypeFixed->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_SimTypeChanged);
  502. //
  503. // label_MaxTemp
  504. //
  505. this->label_MaxTemp->AutoSize = true;
  506. this->label_MaxTemp->Location = System::Drawing::Point(13, 80);
  507. this->label_MaxTemp->Name = L"label_MaxTemp";
  508. this->label_MaxTemp->Size = System::Drawing::Size(47, 13);
  509. this->label_MaxTemp->TabIndex = 21;
  510. this->label_MaxTemp->Text = L"Max (°C)";
  511. //
  512. // label_CurrentTemp
  513. //
  514. this->label_CurrentTemp->AutoSize = true;
  515. this->label_CurrentTemp->Location = System::Drawing::Point(-1, 54);
  516. this->label_CurrentTemp->Name = L"label_CurrentTemp";
  517. this->label_CurrentTemp->Size = System::Drawing::Size(61, 13);
  518. this->label_CurrentTemp->TabIndex = 19;
  519. this->label_CurrentTemp->Text = L"Current (°C)";
  520. //
  521. // label_MinTemp
  522. //
  523. this->label_MinTemp->AutoSize = true;
  524. this->label_MinTemp->Location = System::Drawing::Point(16, 30);
  525. this->label_MinTemp->Name = L"label_MinTemp";
  526. this->label_MinTemp->Size = System::Drawing::Size(44, 13);
  527. this->label_MinTemp->TabIndex = 18;
  528. this->label_MinTemp->Text = L"Min (°C)";
  529. //
  530. // tabPage3
  531. //
  532. this->tabPage3->Controls->Add(this->tableLayoutPanel_TxInfo_Time);
  533. this->tabPage3->Location = System::Drawing::Point(4, 22);
  534. this->tabPage3->Name = L"tabPage3";
  535. this->tabPage3->Size = System::Drawing::Size(392, 140);
  536. this->tabPage3->TabIndex = 2;
  537. this->tabPage3->Text = L"Time";
  538. this->tabPage3->UseVisualStyleBackColor = true;
  539. //
  540. // tableLayoutPanel_TxInfo_Time
  541. //
  542. this->tableLayoutPanel_TxInfo_Time->ColumnCount = 2;
  543. this->tableLayoutPanel_TxInfo_Time->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
  544. 50)));
  545. this->tableLayoutPanel_TxInfo_Time->ColumnStyles->Add((gcnew System::Windows::Forms::ColumnStyle(System::Windows::Forms::SizeType::Percent,
  546. 50)));
  547. this->tableLayoutPanel_TxInfo_Time->Controls->Add(this->groupBox_UTC_Time, 0, 0);
  548. this->tableLayoutPanel_TxInfo_Time->Controls->Add(this->groupBox_Local_Time, 1, 0);
  549. this->tableLayoutPanel_TxInfo_Time->Dock = System::Windows::Forms::DockStyle::Fill;
  550. this->tableLayoutPanel_TxInfo_Time->Location = System::Drawing::Point(0, 0);
  551. this->tableLayoutPanel_TxInfo_Time->Name = L"tableLayoutPanel_TxInfo_Time";
  552. this->tableLayoutPanel_TxInfo_Time->RowCount = 1;
  553. this->tableLayoutPanel_TxInfo_Time->RowStyles->Add((gcnew System::Windows::Forms::RowStyle(System::Windows::Forms::SizeType::Percent,
  554. 50)));
  555. this->tableLayoutPanel_TxInfo_Time->Size = System::Drawing::Size(392, 140);
  556. this->tableLayoutPanel_TxInfo_Time->TabIndex = 3;
  557. //
  558. // groupBox_UTC_Time
  559. //
  560. this->groupBox_UTC_Time->Controls->Add(this->radioButton_UTCTime_Set);
  561. this->groupBox_UTC_Time->Controls->Add(this->radioButton_UTCTime_NotSupported);
  562. this->groupBox_UTC_Time->Controls->Add(this->radioButton_UTCTime_NotSet);
  563. this->groupBox_UTC_Time->Dock = System::Windows::Forms::DockStyle::Fill;
  564. this->groupBox_UTC_Time->Location = System::Drawing::Point(3, 3);
  565. this->groupBox_UTC_Time->Name = L"groupBox_UTC_Time";
  566. this->groupBox_UTC_Time->Size = System::Drawing::Size(190, 134);
  567. this->groupBox_UTC_Time->TabIndex = 0;
  568. this->groupBox_UTC_Time->TabStop = false;
  569. this->groupBox_UTC_Time->Text = L"UTC Time";
  570. //
  571. // radioButton_UTCTime_Set
  572. //
  573. this->radioButton_UTCTime_Set->AutoSize = true;
  574. this->radioButton_UTCTime_Set->Location = System::Drawing::Point(35, 90);
  575. this->radioButton_UTCTime_Set->Name = L"radioButton_UTCTime_Set";
  576. this->radioButton_UTCTime_Set->Size = System::Drawing::Size(114, 17);
  577. this->radioButton_UTCTime_Set->TabIndex = 2;
  578. this->radioButton_UTCTime_Set->Text = L"Supported and Set";
  579. this->radioButton_UTCTime_Set->UseVisualStyleBackColor = true;
  580. this->radioButton_UTCTime_Set->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Time_CheckedChanged);
  581. //
  582. // radioButton_UTCTime_NotSupported
  583. //
  584. this->radioButton_UTCTime_NotSupported->AutoSize = true;
  585. this->radioButton_UTCTime_NotSupported->Checked = true;
  586. this->radioButton_UTCTime_NotSupported->Location = System::Drawing::Point(35, 28);
  587. this->radioButton_UTCTime_NotSupported->Name = L"radioButton_UTCTime_NotSupported";
  588. this->radioButton_UTCTime_NotSupported->Size = System::Drawing::Size(94, 17);
  589. this->radioButton_UTCTime_NotSupported->TabIndex = 0;
  590. this->radioButton_UTCTime_NotSupported->TabStop = true;
  591. this->radioButton_UTCTime_NotSupported->Text = L"Not Supported";
  592. this->radioButton_UTCTime_NotSupported->UseVisualStyleBackColor = true;
  593. this->radioButton_UTCTime_NotSupported->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Time_CheckedChanged);
  594. //
  595. // radioButton_UTCTime_NotSet
  596. //
  597. this->radioButton_UTCTime_NotSet->AutoSize = true;
  598. this->radioButton_UTCTime_NotSet->Location = System::Drawing::Point(35, 59);
  599. this->radioButton_UTCTime_NotSet->Name = L"radioButton_UTCTime_NotSet";
  600. this->radioButton_UTCTime_NotSet->Size = System::Drawing::Size(116, 17);
  601. this->radioButton_UTCTime_NotSet->TabIndex = 1;
  602. this->radioButton_UTCTime_NotSet->Text = L"Supported, Not Set";
  603. this->radioButton_UTCTime_NotSet->UseVisualStyleBackColor = true;
  604. this->radioButton_UTCTime_NotSet->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Time_CheckedChanged);
  605. //
  606. // groupBox_Local_Time
  607. //
  608. this->groupBox_Local_Time->Controls->Add(this->radioButton_LocalTime_Set);
  609. this->groupBox_Local_Time->Controls->Add(this->radioButton_LocalTime_NotSupported);
  610. this->groupBox_Local_Time->Controls->Add(this->radioButton_LocalTime_NotSet);
  611. this->groupBox_Local_Time->Dock = System::Windows::Forms::DockStyle::Fill;
  612. this->groupBox_Local_Time->Location = System::Drawing::Point(199, 3);
  613. this->groupBox_Local_Time->Name = L"groupBox_Local_Time";
  614. this->groupBox_Local_Time->Size = System::Drawing::Size(190, 134);
  615. this->groupBox_Local_Time->TabIndex = 1;
  616. this->groupBox_Local_Time->TabStop = false;
  617. this->groupBox_Local_Time->Text = L"Local Time";
  618. //
  619. // radioButton_LocalTime_Set
  620. //
  621. this->radioButton_LocalTime_Set->AutoSize = true;
  622. this->radioButton_LocalTime_Set->Location = System::Drawing::Point(37, 90);
  623. this->radioButton_LocalTime_Set->Name = L"radioButton_LocalTime_Set";
  624. this->radioButton_LocalTime_Set->Size = System::Drawing::Size(114, 17);
  625. this->radioButton_LocalTime_Set->TabIndex = 5;
  626. this->radioButton_LocalTime_Set->Text = L"Supported and Set";
  627. this->radioButton_LocalTime_Set->UseVisualStyleBackColor = true;
  628. this->radioButton_LocalTime_Set->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Time_CheckedChanged);
  629. //
  630. // radioButton_LocalTime_NotSupported
  631. //
  632. this->radioButton_LocalTime_NotSupported->AutoSize = true;
  633. this->radioButton_LocalTime_NotSupported->Checked = true;
  634. this->radioButton_LocalTime_NotSupported->Location = System::Drawing::Point(37, 28);
  635. this->radioButton_LocalTime_NotSupported->Name = L"radioButton_LocalTime_NotSupported";
  636. this->radioButton_LocalTime_NotSupported->Size = System::Drawing::Size(94, 17);
  637. this->radioButton_LocalTime_NotSupported->TabIndex = 3;
  638. this->radioButton_LocalTime_NotSupported->TabStop = true;
  639. this->radioButton_LocalTime_NotSupported->Text = L"Not Supported";
  640. this->radioButton_LocalTime_NotSupported->UseVisualStyleBackColor = true;
  641. this->radioButton_LocalTime_NotSupported->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Time_CheckedChanged);
  642. //
  643. // radioButton_LocalTime_NotSet
  644. //
  645. this->radioButton_LocalTime_NotSet->AutoSize = true;
  646. this->radioButton_LocalTime_NotSet->Location = System::Drawing::Point(37, 59);
  647. this->radioButton_LocalTime_NotSet->Name = L"radioButton_LocalTime_NotSet";
  648. this->radioButton_LocalTime_NotSet->Size = System::Drawing::Size(116, 17);
  649. this->radioButton_LocalTime_NotSet->TabIndex = 4;
  650. this->radioButton_LocalTime_NotSet->Text = L"Supported, Not Set";
  651. this->radioButton_LocalTime_NotSet->UseVisualStyleBackColor = true;
  652. this->radioButton_LocalTime_NotSet->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Time_CheckedChanged);
  653. //
  654. // tabPage2
  655. //
  656. this->tabPage2->Controls->Add(this->tabControl2);
  657. this->tabPage2->Location = System::Drawing::Point(4, 22);
  658. this->tabPage2->Name = L"tabPage2";
  659. this->tabPage2->Padding = System::Windows::Forms::Padding(3);
  660. this->tabPage2->Size = System::Drawing::Size(392, 140);
  661. this->tabPage2->TabIndex = 1;
  662. this->tabPage2->Text = L"Common Data";
  663. this->tabPage2->UseVisualStyleBackColor = true;
  664. //
  665. // tabControl2
  666. //
  667. this->tabControl2->Controls->Add(this->tabPage4);
  668. this->tabControl2->Controls->Add(this->tabPage5);
  669. this->tabControl2->Dock = System::Windows::Forms::DockStyle::Fill;
  670. this->tabControl2->Location = System::Drawing::Point(3, 3);
  671. this->tabControl2->Name = L"tabControl2";
  672. this->tabControl2->SelectedIndex = 0;
  673. this->tabControl2->Size = System::Drawing::Size(386, 134);
  674. this->tabControl2->TabIndex = 40;
  675. //
  676. // tabPage4
  677. //
  678. this->tabPage4->Controls->Add(this->label_SoftwareVer);
  679. this->tabPage4->Controls->Add(this->label_ManfID);
  680. this->tabPage4->Controls->Add(this->label_HardwareVer);
  681. this->tabPage4->Controls->Add(this->label_SerialNum);
  682. this->tabPage4->Controls->Add(this->textBox_ManfIDChange);
  683. this->tabPage4->Controls->Add(this->label_ModelNum);
  684. this->tabPage4->Controls->Add(this->textBox_SerialNumChange);
  685. this->tabPage4->Controls->Add(this->label_AdvancedError);
  686. this->tabPage4->Controls->Add(this->textBox_ModelNumChange);
  687. this->tabPage4->Controls->Add(this->textBox_SoftwareVerChange);
  688. this->tabPage4->Controls->Add(this->textBox_HardwareVerChange);
  689. this->tabPage4->Controls->Add(this->button_AdvancedUpdate);
  690. this->tabPage4->Location = System::Drawing::Point(4, 22);
  691. this->tabPage4->Name = L"tabPage4";
  692. this->tabPage4->Padding = System::Windows::Forms::Padding(3);
  693. this->tabPage4->Size = System::Drawing::Size(378, 108);
  694. this->tabPage4->TabIndex = 0;
  695. this->tabPage4->Text = L"Manufacturer\'s Info";
  696. this->tabPage4->UseVisualStyleBackColor = true;
  697. //
  698. // label_SoftwareVer
  699. //
  700. this->label_SoftwareVer->AutoSize = true;
  701. this->label_SoftwareVer->Location = System::Drawing::Point(171, 15);
  702. this->label_SoftwareVer->Name = L"label_SoftwareVer";
  703. this->label_SoftwareVer->Size = System::Drawing::Size(71, 13);
  704. this->label_SoftwareVer->TabIndex = 31;
  705. this->label_SoftwareVer->Text = L"Software Ver:";
  706. //
  707. // label_ManfID
  708. //
  709. this->label_ManfID->AutoSize = true;
  710. this->label_ManfID->Location = System::Drawing::Point(35, 15);
  711. this->label_ManfID->Name = L"label_ManfID";
  712. this->label_ManfID->Size = System::Drawing::Size(51, 13);
  713. this->label_ManfID->TabIndex = 28;
  714. this->label_ManfID->Text = L"Manf. ID:";
  715. //
  716. // label_HardwareVer
  717. //
  718. this->label_HardwareVer->AutoSize = true;
  719. this->label_HardwareVer->Location = System::Drawing::Point(11, 59);
  720. this->label_HardwareVer->Name = L"label_HardwareVer";
  721. this->label_HardwareVer->Size = System::Drawing::Size(75, 13);
  722. this->label_HardwareVer->TabIndex = 30;
  723. this->label_HardwareVer->Text = L"Hardware Ver:";
  724. //
  725. // label_SerialNum
  726. //
  727. this->label_SerialNum->AutoSize = true;
  728. this->label_SerialNum->Location = System::Drawing::Point(196, 37);
  729. this->label_SerialNum->Name = L"label_SerialNum";
  730. this->label_SerialNum->Size = System::Drawing::Size(46, 13);
  731. this->label_SerialNum->TabIndex = 29;
  732. this->label_SerialNum->Text = L"Serial #:";
  733. //
  734. // textBox_ManfIDChange
  735. //
  736. this->textBox_ManfIDChange->Location = System::Drawing::Point(101, 11);
  737. this->textBox_ManfIDChange->MaxLength = 5;
  738. this->textBox_ManfIDChange->Name = L"textBox_ManfIDChange";
  739. this->textBox_ManfIDChange->Size = System::Drawing::Size(45, 20);
  740. this->textBox_ManfIDChange->TabIndex = 34;
  741. this->textBox_ManfIDChange->Text = L"12345";
  742. //
  743. // label_ModelNum
  744. //
  745. this->label_ModelNum->AutoSize = true;
  746. this->label_ModelNum->Location = System::Drawing::Point(37, 37);
  747. this->label_ModelNum->Name = L"label_ModelNum";
  748. this->label_ModelNum->Size = System::Drawing::Size(49, 13);
  749. this->label_ModelNum->TabIndex = 32;
  750. this->label_ModelNum->Text = L"Model #:";
  751. //
  752. // textBox_SerialNumChange
  753. //
  754. this->textBox_SerialNumChange->Location = System::Drawing::Point(248, 33);
  755. this->textBox_SerialNumChange->MaxLength = 10;
  756. this->textBox_SerialNumChange->Name = L"textBox_SerialNumChange";
  757. this->textBox_SerialNumChange->Size = System::Drawing::Size(97, 20);
  758. this->textBox_SerialNumChange->TabIndex = 38;
  759. this->textBox_SerialNumChange->Text = L"1234567890";
  760. //
  761. // label_AdvancedError
  762. //
  763. this->label_AdvancedError->AutoSize = true;
  764. this->label_AdvancedError->Location = System::Drawing::Point(171, 59);
  765. this->label_AdvancedError->Name = L"label_AdvancedError";
  766. this->label_AdvancedError->Size = System::Drawing::Size(32, 13);
  767. this->label_AdvancedError->TabIndex = 33;
  768. this->label_AdvancedError->Text = L"Error:";
  769. this->label_AdvancedError->Visible = false;
  770. //
  771. // textBox_ModelNumChange
  772. //
  773. this->textBox_ModelNumChange->Location = System::Drawing::Point(101, 33);
  774. this->textBox_ModelNumChange->MaxLength = 5;
  775. this->textBox_ModelNumChange->Name = L"textBox_ModelNumChange";
  776. this->textBox_ModelNumChange->Size = System::Drawing::Size(45, 20);
  777. this->textBox_ModelNumChange->TabIndex = 35;
  778. this->textBox_ModelNumChange->Text = L"01234";
  779. //
  780. // textBox_SoftwareVerChange
  781. //
  782. this->textBox_SoftwareVerChange->Location = System::Drawing::Point(248, 11);
  783. this->textBox_SoftwareVerChange->MaxLength = 3;
  784. this->textBox_SoftwareVerChange->Name = L"textBox_SoftwareVerChange";
  785. this->textBox_SoftwareVerChange->Size = System::Drawing::Size(45, 20);
  786. this->textBox_SoftwareVerChange->TabIndex = 37;
  787. this->textBox_SoftwareVerChange->Text = L"1";
  788. //
  789. // textBox_HardwareVerChange
  790. //
  791. this->textBox_HardwareVerChange->Location = System::Drawing::Point(101, 55);
  792. this->textBox_HardwareVerChange->MaxLength = 3;
  793. this->textBox_HardwareVerChange->Name = L"textBox_HardwareVerChange";
  794. this->textBox_HardwareVerChange->Size = System::Drawing::Size(45, 20);
  795. this->textBox_HardwareVerChange->TabIndex = 36;
  796. this->textBox_HardwareVerChange->Text = L"1";
  797. //
  798. // button_AdvancedUpdate
  799. //
  800. this->button_AdvancedUpdate->Location = System::Drawing::Point(248, 55);
  801. this->button_AdvancedUpdate->Name = L"button_AdvancedUpdate";
  802. this->button_AdvancedUpdate->Size = System::Drawing::Size(97, 20);
  803. this->button_AdvancedUpdate->TabIndex = 39;
  804. this->button_AdvancedUpdate->Text = L"Update Prod Info";
  805. this->button_AdvancedUpdate->UseVisualStyleBackColor = true;
  806. this->button_AdvancedUpdate->Click += gcnew System::EventHandler(this, &TemperatureSensor::button_AdvancedUpdate_Click);
  807. //
  808. // tabPage5
  809. //
  810. this->tabPage5->Controls->Add(this->label20);
  811. this->tabPage5->Controls->Add(this->button_Bat_ElpTimeUpdate);
  812. this->tabPage5->Controls->Add(this->numericUpDown_Bat_VoltInt);
  813. this->tabPage5->Controls->Add(this->numericUpDown_Bat_VoltFrac);
  814. this->tabPage5->Controls->Add(this->checkBox_Bat_Voltage);
  815. this->tabPage5->Controls->Add(this->textBox_Bat_ElpTimeChange);
  816. this->tabPage5->Controls->Add(this->label19);
  817. this->tabPage5->Controls->Add(this->comboBoxBatStatus);
  818. this->tabPage5->Controls->Add(this->label_Voltage_Display);
  819. this->tabPage5->Controls->Add(this->groupBox_Resol);
  820. this->tabPage5->Controls->Add(this->label_Bat_ElpTimeDisplay);
  821. this->tabPage5->Controls->Add(this->label_Bat_ElpTime);
  822. this->tabPage5->Controls->Add(this->checkBox_Bat_Status);
  823. this->tabPage5->Location = System::Drawing::Point(4, 22);
  824. this->tabPage5->Name = L"tabPage5";
  825. this->tabPage5->Padding = System::Windows::Forms::Padding(3);
  826. this->tabPage5->Size = System::Drawing::Size(378, 108);
  827. this->tabPage5->TabIndex = 1;
  828. this->tabPage5->Text = L"Battery Page";
  829. this->tabPage5->UseVisualStyleBackColor = true;
  830. //
  831. // label20
  832. //
  833. this->label20->AutoSize = true;
  834. this->label20->Location = System::Drawing::Point(10, 78);
  835. this->label20->Name = L"label20";
  836. this->label20->Size = System::Drawing::Size(143, 13);
  837. this->label20->TabIndex = 92;
  838. this->label20->Text = L"Fractional Voltage (1/256 V):";
  839. //
  840. // button_Bat_ElpTimeUpdate
  841. //
  842. this->button_Bat_ElpTimeUpdate->Location = System::Drawing::Point(212, 76);
  843. this->button_Bat_ElpTimeUpdate->Name = L"button_Bat_ElpTimeUpdate";
  844. this->button_Bat_ElpTimeUpdate->Size = System::Drawing::Size(84, 20);
  845. this->button_Bat_ElpTimeUpdate->TabIndex = 91;
  846. this->button_Bat_ElpTimeUpdate->Text = L"Update Time";
  847. this->button_Bat_ElpTimeUpdate->UseVisualStyleBackColor = true;
  848. this->button_Bat_ElpTimeUpdate->Click += gcnew System::EventHandler(this, &TemperatureSensor::button_Bat_ElpTimeUpdate_Click);
  849. //
  850. // numericUpDown_Bat_VoltInt
  851. //
  852. this->numericUpDown_Bat_VoltInt->Location = System::Drawing::Point(165, 50);
  853. this->numericUpDown_Bat_VoltInt->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {14, 0, 0, 0});
  854. this->numericUpDown_Bat_VoltInt->Name = L"numericUpDown_Bat_VoltInt";
  855. this->numericUpDown_Bat_VoltInt->Size = System::Drawing::Size(36, 20);
  856. this->numericUpDown_Bat_VoltInt->TabIndex = 87;
  857. this->numericUpDown_Bat_VoltInt->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {3, 0, 0, 0});
  858. this->numericUpDown_Bat_VoltInt->ValueChanged += gcnew System::EventHandler(this, &TemperatureSensor::numericUpDown_Bat_VoltInt_ValueChanged);
  859. //
  860. // numericUpDown_Bat_VoltFrac
  861. //
  862. this->numericUpDown_Bat_VoltFrac->Location = System::Drawing::Point(159, 76);
  863. this->numericUpDown_Bat_VoltFrac->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
  864. this->numericUpDown_Bat_VoltFrac->Name = L"numericUpDown_Bat_VoltFrac";
  865. this->numericUpDown_Bat_VoltFrac->Size = System::Drawing::Size(42, 20);
  866. this->numericUpDown_Bat_VoltFrac->TabIndex = 88;
  867. this->numericUpDown_Bat_VoltFrac->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {85, 0, 0, 0});
  868. this->numericUpDown_Bat_VoltFrac->ValueChanged += gcnew System::EventHandler(this, &TemperatureSensor::numericUpDown_Bat_VoltFrac_ValueChanged);
  869. //
  870. // checkBox_Bat_Voltage
  871. //
  872. this->checkBox_Bat_Voltage->AutoSize = true;
  873. this->checkBox_Bat_Voltage->Checked = true;
  874. this->checkBox_Bat_Voltage->CheckState = System::Windows::Forms::CheckState::Checked;
  875. this->checkBox_Bat_Voltage->Location = System::Drawing::Point(0, 50);
  876. this->checkBox_Bat_Voltage->Name = L"checkBox_Bat_Voltage";
  877. this->checkBox_Bat_Voltage->Size = System::Drawing::Size(153, 17);
  878. this->checkBox_Bat_Voltage->TabIndex = 89;
  879. this->checkBox_Bat_Voltage->Text = L"Enable Battery Voltage (V):";
  880. this->checkBox_Bat_Voltage->UseVisualStyleBackColor = true;
  881. this->checkBox_Bat_Voltage->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::checkBox_Bat_Voltage_CheckedChanged);
  882. //
  883. // textBox_Bat_ElpTimeChange
  884. //
  885. this->textBox_Bat_ElpTimeChange->Location = System::Drawing::Point(302, 76);
  886. this->textBox_Bat_ElpTimeChange->MaxLength = 9;
  887. this->textBox_Bat_ElpTimeChange->Name = L"textBox_Bat_ElpTimeChange";
  888. this->textBox_Bat_ElpTimeChange->Size = System::Drawing::Size(63, 20);
  889. this->textBox_Bat_ElpTimeChange->TabIndex = 90;
  890. this->textBox_Bat_ElpTimeChange->Text = L"0";
  891. this->textBox_Bat_ElpTimeChange->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
  892. //
  893. // label19
  894. //
  895. this->label19->AutoSize = true;
  896. this->label19->Location = System::Drawing::Point(62, 27);
  897. this->label19->Name = L"label19";
  898. this->label19->Size = System::Drawing::Size(73, 13);
  899. this->label19->TabIndex = 86;
  900. this->label19->Text = L"Battery Status";
  901. //
  902. // comboBoxBatStatus
  903. //
  904. this->comboBoxBatStatus->FormattingEnabled = true;
  905. this->comboBoxBatStatus->Items->AddRange(gcnew cli::array< System::Object^ >(6) {L"New", L"Good", L"Ok", L"Low", L"Critical",
  906. L"Invalid"});
  907. this->comboBoxBatStatus->Location = System::Drawing::Point(141, 23);
  908. this->comboBoxBatStatus->Name = L"comboBoxBatStatus";
  909. this->comboBoxBatStatus->Size = System::Drawing::Size(60, 21);
  910. this->comboBoxBatStatus->TabIndex = 85;
  911. this->comboBoxBatStatus->Text = L"Ok";
  912. this->comboBoxBatStatus->SelectedIndexChanged += gcnew System::EventHandler(this, &TemperatureSensor::comboBoxBatStatus_SelectedIndexChanged);
  913. //
  914. // label_Voltage_Display
  915. //
  916. this->label_Voltage_Display->AutoSize = true;
  917. this->label_Voltage_Display->Location = System::Drawing::Point(186, 7);
  918. this->label_Voltage_Display->Name = L"label_Voltage_Display";
  919. this->label_Voltage_Display->Size = System::Drawing::Size(0, 13);
  920. this->label_Voltage_Display->TabIndex = 84;
  921. //
  922. // groupBox_Resol
  923. //
  924. this->groupBox_Resol->Controls->Add(this->radioButton_Bat_Elp2Units);
  925. this->groupBox_Resol->Controls->Add(this->radioButton_Bat_Elp16Units);
  926. this->groupBox_Resol->Location = System::Drawing::Point(241, 34);
  927. this->groupBox_Resol->Name = L"groupBox_Resol";
  928. this->groupBox_Resol->Size = System::Drawing::Size(124, 36);
  929. this->groupBox_Resol->TabIndex = 80;
  930. this->groupBox_Resol->TabStop = false;
  931. this->groupBox_Resol->Text = L"Time Resolution";
  932. //
  933. // radioButton_Bat_Elp2Units
  934. //
  935. this->radioButton_Bat_Elp2Units->AutoSize = true;
  936. this->radioButton_Bat_Elp2Units->Checked = true;
  937. this->radioButton_Bat_Elp2Units->Location = System::Drawing::Point(6, 15);
  938. this->radioButton_Bat_Elp2Units->Name = L"radioButton_Bat_Elp2Units";
  939. this->radioButton_Bat_Elp2Units->Size = System::Drawing::Size(51, 17);
  940. this->radioButton_Bat_Elp2Units->TabIndex = 58;
  941. this->radioButton_Bat_Elp2Units->TabStop = true;
  942. this->radioButton_Bat_Elp2Units->Text = L"2 sec";
  943. this->radioButton_Bat_Elp2Units->UseVisualStyleBackColor = true;
  944. this->radioButton_Bat_Elp2Units->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Bat_Elp2Units_CheckedChanged);
  945. //
  946. // radioButton_Bat_Elp16Units
  947. //
  948. this->radioButton_Bat_Elp16Units->AutoSize = true;
  949. this->radioButton_Bat_Elp16Units->Location = System::Drawing::Point(63, 15);
  950. this->radioButton_Bat_Elp16Units->Name = L"radioButton_Bat_Elp16Units";
  951. this->radioButton_Bat_Elp16Units->Size = System::Drawing::Size(57, 17);
  952. this->radioButton_Bat_Elp16Units->TabIndex = 59;
  953. this->radioButton_Bat_Elp16Units->Text = L"16 sec";
  954. this->radioButton_Bat_Elp16Units->UseVisualStyleBackColor = true;
  955. this->radioButton_Bat_Elp16Units->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::radioButton_Bat_Elp16Units_CheckedChanged);
  956. //
  957. // label_Bat_ElpTimeDisplay
  958. //
  959. this->label_Bat_ElpTimeDisplay->Enabled = false;
  960. this->label_Bat_ElpTimeDisplay->Location = System::Drawing::Point(306, 9);
  961. this->label_Bat_ElpTimeDisplay->Name = L"label_Bat_ElpTimeDisplay";
  962. this->label_Bat_ElpTimeDisplay->Size = System::Drawing::Size(62, 13);
  963. this->label_Bat_ElpTimeDisplay->TabIndex = 82;
  964. this->label_Bat_ElpTimeDisplay->Text = L"0";
  965. this->label_Bat_ElpTimeDisplay->TextAlign = System::Drawing::ContentAlignment::BottomRight;
  966. //
  967. // label_Bat_ElpTime
  968. //
  969. this->label_Bat_ElpTime->AutoSize = true;
  970. this->label_Bat_ElpTime->Location = System::Drawing::Point(212, 9);
  971. this->label_Bat_ElpTime->Name = L"label_Bat_ElpTime";
  972. this->label_Bat_ElpTime->Size = System::Drawing::Size(88, 13);
  973. this->label_Bat_ElpTime->TabIndex = 81;
  974. this->label_Bat_ElpTime->Text = L"Elapsed Time (s):";
  975. //
  976. // checkBox_Bat_Status
  977. //
  978. this->checkBox_Bat_Status->AutoSize = true;
  979. this->checkBox_Bat_Status->Checked = true;
  980. this->checkBox_Bat_Status->CheckState = System::Windows::Forms::CheckState::Checked;
  981. this->checkBox_Bat_Status->Location = System::Drawing::Point(3, 8);
  982. this->checkBox_Bat_Status->Name = L"checkBox_Bat_Status";
  983. this->checkBox_Bat_Status->Size = System::Drawing::Size(156, 17);
  984. this->checkBox_Bat_Status->TabIndex = 83;
  985. this->checkBox_Bat_Status->Text = L"Enable Battery Status Page";
  986. this->checkBox_Bat_Status->UseVisualStyleBackColor = true;
  987. this->checkBox_Bat_Status->CheckedChanged += gcnew System::EventHandler(this, &TemperatureSensor::checkBox_Bat_Status_CheckedChanged);
  988. //
  989. // panel_Display
  990. //
  991. this->panel_Display->Controls->Add(this->label_EventCount);
  992. this->panel_Display->Controls->Add(this->label_TxEventCount);
  993. this->panel_Display->Controls->Add(this->label_TranslatedDisplayLabel);
  994. this->panel_Display->Controls->Add(this->label_TempTx);
  995. this->panel_Display->Controls->Add(this->label_TxTempOf);
  996. this->panel_Display->Location = System::Drawing::Point(58, 188);
  997. this->panel_Display->Name = L"panel_Display";
  998. this->panel_Display->Size = System::Drawing::Size(200, 90);
  999. this->panel_Display->TabIndex = 1;
  1000. //
  1001. // label_EventCount
  1002. //
  1003. this->label_EventCount->AutoSize = true;
  1004. this->label_EventCount->Location = System::Drawing::Point(151, 46);
  1005. this->label_EventCount->Name = L"label_EventCount";
  1006. this->label_EventCount->Size = System::Drawing::Size(16, 13);
  1007. this->label_EventCount->TabIndex = 7;
  1008. this->label_EventCount->Text = L"---";
  1009. //
  1010. // label_TxEventCount
  1011. //
  1012. this->label_TxEventCount->AutoSize = true;
  1013. this->label_TxEventCount->Location = System::Drawing::Point(33, 46);
  1014. this->label_TxEventCount->Name = L"label_TxEventCount";
  1015. this->label_TxEventCount->Size = System::Drawing::Size(112, 13);
  1016. this->label_TxEventCount->TabIndex = 5;
  1017. this->label_TxEventCount->Text = L"Transmit Event Count:";
  1018. //
  1019. // label_TranslatedDisplayLabel
  1020. //
  1021. this->label_TranslatedDisplayLabel->AutoSize = true;
  1022. this->label_TranslatedDisplayLabel->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1023. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1024. this->label_TranslatedDisplayLabel->Location = System::Drawing::Point(3, 9);
  1025. this->label_TranslatedDisplayLabel->Name = L"label_TranslatedDisplayLabel";
  1026. this->label_TranslatedDisplayLabel->Size = System::Drawing::Size(82, 13);
  1027. this->label_TranslatedDisplayLabel->TabIndex = 9;
  1028. this->label_TranslatedDisplayLabel->Text = L"Current Tx Data";
  1029. //
  1030. // label_TempTx
  1031. //
  1032. this->label_TempTx->AutoSize = true;
  1033. this->label_TempTx->Location = System::Drawing::Point(151, 33);
  1034. this->label_TempTx->Name = L"label_TempTx";
  1035. this->label_TempTx->Size = System::Drawing::Size(16, 13);
  1036. this->label_TempTx->TabIndex = 8;
  1037. this->label_TempTx->Text = L"---";
  1038. //
  1039. // label_TxTempOf
  1040. //
  1041. this->label_TxTempOf->AutoSize = true;
  1042. this->label_TxTempOf->Location = System::Drawing::Point(18, 33);
  1043. this->label_TxTempOf->Name = L"label_TxTempOf";
  1044. this->label_TxTempOf->Size = System::Drawing::Size(127, 13);
  1045. this->label_TxTempOf->TabIndex = 6;
  1046. this->label_TxTempOf->Text = L"Current Temperature (°C):";
  1047. //
  1048. // TemperatureSensor
  1049. //
  1050. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1051. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1052. this->ClientSize = System::Drawing::Size(794, 351);
  1053. this->Controls->Add(this->panel_Display);
  1054. this->Controls->Add(this->panel_Settings);
  1055. this->Name = L"TemperatureSensor";
  1056. this->Text = L"Temperature Sensor";
  1057. this->panel_Settings->ResumeLayout(false);
  1058. this->tabControl1->ResumeLayout(false);
  1059. this->tabPage1->ResumeLayout(false);
  1060. this->tabPage1->PerformLayout();
  1061. this->groupBox_defaultPeriod->ResumeLayout(false);
  1062. this->groupBox_defaultPeriod->PerformLayout();
  1063. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_24HrHigh))->EndInit();
  1064. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_24HrLow))->EndInit();
  1065. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_MaxTemp))->EndInit();
  1066. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_MinTemp))->EndInit();
  1067. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Prm_CurTemp))->EndInit();
  1068. this->tabPage3->ResumeLayout(false);
  1069. this->tableLayoutPanel_TxInfo_Time->ResumeLayout(false);
  1070. this->groupBox_UTC_Time->ResumeLayout(false);
  1071. this->groupBox_UTC_Time->PerformLayout();
  1072. this->groupBox_Local_Time->ResumeLayout(false);
  1073. this->groupBox_Local_Time->PerformLayout();
  1074. this->tabPage2->ResumeLayout(false);
  1075. this->tabControl2->ResumeLayout(false);
  1076. this->tabPage4->ResumeLayout(false);
  1077. this->tabPage4->PerformLayout();
  1078. this->tabPage5->ResumeLayout(false);
  1079. this->tabPage5->PerformLayout();
  1080. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Bat_VoltInt))->EndInit();
  1081. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Bat_VoltFrac))->EndInit();
  1082. this->groupBox_Resol->ResumeLayout(false);
  1083. this->groupBox_Resol->PerformLayout();
  1084. this->panel_Display->ResumeLayout(false);
  1085. this->panel_Display->PerformLayout();
  1086. this->ResumeLayout(false);
  1087. }
  1088. #pragma endregion
  1089. };