WeightScaleSensor.h 93 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968
  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_weight.h"
  12. #include "antplus_common.h"
  13. #include "types.h"
  14. #include "antdefines.h"
  15. using namespace System;
  16. using namespace System::ComponentModel;
  17. using namespace System::Collections;
  18. using namespace System::Windows::Forms;
  19. using namespace System::Data;
  20. using namespace System::Drawing;
  21. public ref class WeightScaleSensor : public System::Windows::Forms::Form, public ISimBase{
  22. public:
  23. WeightScaleSensor(System::Timers::Timer^ channelTimer){
  24. commonPages = gcnew CommonData();
  25. wsPages = gcnew WeightScale(WeightScale::DeviceClass::SCALE);
  26. InitializeComponent();
  27. timerHandle = channelTimer;
  28. InitializeSim();
  29. }
  30. ~WeightScaleSensor(){
  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 ANT_eventNotification(UCHAR ucEventCode_, UCHAR* pucEventBuffer_);
  44. virtual UCHAR getDeviceType(){return WeightScale::DEVICE_TYPE;}
  45. virtual UCHAR getTransmissionType(){return WeightScale::TX_TYPE;}
  46. virtual USHORT getTransmitPeriod(){return WeightScale::MSG_PERIOD;}
  47. virtual DOUBLE getTimerInterval(){return 1000;} // Set interval to 1 second, just to keep track of time
  48. virtual void onTimerTock(USHORT eventTime){} // Do nothing
  49. virtual System::Windows::Forms::Panel^ getSimSettingsPanel(){return this->panel_Settings;}
  50. virtual System::Windows::Forms::Panel^ getSimTranslatedDisplay(){return this->panel_Display;}
  51. private:
  52. void InitializeSim();
  53. void HandleTransmit(UCHAR* pucTxBuffer_);
  54. void HandleReceive(UCHAR* pucRxBuffer_);
  55. void ProcessReceivedProfile();
  56. void UpdateDisplay();
  57. void UpdateDisplayActiveProfile();
  58. void UpdateDisplayCapabilities();
  59. void SelectPresetProfile();
  60. void SelectWeightStatus();
  61. void SelectPages();
  62. void SelectCustomProfile();
  63. void AllowChangesProfile(BOOL bNoSession_);
  64. System::Void checkBoxProfileSet_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  65. System::Void checkBoxAntfs_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  66. System::Void checkBoxExchange_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  67. System::Void numericUpDownWeight_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  68. System::Void numericUpDown_Hydration_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  69. System::Void numericUpDown_BodyFat_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  70. System::Void numericUpDown_ActiveMetRate_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  71. System::Void numericUpDown_BasalMetRate_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  72. System::Void numericUpDown_MuscleMass_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  73. System::Void numericUpDown_BoneMass_ValueChanged(System::Object^ sender, System::EventArgs^ e);
  74. System::Void buttonUpdateGlobal_Click(System::Object^ sender, System::EventArgs^ e);
  75. System::Void buttonReset_Click(System::Object^ sender, System::EventArgs^ e);
  76. private:
  77. CommonData^ commonPages; // Handle to common data pages
  78. WeightScale^ wsPages; // Handle to weight scale pages
  79. System::Timers::Timer^ timerHandle;
  80. dRequestAckMsg^ requestAckMsg;
  81. // Preset User Profiles
  82. WeightScaleUserProfile^ uprofUndef;
  83. WeightScaleUserProfile^ uprofU1;
  84. WeightScaleUserProfile^ uprofU2;
  85. WeightScaleUserProfile^ uprofU3;
  86. // Status
  87. BOOL bTxAdvanced;
  88. BOOL bTxUserProfile;
  89. BOOL bTxPage2;
  90. BOOL bTxPage3;
  91. BOOL bTxPage4;
  92. private: System::Windows::Forms::Button^ buttonUpdateGlobal;
  93. private: System::Windows::Forms::CheckBox^ checkBoxProd;
  94. private: System::Windows::Forms::CheckBox^ checkBoxMfg;
  95. private: System::Windows::Forms::CheckBox^ checkBoxProfileSet;
  96. private: System::Windows::Forms::CheckBox^ checkBoxAntfs;
  97. private: System::Windows::Forms::CheckBox^ checkBoxExchange;
  98. private: System::Windows::Forms::NumericUpDown^ numericUpDownAge;
  99. private: System::Windows::Forms::NumericUpDown^ numericUpDownHeight;
  100. private: System::Windows::Forms::NumericUpDown^ numericUpDownWeight;
  101. private: System::Windows::Forms::NumericUpDown^ numericUpDownProfile;
  102. private: System::Windows::Forms::RadioButton^ radioButtonUser3;
  103. private: System::Windows::Forms::RadioButton^ radioButtonUser2;
  104. private: System::Windows::Forms::RadioButton^ radioButtonUser1;
  105. private: System::Windows::Forms::RadioButton^ radioButtonFemale;
  106. private: System::Windows::Forms::RadioButton^ radioButtonMale;
  107. private: System::Windows::Forms::Label^ labelStatusProfileSent;
  108. private: System::Windows::Forms::Label^ labelStatusProfileUpdate;
  109. private: System::Windows::Forms::Label^ labelStatusProfileMatch;
  110. private: System::Windows::Forms::Label^ labelStatusProfileNew;
  111. private: System::Windows::Forms::Label^ labelAgeActive;
  112. private: System::Windows::Forms::Label^ labelGenderActive;
  113. private: System::Windows::Forms::Label^ labelHeightActive;
  114. private: System::Windows::Forms::Label^ labelStatusProfileRx;
  115. private: System::Windows::Forms::Label^ labelProfileActive2;
  116. private: System::Windows::Forms::Label^ labelProfileActive;
  117. private: System::Windows::Forms::Label^ labelWeight;
  118. private: System::Windows::Forms::Label^ labelProfileSetScale;
  119. private: System::Windows::Forms::Label^ labelExchangeScale;
  120. private: System::Windows::Forms::Label^ labelAntfsRx;
  121. private: System::Windows::Forms::Label^ labelDescriptionActive;
  122. private: System::Windows::Forms::Label^ labelError;
  123. private: System::Windows::Forms::Label^ label_Bat_Status;
  124. private: System::Windows::Forms::Label^ label_Glb_GlobalDataError;
  125. private: System::Windows::Forms::Label^ label_Glb_HardwareVer;
  126. private: System::Windows::Forms::Label^ label_Glb_HardwareVerDisplay;
  127. private: System::Windows::Forms::Label^ label_Glb_ManfID;
  128. private: System::Windows::Forms::Label^ label_Glb_ManfIDDisplay;
  129. private: System::Windows::Forms::Label^ label_Glb_ModelNum;
  130. private: System::Windows::Forms::Label^ label_Glb_ModelNumDisplay;
  131. private: System::Windows::Forms::Label^ label_Glb_SerialNum;
  132. private: System::Windows::Forms::Label^ label_Glb_SerialNumDisplay;
  133. private: System::Windows::Forms::Label^ label_Glb_SoftwareVer;
  134. private: System::Windows::Forms::Label^ label_Glb_SoftwareVerDisplay;
  135. private: System::Windows::Forms::Label^ label_Trn_DisplayTitle;
  136. private: System::Windows::Forms::Label^ label1;
  137. private: System::Windows::Forms::Label^ label10;
  138. private: System::Windows::Forms::Label^ label11;
  139. private: System::Windows::Forms::Label^ label18;
  140. private: System::Windows::Forms::Label^ label19;
  141. private: System::Windows::Forms::Label^ label2;
  142. private: System::Windows::Forms::Label^ label20;
  143. private: System::Windows::Forms::Label^ label21;
  144. private: System::Windows::Forms::Label^ label22;
  145. private: System::Windows::Forms::Label^ label27;
  146. private: System::Windows::Forms::Label^ label28;
  147. private: System::Windows::Forms::Label^ label29;
  148. private: System::Windows::Forms::Label^ label3;
  149. private: System::Windows::Forms::Label^ label31;
  150. private: System::Windows::Forms::Label^ label32;
  151. private: System::Windows::Forms::Label^ label33;
  152. private: System::Windows::Forms::Label^ label37;
  153. private: System::Windows::Forms::Label^ label39;
  154. private: System::Windows::Forms::Label^ label4;
  155. private: System::Windows::Forms::Label^ label5;
  156. private: System::Windows::Forms::Label^ label6;
  157. private: System::Windows::Forms::Label^ label7;
  158. private: System::Windows::Forms::Label^ label8;
  159. private: System::Windows::Forms::Label^ label9;
  160. private: System::Windows::Forms::Label^ labelW1;
  161. private: System::Windows::Forms::Panel^ panel_Display;
  162. private: System::Windows::Forms::Panel^ panel_Settings;
  163. private: System::Windows::Forms::TabControl^ tabControl1;
  164. private: System::Windows::Forms::TabPage^ tabPage_GlobalData;
  165. private: System::Windows::Forms::TabPage^ tabPage_Main;
  166. private: System::Windows::Forms::TabPage^ tabPage_CustomProfile;
  167. private: System::Windows::Forms::TabPage^ tabPage_ActiveProfile;
  168. private: System::Windows::Forms::TextBox^ textboxHwVer;
  169. private: System::Windows::Forms::TextBox^ textboxMfgID;
  170. private: System::Windows::Forms::TextBox^ textboxModelNum;
  171. private: System::Windows::Forms::TextBox^ textboxSerialNum;
  172. private: System::Windows::Forms::TextBox^ textboxSwVer;
  173. private: System::Windows::Forms::Label^ label24;
  174. private: System::Windows::Forms::Label^ label156;
  175. private: System::Windows::Forms::Label^ label81;
  176. private: System::Windows::Forms::Label^ label79;
  177. private: System::Windows::Forms::Label^ label17;
  178. private: System::Windows::Forms::GroupBox^ groupBox1;
  179. private: System::Windows::Forms::GroupBox^ groupBox2;
  180. private: System::Windows::Forms::NumericUpDown^ numericUpDownActivityLevel;
  181. private: System::Windows::Forms::GroupBox^ groupBox6;
  182. private: System::Windows::Forms::RadioButton^ radioButtonWeightValid;
  183. private: System::Windows::Forms::RadioButton^ radioButtonWeightError;
  184. private: System::Windows::Forms::RadioButton^ radioButtonWieghtComputing;
  185. private: System::Windows::Forms::RadioButton^ radioButtonGuest;
  186. private: System::Windows::Forms::GroupBox^ groupBoxLifetimeActivity;
  187. private: System::Windows::Forms::RadioButton^ radioButtonLifetimeActivityFalse;
  188. private: System::Windows::Forms::RadioButton^ radioButtonLifetimeActivityTrue;
  189. private: System::Windows::Forms::Label^ labelLifestyle;
  190. private: System::Windows::Forms::Label^ label40;
  191. private: System::Windows::Forms::Button^ buttonReset;
  192. private: System::Windows::Forms::Label^ labelExchangeDisplay;
  193. private: System::Windows::Forms::Label^ label12;
  194. private: System::Windows::Forms::TabPage^ tabPage_Advanced;
  195. private: System::Windows::Forms::CheckBox^ checkBox_TxPage2;
  196. private: System::Windows::Forms::NumericUpDown^ numericUpDown_Hydration;
  197. private: System::Windows::Forms::Label^ label_Disp_Hydration;
  198. private: System::Windows::Forms::CheckBox^ checkBox_TxPage3;
  199. private: System::Windows::Forms::NumericUpDown^ numericUpDown_BodyFat;
  200. private: System::Windows::Forms::Label^ label_Disp_BodyFat;
  201. private: System::Windows::Forms::NumericUpDown^ numericUpDown_ActiveMetRate;
  202. private: System::Windows::Forms::Label^ label_Disp_Active;
  203. private: System::Windows::Forms::NumericUpDown^ numericUpDown_BasalMetRate;
  204. private: System::Windows::Forms::Label^ label_Disp_Basal;
  205. private: System::Windows::Forms::Label^ label_MetRate;
  206. private: System::Windows::Forms::Label^ labelBF;
  207. private: System::Windows::Forms::Label^ label_BodyFat;
  208. private: System::Windows::Forms::Label^ labelH;
  209. private: System::Windows::Forms::Label^ label_Hydration;
  210. private: System::Windows::Forms::Label^ labelBMR;
  211. private: System::Windows::Forms::Label^ label_BasalMetRate;
  212. private: System::Windows::Forms::Label^ labelAMR;
  213. private: System::Windows::Forms::Label^ label_ActiveMetRate;
  214. private: System::Windows::Forms::Label^ label_MR;
  215. private: System::Windows::Forms::NumericUpDown^ numericUpDown_BoneMass;
  216. private: System::Windows::Forms::Label^ label13;
  217. private: System::Windows::Forms::Label^ label14;
  218. private: System::Windows::Forms::NumericUpDown^ numericUpDown_MuscleMass;
  219. private: System::Windows::Forms::Label^ label15;
  220. private: System::Windows::Forms::CheckBox^ checkBox_TxPage4;
  221. private: System::Windows::Forms::CheckBox^ checkBox_InvalidSerial;
  222. /// <summary>
  223. /// Required designer variable.
  224. /// </summary>
  225. System::ComponentModel::Container ^components;
  226. #pragma region Windows Form Designer generated code
  227. /// <summary>
  228. /// Required method for Designer support - do not modify
  229. /// the contents of this method with the code editor.
  230. /// </summary>
  231. void InitializeComponent(void)
  232. {
  233. this->panel_Settings = (gcnew System::Windows::Forms::Panel());
  234. this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
  235. this->tabPage_Main = (gcnew System::Windows::Forms::TabPage());
  236. this->buttonReset = (gcnew System::Windows::Forms::Button());
  237. this->groupBox6 = (gcnew System::Windows::Forms::GroupBox());
  238. this->radioButtonWeightError = (gcnew System::Windows::Forms::RadioButton());
  239. this->radioButtonWieghtComputing = (gcnew System::Windows::Forms::RadioButton());
  240. this->radioButtonWeightValid = (gcnew System::Windows::Forms::RadioButton());
  241. this->numericUpDownWeight = (gcnew System::Windows::Forms::NumericUpDown());
  242. this->labelStatusProfileSent = (gcnew System::Windows::Forms::Label());
  243. this->labelStatusProfileUpdate = (gcnew System::Windows::Forms::Label());
  244. this->labelStatusProfileMatch = (gcnew System::Windows::Forms::Label());
  245. this->labelStatusProfileNew = (gcnew System::Windows::Forms::Label());
  246. this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
  247. this->radioButtonGuest = (gcnew System::Windows::Forms::RadioButton());
  248. this->radioButtonUser3 = (gcnew System::Windows::Forms::RadioButton());
  249. this->radioButtonUser2 = (gcnew System::Windows::Forms::RadioButton());
  250. this->radioButtonUser1 = (gcnew System::Windows::Forms::RadioButton());
  251. this->checkBoxProfileSet = (gcnew System::Windows::Forms::CheckBox());
  252. this->checkBoxExchange = (gcnew System::Windows::Forms::CheckBox());
  253. this->checkBoxAntfs = (gcnew System::Windows::Forms::CheckBox());
  254. this->labelStatusProfileRx = (gcnew System::Windows::Forms::Label());
  255. this->tabPage_Advanced = (gcnew System::Windows::Forms::TabPage());
  256. this->numericUpDown_BoneMass = (gcnew System::Windows::Forms::NumericUpDown());
  257. this->label13 = (gcnew System::Windows::Forms::Label());
  258. this->label14 = (gcnew System::Windows::Forms::Label());
  259. this->numericUpDown_MuscleMass = (gcnew System::Windows::Forms::NumericUpDown());
  260. this->label15 = (gcnew System::Windows::Forms::Label());
  261. this->checkBox_TxPage4 = (gcnew System::Windows::Forms::CheckBox());
  262. this->numericUpDown_BasalMetRate = (gcnew System::Windows::Forms::NumericUpDown());
  263. this->label_Disp_Basal = (gcnew System::Windows::Forms::Label());
  264. this->label_MetRate = (gcnew System::Windows::Forms::Label());
  265. this->numericUpDown_ActiveMetRate = (gcnew System::Windows::Forms::NumericUpDown());
  266. this->label_Disp_Active = (gcnew System::Windows::Forms::Label());
  267. this->checkBox_TxPage3 = (gcnew System::Windows::Forms::CheckBox());
  268. this->numericUpDown_BodyFat = (gcnew System::Windows::Forms::NumericUpDown());
  269. this->label_Disp_BodyFat = (gcnew System::Windows::Forms::Label());
  270. this->numericUpDown_Hydration = (gcnew System::Windows::Forms::NumericUpDown());
  271. this->label_Disp_Hydration = (gcnew System::Windows::Forms::Label());
  272. this->checkBox_TxPage2 = (gcnew System::Windows::Forms::CheckBox());
  273. this->tabPage_GlobalData = (gcnew System::Windows::Forms::TabPage());
  274. this->checkBox_InvalidSerial = (gcnew System::Windows::Forms::CheckBox());
  275. this->checkBoxProd = (gcnew System::Windows::Forms::CheckBox());
  276. this->checkBoxMfg = (gcnew System::Windows::Forms::CheckBox());
  277. this->buttonUpdateGlobal = (gcnew System::Windows::Forms::Button());
  278. this->labelError = (gcnew System::Windows::Forms::Label());
  279. this->label18 = (gcnew System::Windows::Forms::Label());
  280. this->label19 = (gcnew System::Windows::Forms::Label());
  281. this->textboxSerialNum = (gcnew System::Windows::Forms::TextBox());
  282. this->textboxSwVer = (gcnew System::Windows::Forms::TextBox());
  283. this->label20 = (gcnew System::Windows::Forms::Label());
  284. this->label21 = (gcnew System::Windows::Forms::Label());
  285. this->label22 = (gcnew System::Windows::Forms::Label());
  286. this->textboxHwVer = (gcnew System::Windows::Forms::TextBox());
  287. this->textboxModelNum = (gcnew System::Windows::Forms::TextBox());
  288. this->textboxMfgID = (gcnew System::Windows::Forms::TextBox());
  289. this->tabPage_CustomProfile = (gcnew System::Windows::Forms::TabPage());
  290. this->groupBoxLifetimeActivity = (gcnew System::Windows::Forms::GroupBox());
  291. this->radioButtonLifetimeActivityFalse = (gcnew System::Windows::Forms::RadioButton());
  292. this->radioButtonLifetimeActivityTrue = (gcnew System::Windows::Forms::RadioButton());
  293. this->numericUpDownActivityLevel = (gcnew System::Windows::Forms::NumericUpDown());
  294. this->label24 = (gcnew System::Windows::Forms::Label());
  295. this->numericUpDownProfile = (gcnew System::Windows::Forms::NumericUpDown());
  296. this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
  297. this->radioButtonFemale = (gcnew System::Windows::Forms::RadioButton());
  298. this->radioButtonMale = (gcnew System::Windows::Forms::RadioButton());
  299. this->label29 = (gcnew System::Windows::Forms::Label());
  300. this->label28 = (gcnew System::Windows::Forms::Label());
  301. this->numericUpDownHeight = (gcnew System::Windows::Forms::NumericUpDown());
  302. this->label27 = (gcnew System::Windows::Forms::Label());
  303. this->numericUpDownAge = (gcnew System::Windows::Forms::NumericUpDown());
  304. this->tabPage_ActiveProfile = (gcnew System::Windows::Forms::TabPage());
  305. this->labelExchangeDisplay = (gcnew System::Windows::Forms::Label());
  306. this->label12 = (gcnew System::Windows::Forms::Label());
  307. this->labelLifestyle = (gcnew System::Windows::Forms::Label());
  308. this->label40 = (gcnew System::Windows::Forms::Label());
  309. this->label156 = (gcnew System::Windows::Forms::Label());
  310. this->labelProfileSetScale = (gcnew System::Windows::Forms::Label());
  311. this->label81 = (gcnew System::Windows::Forms::Label());
  312. this->labelExchangeScale = (gcnew System::Windows::Forms::Label());
  313. this->label79 = (gcnew System::Windows::Forms::Label());
  314. this->labelAntfsRx = (gcnew System::Windows::Forms::Label());
  315. this->label17 = (gcnew System::Windows::Forms::Label());
  316. this->labelDescriptionActive = (gcnew System::Windows::Forms::Label());
  317. this->label_Bat_Status = (gcnew System::Windows::Forms::Label());
  318. this->label32 = (gcnew System::Windows::Forms::Label());
  319. this->labelHeightActive = (gcnew System::Windows::Forms::Label());
  320. this->label33 = (gcnew System::Windows::Forms::Label());
  321. this->labelAgeActive = (gcnew System::Windows::Forms::Label());
  322. this->label37 = (gcnew System::Windows::Forms::Label());
  323. this->labelGenderActive = (gcnew System::Windows::Forms::Label());
  324. this->label39 = (gcnew System::Windows::Forms::Label());
  325. this->labelProfileActive2 = (gcnew System::Windows::Forms::Label());
  326. this->panel_Display = (gcnew System::Windows::Forms::Panel());
  327. this->labelBMR = (gcnew System::Windows::Forms::Label());
  328. this->label_BasalMetRate = (gcnew System::Windows::Forms::Label());
  329. this->labelAMR = (gcnew System::Windows::Forms::Label());
  330. this->label_ActiveMetRate = (gcnew System::Windows::Forms::Label());
  331. this->label_MR = (gcnew System::Windows::Forms::Label());
  332. this->labelBF = (gcnew System::Windows::Forms::Label());
  333. this->label_BodyFat = (gcnew System::Windows::Forms::Label());
  334. this->labelH = (gcnew System::Windows::Forms::Label());
  335. this->label_Hydration = (gcnew System::Windows::Forms::Label());
  336. this->labelProfileActive = (gcnew System::Windows::Forms::Label());
  337. this->label31 = (gcnew System::Windows::Forms::Label());
  338. this->label_Trn_DisplayTitle = (gcnew System::Windows::Forms::Label());
  339. this->labelW1 = (gcnew System::Windows::Forms::Label());
  340. this->labelWeight = (gcnew System::Windows::Forms::Label());
  341. this->label_Glb_SoftwareVerDisplay = (gcnew System::Windows::Forms::Label());
  342. this->label_Glb_SerialNumDisplay = (gcnew System::Windows::Forms::Label());
  343. this->label_Glb_HardwareVerDisplay = (gcnew System::Windows::Forms::Label());
  344. this->label_Glb_ModelNumDisplay = (gcnew System::Windows::Forms::Label());
  345. this->label_Glb_ManfIDDisplay = (gcnew System::Windows::Forms::Label());
  346. this->label_Glb_GlobalDataError = (gcnew System::Windows::Forms::Label());
  347. this->label_Glb_SoftwareVer = (gcnew System::Windows::Forms::Label());
  348. this->label_Glb_HardwareVer = (gcnew System::Windows::Forms::Label());
  349. this->label_Glb_SerialNum = (gcnew System::Windows::Forms::Label());
  350. this->label_Glb_ManfID = (gcnew System::Windows::Forms::Label());
  351. this->label_Glb_ModelNum = (gcnew System::Windows::Forms::Label());
  352. this->label1 = (gcnew System::Windows::Forms::Label());
  353. this->label2 = (gcnew System::Windows::Forms::Label());
  354. this->label3 = (gcnew System::Windows::Forms::Label());
  355. this->label4 = (gcnew System::Windows::Forms::Label());
  356. this->label5 = (gcnew System::Windows::Forms::Label());
  357. this->label6 = (gcnew System::Windows::Forms::Label());
  358. this->label7 = (gcnew System::Windows::Forms::Label());
  359. this->label8 = (gcnew System::Windows::Forms::Label());
  360. this->label9 = (gcnew System::Windows::Forms::Label());
  361. this->label10 = (gcnew System::Windows::Forms::Label());
  362. this->label11 = (gcnew System::Windows::Forms::Label());
  363. this->panel_Settings->SuspendLayout();
  364. this->tabControl1->SuspendLayout();
  365. this->tabPage_Main->SuspendLayout();
  366. this->groupBox6->SuspendLayout();
  367. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownWeight))->BeginInit();
  368. this->groupBox2->SuspendLayout();
  369. this->tabPage_Advanced->SuspendLayout();
  370. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_BoneMass))->BeginInit();
  371. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_MuscleMass))->BeginInit();
  372. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_BasalMetRate))->BeginInit();
  373. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_ActiveMetRate))->BeginInit();
  374. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_BodyFat))->BeginInit();
  375. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Hydration))->BeginInit();
  376. this->tabPage_GlobalData->SuspendLayout();
  377. this->tabPage_CustomProfile->SuspendLayout();
  378. this->groupBoxLifetimeActivity->SuspendLayout();
  379. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownActivityLevel))->BeginInit();
  380. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownProfile))->BeginInit();
  381. this->groupBox1->SuspendLayout();
  382. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownHeight))->BeginInit();
  383. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownAge))->BeginInit();
  384. this->tabPage_ActiveProfile->SuspendLayout();
  385. this->panel_Display->SuspendLayout();
  386. this->SuspendLayout();
  387. //
  388. // panel_Settings
  389. //
  390. this->panel_Settings->Controls->Add(this->tabControl1);
  391. this->panel_Settings->Location = System::Drawing::Point(294, 39);
  392. this->panel_Settings->Name = L"panel_Settings";
  393. this->panel_Settings->Size = System::Drawing::Size(433, 166);
  394. this->panel_Settings->TabIndex = 0;
  395. //
  396. // tabControl1
  397. //
  398. this->tabControl1->Controls->Add(this->tabPage_Main);
  399. this->tabControl1->Controls->Add(this->tabPage_Advanced);
  400. this->tabControl1->Controls->Add(this->tabPage_GlobalData);
  401. this->tabControl1->Controls->Add(this->tabPage_CustomProfile);
  402. this->tabControl1->Controls->Add(this->tabPage_ActiveProfile);
  403. this->tabControl1->Location = System::Drawing::Point(3, 3);
  404. this->tabControl1->Name = L"tabControl1";
  405. this->tabControl1->SelectedIndex = 0;
  406. this->tabControl1->Size = System::Drawing::Size(431, 163);
  407. this->tabControl1->TabIndex = 0;
  408. //
  409. // tabPage_Main
  410. //
  411. this->tabPage_Main->Controls->Add(this->buttonReset);
  412. this->tabPage_Main->Controls->Add(this->groupBox6);
  413. this->tabPage_Main->Controls->Add(this->labelStatusProfileSent);
  414. this->tabPage_Main->Controls->Add(this->labelStatusProfileUpdate);
  415. this->tabPage_Main->Controls->Add(this->labelStatusProfileMatch);
  416. this->tabPage_Main->Controls->Add(this->labelStatusProfileNew);
  417. this->tabPage_Main->Controls->Add(this->groupBox2);
  418. this->tabPage_Main->Controls->Add(this->checkBoxProfileSet);
  419. this->tabPage_Main->Controls->Add(this->checkBoxExchange);
  420. this->tabPage_Main->Controls->Add(this->checkBoxAntfs);
  421. this->tabPage_Main->Controls->Add(this->labelStatusProfileRx);
  422. this->tabPage_Main->ForeColor = System::Drawing::SystemColors::ControlText;
  423. this->tabPage_Main->Location = System::Drawing::Point(4, 22);
  424. this->tabPage_Main->Name = L"tabPage_Main";
  425. this->tabPage_Main->Padding = System::Windows::Forms::Padding(3);
  426. this->tabPage_Main->Size = System::Drawing::Size(423, 137);
  427. this->tabPage_Main->TabIndex = 0;
  428. this->tabPage_Main->Text = L"Main";
  429. this->tabPage_Main->UseVisualStyleBackColor = true;
  430. //
  431. // buttonReset
  432. //
  433. this->buttonReset->Location = System::Drawing::Point(122, 79);
  434. this->buttonReset->Name = L"buttonReset";
  435. this->buttonReset->Size = System::Drawing::Size(111, 25);
  436. this->buttonReset->TabIndex = 35;
  437. this->buttonReset->Text = L"Reset Session";
  438. this->buttonReset->UseVisualStyleBackColor = true;
  439. this->buttonReset->Click += gcnew System::EventHandler(this, &WeightScaleSensor::buttonReset_Click);
  440. //
  441. // groupBox6
  442. //
  443. this->groupBox6->Controls->Add(this->radioButtonWeightError);
  444. this->groupBox6->Controls->Add(this->radioButtonWieghtComputing);
  445. this->groupBox6->Controls->Add(this->radioButtonWeightValid);
  446. this->groupBox6->Controls->Add(this->numericUpDownWeight);
  447. this->groupBox6->Location = System::Drawing::Point(109, 0);
  448. this->groupBox6->Name = L"groupBox6";
  449. this->groupBox6->Size = System::Drawing::Size(309, 36);
  450. this->groupBox6->TabIndex = 20;
  451. this->groupBox6->TabStop = false;
  452. this->groupBox6->Text = L"Weight Validity";
  453. //
  454. // radioButtonWeightError
  455. //
  456. this->radioButtonWeightError->AutoSize = true;
  457. this->radioButtonWeightError->Location = System::Drawing::Point(239, 13);
  458. this->radioButtonWeightError->Name = L"radioButtonWeightError";
  459. this->radioButtonWeightError->Size = System::Drawing::Size(56, 17);
  460. this->radioButtonWeightError->TabIndex = 4;
  461. this->radioButtonWeightError->Text = L"Invalid";
  462. this->radioButtonWeightError->UseVisualStyleBackColor = true;
  463. this->radioButtonWeightError->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonWeightError_CheckedChanged);
  464. //
  465. // radioButtonWieghtComputing
  466. //
  467. this->radioButtonWieghtComputing->AutoSize = true;
  468. this->radioButtonWieghtComputing->Checked = true;
  469. this->radioButtonWieghtComputing->Location = System::Drawing::Point(158, 13);
  470. this->radioButtonWieghtComputing->Name = L"radioButtonWieghtComputing";
  471. this->radioButtonWieghtComputing->Size = System::Drawing::Size(75, 17);
  472. this->radioButtonWieghtComputing->TabIndex = 3;
  473. this->radioButtonWieghtComputing->TabStop = true;
  474. this->radioButtonWieghtComputing->Text = L"Computing";
  475. this->radioButtonWieghtComputing->UseVisualStyleBackColor = true;
  476. this->radioButtonWieghtComputing->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonWeightComputing_CheckedChanged);
  477. //
  478. // radioButtonWeightValid
  479. //
  480. this->radioButtonWeightValid->AutoSize = true;
  481. this->radioButtonWeightValid->Location = System::Drawing::Point(5, 13);
  482. this->radioButtonWeightValid->Name = L"radioButtonWeightValid";
  483. this->radioButtonWeightValid->Size = System::Drawing::Size(80, 17);
  484. this->radioButtonWeightValid->TabIndex = 2;
  485. this->radioButtonWeightValid->Text = L"Weight (kg)";
  486. this->radioButtonWeightValid->UseVisualStyleBackColor = true;
  487. this->radioButtonWeightValid->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonWeightValid_CheckedChanged);
  488. //
  489. // numericUpDownWeight
  490. //
  491. this->numericUpDownWeight->DecimalPlaces = 2;
  492. this->numericUpDownWeight->Enabled = false;
  493. this->numericUpDownWeight->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  494. this->numericUpDownWeight->Location = System::Drawing::Point(91, 10);
  495. this->numericUpDownWeight->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {65533, 0, 0, 131072});
  496. this->numericUpDownWeight->Name = L"numericUpDownWeight";
  497. this->numericUpDownWeight->Size = System::Drawing::Size(61, 20);
  498. this->numericUpDownWeight->TabIndex = 0;
  499. this->numericUpDownWeight->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {6550, 0, 0, 131072});
  500. this->numericUpDownWeight->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDownWeight_ValueChanged);
  501. //
  502. // labelStatusProfileSent
  503. //
  504. this->labelStatusProfileSent->AutoSize = true;
  505. this->labelStatusProfileSent->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  506. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  507. this->labelStatusProfileSent->ForeColor = System::Drawing::SystemColors::ControlText;
  508. this->labelStatusProfileSent->Location = System::Drawing::Point(239, 100);
  509. this->labelStatusProfileSent->Name = L"labelStatusProfileSent";
  510. this->labelStatusProfileSent->Size = System::Drawing::Size(22, 15);
  511. this->labelStatusProfileSent->TabIndex = 19;
  512. this->labelStatusProfileSent->Text = L"---";
  513. //
  514. // labelStatusProfileUpdate
  515. //
  516. this->labelStatusProfileUpdate->AutoSize = true;
  517. this->labelStatusProfileUpdate->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  518. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  519. this->labelStatusProfileUpdate->ForeColor = System::Drawing::SystemColors::ControlText;
  520. this->labelStatusProfileUpdate->Location = System::Drawing::Point(239, 85);
  521. this->labelStatusProfileUpdate->Name = L"labelStatusProfileUpdate";
  522. this->labelStatusProfileUpdate->Size = System::Drawing::Size(22, 15);
  523. this->labelStatusProfileUpdate->TabIndex = 18;
  524. this->labelStatusProfileUpdate->Text = L"---";
  525. //
  526. // labelStatusProfileMatch
  527. //
  528. this->labelStatusProfileMatch->AutoSize = true;
  529. this->labelStatusProfileMatch->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  530. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  531. this->labelStatusProfileMatch->ForeColor = System::Drawing::SystemColors::ControlText;
  532. this->labelStatusProfileMatch->Location = System::Drawing::Point(239, 70);
  533. this->labelStatusProfileMatch->Name = L"labelStatusProfileMatch";
  534. this->labelStatusProfileMatch->Size = System::Drawing::Size(22, 15);
  535. this->labelStatusProfileMatch->TabIndex = 17;
  536. this->labelStatusProfileMatch->Text = L"---";
  537. //
  538. // labelStatusProfileNew
  539. //
  540. this->labelStatusProfileNew->AutoSize = true;
  541. this->labelStatusProfileNew->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  542. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  543. this->labelStatusProfileNew->ForeColor = System::Drawing::SystemColors::ControlText;
  544. this->labelStatusProfileNew->Location = System::Drawing::Point(239, 55);
  545. this->labelStatusProfileNew->Name = L"labelStatusProfileNew";
  546. this->labelStatusProfileNew->Size = System::Drawing::Size(22, 15);
  547. this->labelStatusProfileNew->TabIndex = 16;
  548. this->labelStatusProfileNew->Text = L"---";
  549. //
  550. // groupBox2
  551. //
  552. this->groupBox2->Controls->Add(this->radioButtonGuest);
  553. this->groupBox2->Controls->Add(this->radioButtonUser3);
  554. this->groupBox2->Controls->Add(this->radioButtonUser2);
  555. this->groupBox2->Controls->Add(this->radioButtonUser1);
  556. this->groupBox2->Enabled = false;
  557. this->groupBox2->Location = System::Drawing::Point(9, 34);
  558. this->groupBox2->Name = L"groupBox2";
  559. this->groupBox2->Size = System::Drawing::Size(224, 37);
  560. this->groupBox2->TabIndex = 15;
  561. this->groupBox2->TabStop = false;
  562. this->groupBox2->Text = L"Scale User Profiles";
  563. //
  564. // radioButtonGuest
  565. //
  566. this->radioButtonGuest->AutoSize = true;
  567. this->radioButtonGuest->Location = System::Drawing::Point(163, 14);
  568. this->radioButtonGuest->Name = L"radioButtonGuest";
  569. this->radioButtonGuest->Size = System::Drawing::Size(53, 17);
  570. this->radioButtonGuest->TabIndex = 3;
  571. this->radioButtonGuest->TabStop = true;
  572. this->radioButtonGuest->Text = L"Guest";
  573. this->radioButtonGuest->UseVisualStyleBackColor = true;
  574. this->radioButtonGuest->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonGuest_CheckedChanged);
  575. //
  576. // radioButtonUser3
  577. //
  578. this->radioButtonUser3->AutoSize = true;
  579. this->radioButtonUser3->Location = System::Drawing::Point(113, 14);
  580. this->radioButtonUser3->Name = L"radioButtonUser3";
  581. this->radioButtonUser3->Size = System::Drawing::Size(45, 17);
  582. this->radioButtonUser3->TabIndex = 2;
  583. this->radioButtonUser3->Text = L"Dan";
  584. this->radioButtonUser3->UseVisualStyleBackColor = true;
  585. this->radioButtonUser3->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonUser3_CheckedChanged);
  586. //
  587. // radioButtonUser2
  588. //
  589. this->radioButtonUser2->AutoSize = true;
  590. this->radioButtonUser2->Location = System::Drawing::Point(55, 14);
  591. this->radioButtonUser2->Name = L"radioButtonUser2";
  592. this->radioButtonUser2->Size = System::Drawing::Size(53, 17);
  593. this->radioButtonUser2->TabIndex = 1;
  594. this->radioButtonUser2->Text = L"Jenny";
  595. this->radioButtonUser2->UseVisualStyleBackColor = true;
  596. this->radioButtonUser2->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonUser2_CheckedChanged);
  597. //
  598. // radioButtonUser1
  599. //
  600. this->radioButtonUser1->AutoSize = true;
  601. this->radioButtonUser1->Checked = true;
  602. this->radioButtonUser1->Location = System::Drawing::Point(6, 14);
  603. this->radioButtonUser1->Name = L"radioButtonUser1";
  604. this->radioButtonUser1->Size = System::Drawing::Size(44, 17);
  605. this->radioButtonUser1->TabIndex = 0;
  606. this->radioButtonUser1->TabStop = true;
  607. this->radioButtonUser1->Text = L"Bob";
  608. this->radioButtonUser1->UseVisualStyleBackColor = true;
  609. this->radioButtonUser1->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonUser1_CheckedChanged);
  610. //
  611. // checkBoxProfileSet
  612. //
  613. this->checkBoxProfileSet->AutoSize = true;
  614. this->checkBoxProfileSet->Location = System::Drawing::Point(9, 6);
  615. this->checkBoxProfileSet->Name = L"checkBoxProfileSet";
  616. this->checkBoxProfileSet->Size = System::Drawing::Size(99, 17);
  617. this->checkBoxProfileSet->TabIndex = 14;
  618. this->checkBoxProfileSet->Text = L"User Profile Set";
  619. this->checkBoxProfileSet->UseVisualStyleBackColor = true;
  620. this->checkBoxProfileSet->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::checkBoxProfileSet_CheckedChanged);
  621. //
  622. // checkBoxExchange
  623. //
  624. this->checkBoxExchange->AutoSize = true;
  625. this->checkBoxExchange->Checked = true;
  626. this->checkBoxExchange->CheckState = System::Windows::Forms::CheckState::Checked;
  627. this->checkBoxExchange->Location = System::Drawing::Point(9, 108);
  628. this->checkBoxExchange->Name = L"checkBoxExchange";
  629. this->checkBoxExchange->Size = System::Drawing::Size(171, 17);
  630. this->checkBoxExchange->TabIndex = 8;
  631. this->checkBoxExchange->Text = L"User Profile Exchange Support";
  632. this->checkBoxExchange->UseVisualStyleBackColor = true;
  633. this->checkBoxExchange->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::checkBoxExchange_CheckedChanged);
  634. //
  635. // checkBoxAntfs
  636. //
  637. this->checkBoxAntfs->AutoSize = true;
  638. this->checkBoxAntfs->Enabled = false;
  639. this->checkBoxAntfs->Location = System::Drawing::Point(9, 84);
  640. this->checkBoxAntfs->Name = L"checkBoxAntfs";
  641. this->checkBoxAntfs->Size = System::Drawing::Size(104, 17);
  642. this->checkBoxAntfs->TabIndex = 7;
  643. this->checkBoxAntfs->Text = L"ANT-FS Support";
  644. this->checkBoxAntfs->UseVisualStyleBackColor = true;
  645. this->checkBoxAntfs->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::checkBoxAntfs_CheckedChanged);
  646. //
  647. // labelStatusProfileRx
  648. //
  649. this->labelStatusProfileRx->AutoSize = true;
  650. this->labelStatusProfileRx->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.5F, System::Drawing::FontStyle::Bold,
  651. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  652. this->labelStatusProfileRx->ForeColor = System::Drawing::SystemColors::ControlText;
  653. this->labelStatusProfileRx->Location = System::Drawing::Point(239, 40);
  654. this->labelStatusProfileRx->Name = L"labelStatusProfileRx";
  655. this->labelStatusProfileRx->Size = System::Drawing::Size(22, 15);
  656. this->labelStatusProfileRx->TabIndex = 4;
  657. this->labelStatusProfileRx->Text = L"---";
  658. //
  659. // tabPage_Advanced
  660. //
  661. this->tabPage_Advanced->Controls->Add(this->numericUpDown_BoneMass);
  662. this->tabPage_Advanced->Controls->Add(this->label13);
  663. this->tabPage_Advanced->Controls->Add(this->label14);
  664. this->tabPage_Advanced->Controls->Add(this->numericUpDown_MuscleMass);
  665. this->tabPage_Advanced->Controls->Add(this->label15);
  666. this->tabPage_Advanced->Controls->Add(this->checkBox_TxPage4);
  667. this->tabPage_Advanced->Controls->Add(this->numericUpDown_BasalMetRate);
  668. this->tabPage_Advanced->Controls->Add(this->label_Disp_Basal);
  669. this->tabPage_Advanced->Controls->Add(this->label_MetRate);
  670. this->tabPage_Advanced->Controls->Add(this->numericUpDown_ActiveMetRate);
  671. this->tabPage_Advanced->Controls->Add(this->label_Disp_Active);
  672. this->tabPage_Advanced->Controls->Add(this->checkBox_TxPage3);
  673. this->tabPage_Advanced->Controls->Add(this->numericUpDown_BodyFat);
  674. this->tabPage_Advanced->Controls->Add(this->label_Disp_BodyFat);
  675. this->tabPage_Advanced->Controls->Add(this->numericUpDown_Hydration);
  676. this->tabPage_Advanced->Controls->Add(this->label_Disp_Hydration);
  677. this->tabPage_Advanced->Controls->Add(this->checkBox_TxPage2);
  678. this->tabPage_Advanced->Location = System::Drawing::Point(4, 22);
  679. this->tabPage_Advanced->Name = L"tabPage_Advanced";
  680. this->tabPage_Advanced->Padding = System::Windows::Forms::Padding(3);
  681. this->tabPage_Advanced->Size = System::Drawing::Size(423, 137);
  682. this->tabPage_Advanced->TabIndex = 8;
  683. this->tabPage_Advanced->Text = L"Advanced Data";
  684. this->tabPage_Advanced->UseVisualStyleBackColor = true;
  685. //
  686. // numericUpDown_BoneMass
  687. //
  688. this->numericUpDown_BoneMass->DecimalPlaces = 1;
  689. this->numericUpDown_BoneMass->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
  690. this->numericUpDown_BoneMass->Location = System::Drawing::Point(346, 83);
  691. this->numericUpDown_BoneMass->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {253, 0, 0, 65536});
  692. this->numericUpDown_BoneMass->Name = L"numericUpDown_BoneMass";
  693. this->numericUpDown_BoneMass->Size = System::Drawing::Size(63, 20);
  694. this->numericUpDown_BoneMass->TabIndex = 16;
  695. this->numericUpDown_BoneMass->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {182, 0, 0, 65536});
  696. this->numericUpDown_BoneMass->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDown_BoneMass_ValueChanged);
  697. //
  698. // label13
  699. //
  700. this->label13->AutoSize = true;
  701. this->label13->Location = System::Drawing::Point(303, 85);
  702. this->label13->Name = L"label13";
  703. this->label13->Size = System::Drawing::Size(32, 13);
  704. this->label13->TabIndex = 15;
  705. this->label13->Text = L"Bone";
  706. //
  707. // label14
  708. //
  709. this->label14->AutoSize = true;
  710. this->label14->Location = System::Drawing::Point(303, 36);
  711. this->label14->Name = L"label14";
  712. this->label14->Size = System::Drawing::Size(53, 13);
  713. this->label14->TabIndex = 14;
  714. this->label14->Text = L"Mass (kg)";
  715. this->label14->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
  716. //
  717. // numericUpDown_MuscleMass
  718. //
  719. this->numericUpDown_MuscleMass->DecimalPlaces = 2;
  720. this->numericUpDown_MuscleMass->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  721. this->numericUpDown_MuscleMass->Location = System::Drawing::Point(346, 55);
  722. this->numericUpDown_MuscleMass->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {65533, 0, 0, 131072});
  723. this->numericUpDown_MuscleMass->Name = L"numericUpDown_MuscleMass";
  724. this->numericUpDown_MuscleMass->Size = System::Drawing::Size(63, 20);
  725. this->numericUpDown_MuscleMass->TabIndex = 13;
  726. this->numericUpDown_MuscleMass->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {4762, 0, 0, 131072});
  727. this->numericUpDown_MuscleMass->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDown_MuscleMass_ValueChanged);
  728. //
  729. // label15
  730. //
  731. this->label15->AutoSize = true;
  732. this->label15->Location = System::Drawing::Point(303, 57);
  733. this->label15->Name = L"label15";
  734. this->label15->Size = System::Drawing::Size(41, 13);
  735. this->label15->TabIndex = 12;
  736. this->label15->Text = L"Muscle";
  737. //
  738. // checkBox_TxPage4
  739. //
  740. this->checkBox_TxPage4->AutoSize = true;
  741. this->checkBox_TxPage4->Checked = true;
  742. this->checkBox_TxPage4->CheckState = System::Windows::Forms::CheckState::Checked;
  743. this->checkBox_TxPage4->Location = System::Drawing::Point(306, 11);
  744. this->checkBox_TxPage4->Name = L"checkBox_TxPage4";
  745. this->checkBox_TxPage4->Size = System::Drawing::Size(82, 17);
  746. this->checkBox_TxPage4->TabIndex = 11;
  747. this->checkBox_TxPage4->Text = L"Use Page 4";
  748. this->checkBox_TxPage4->UseVisualStyleBackColor = true;
  749. this->checkBox_TxPage4->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::checkBox_TxPage4_CheckedChanged);
  750. //
  751. // numericUpDown_BasalMetRate
  752. //
  753. this->numericUpDown_BasalMetRate->DecimalPlaces = 2;
  754. this->numericUpDown_BasalMetRate->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {25, 0, 0, 131072});
  755. this->numericUpDown_BasalMetRate->Location = System::Drawing::Point(222, 83);
  756. this->numericUpDown_BasalMetRate->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {16383, 0, 0, 0});
  757. this->numericUpDown_BasalMetRate->Name = L"numericUpDown_BasalMetRate";
  758. this->numericUpDown_BasalMetRate->Size = System::Drawing::Size(63, 20);
  759. this->numericUpDown_BasalMetRate->TabIndex = 10;
  760. this->numericUpDown_BasalMetRate->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {145075, 0, 0, 131072});
  761. this->numericUpDown_BasalMetRate->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDown_BasalMetRate_ValueChanged);
  762. //
  763. // label_Disp_Basal
  764. //
  765. this->label_Disp_Basal->AutoSize = true;
  766. this->label_Disp_Basal->Location = System::Drawing::Point(179, 85);
  767. this->label_Disp_Basal->Name = L"label_Disp_Basal";
  768. this->label_Disp_Basal->Size = System::Drawing::Size(33, 13);
  769. this->label_Disp_Basal->TabIndex = 9;
  770. this->label_Disp_Basal->Text = L"Basal";
  771. //
  772. // label_MetRate
  773. //
  774. this->label_MetRate->AutoSize = true;
  775. this->label_MetRate->Location = System::Drawing::Point(179, 36);
  776. this->label_MetRate->Name = L"label_MetRate";
  777. this->label_MetRate->Size = System::Drawing::Size(95, 13);
  778. this->label_MetRate->TabIndex = 8;
  779. this->label_MetRate->Text = L"Metab. Rate (kcal)";
  780. this->label_MetRate->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
  781. //
  782. // numericUpDown_ActiveMetRate
  783. //
  784. this->numericUpDown_ActiveMetRate->DecimalPlaces = 2;
  785. this->numericUpDown_ActiveMetRate->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {25, 0, 0, 131072});
  786. this->numericUpDown_ActiveMetRate->Location = System::Drawing::Point(222, 55);
  787. this->numericUpDown_ActiveMetRate->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {16383, 0, 0, 0});
  788. this->numericUpDown_ActiveMetRate->Name = L"numericUpDown_ActiveMetRate";
  789. this->numericUpDown_ActiveMetRate->Size = System::Drawing::Size(63, 20);
  790. this->numericUpDown_ActiveMetRate->TabIndex = 7;
  791. this->numericUpDown_ActiveMetRate->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {214525, 0, 0, 131072});
  792. this->numericUpDown_ActiveMetRate->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDown_ActiveMetRate_ValueChanged);
  793. //
  794. // label_Disp_Active
  795. //
  796. this->label_Disp_Active->AutoSize = true;
  797. this->label_Disp_Active->Location = System::Drawing::Point(179, 57);
  798. this->label_Disp_Active->Name = L"label_Disp_Active";
  799. this->label_Disp_Active->Size = System::Drawing::Size(37, 13);
  800. this->label_Disp_Active->TabIndex = 6;
  801. this->label_Disp_Active->Text = L"Active";
  802. //
  803. // checkBox_TxPage3
  804. //
  805. this->checkBox_TxPage3->AutoSize = true;
  806. this->checkBox_TxPage3->Checked = true;
  807. this->checkBox_TxPage3->CheckState = System::Windows::Forms::CheckState::Checked;
  808. this->checkBox_TxPage3->Location = System::Drawing::Point(182, 11);
  809. this->checkBox_TxPage3->Name = L"checkBox_TxPage3";
  810. this->checkBox_TxPage3->Size = System::Drawing::Size(82, 17);
  811. this->checkBox_TxPage3->TabIndex = 5;
  812. this->checkBox_TxPage3->Text = L"Use Page 3";
  813. this->checkBox_TxPage3->UseVisualStyleBackColor = true;
  814. this->checkBox_TxPage3->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::checkBox_TxPage3_CheckedChanged);
  815. //
  816. // numericUpDown_BodyFat
  817. //
  818. this->numericUpDown_BodyFat->DecimalPlaces = 2;
  819. this->numericUpDown_BodyFat->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  820. this->numericUpDown_BodyFat->Location = System::Drawing::Point(91, 57);
  821. this->numericUpDown_BodyFat->Name = L"numericUpDown_BodyFat";
  822. this->numericUpDown_BodyFat->Size = System::Drawing::Size(63, 20);
  823. this->numericUpDown_BodyFat->TabIndex = 4;
  824. this->numericUpDown_BodyFat->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {2248, 0, 0, 131072});
  825. this->numericUpDown_BodyFat->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDown_BodyFat_ValueChanged);
  826. //
  827. // label_Disp_BodyFat
  828. //
  829. this->label_Disp_BodyFat->AutoSize = true;
  830. this->label_Disp_BodyFat->Location = System::Drawing::Point(6, 59);
  831. this->label_Disp_BodyFat->Name = L"label_Disp_BodyFat";
  832. this->label_Disp_BodyFat->Size = System::Drawing::Size(66, 13);
  833. this->label_Disp_BodyFat->TabIndex = 3;
  834. this->label_Disp_BodyFat->Text = L"Body Fat (%)";
  835. //
  836. // numericUpDown_Hydration
  837. //
  838. this->numericUpDown_Hydration->DecimalPlaces = 2;
  839. this->numericUpDown_Hydration->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 131072});
  840. this->numericUpDown_Hydration->Location = System::Drawing::Point(91, 29);
  841. this->numericUpDown_Hydration->Name = L"numericUpDown_Hydration";
  842. this->numericUpDown_Hydration->Size = System::Drawing::Size(63, 20);
  843. this->numericUpDown_Hydration->TabIndex = 2;
  844. this->numericUpDown_Hydration->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {5215, 0, 0, 131072});
  845. this->numericUpDown_Hydration->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDown_Hydration_ValueChanged);
  846. //
  847. // label_Disp_Hydration
  848. //
  849. this->label_Disp_Hydration->AutoSize = true;
  850. this->label_Disp_Hydration->Location = System::Drawing::Point(6, 31);
  851. this->label_Disp_Hydration->Name = L"label_Disp_Hydration";
  852. this->label_Disp_Hydration->Size = System::Drawing::Size(69, 13);
  853. this->label_Disp_Hydration->TabIndex = 1;
  854. this->label_Disp_Hydration->Text = L"Hydration (%)";
  855. //
  856. // checkBox_TxPage2
  857. //
  858. this->checkBox_TxPage2->AutoSize = true;
  859. this->checkBox_TxPage2->Checked = true;
  860. this->checkBox_TxPage2->CheckState = System::Windows::Forms::CheckState::Checked;
  861. this->checkBox_TxPage2->Location = System::Drawing::Point(9, 11);
  862. this->checkBox_TxPage2->Name = L"checkBox_TxPage2";
  863. this->checkBox_TxPage2->Size = System::Drawing::Size(82, 17);
  864. this->checkBox_TxPage2->TabIndex = 0;
  865. this->checkBox_TxPage2->Text = L"Use Page 2";
  866. this->checkBox_TxPage2->UseVisualStyleBackColor = true;
  867. this->checkBox_TxPage2->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::checkBox_TxPage2_CheckedChanged);
  868. //
  869. // tabPage_GlobalData
  870. //
  871. this->tabPage_GlobalData->Controls->Add(this->checkBox_InvalidSerial);
  872. this->tabPage_GlobalData->Controls->Add(this->checkBoxProd);
  873. this->tabPage_GlobalData->Controls->Add(this->checkBoxMfg);
  874. this->tabPage_GlobalData->Controls->Add(this->buttonUpdateGlobal);
  875. this->tabPage_GlobalData->Controls->Add(this->labelError);
  876. this->tabPage_GlobalData->Controls->Add(this->label18);
  877. this->tabPage_GlobalData->Controls->Add(this->label19);
  878. this->tabPage_GlobalData->Controls->Add(this->textboxSerialNum);
  879. this->tabPage_GlobalData->Controls->Add(this->textboxSwVer);
  880. this->tabPage_GlobalData->Controls->Add(this->label20);
  881. this->tabPage_GlobalData->Controls->Add(this->label21);
  882. this->tabPage_GlobalData->Controls->Add(this->label22);
  883. this->tabPage_GlobalData->Controls->Add(this->textboxHwVer);
  884. this->tabPage_GlobalData->Controls->Add(this->textboxModelNum);
  885. this->tabPage_GlobalData->Controls->Add(this->textboxMfgID);
  886. this->tabPage_GlobalData->Location = System::Drawing::Point(4, 22);
  887. this->tabPage_GlobalData->Name = L"tabPage_GlobalData";
  888. this->tabPage_GlobalData->Padding = System::Windows::Forms::Padding(3);
  889. this->tabPage_GlobalData->Size = System::Drawing::Size(423, 137);
  890. this->tabPage_GlobalData->TabIndex = 2;
  891. this->tabPage_GlobalData->Text = L"Global Data";
  892. this->tabPage_GlobalData->UseVisualStyleBackColor = true;
  893. //
  894. // checkBox_InvalidSerial
  895. //
  896. this->checkBox_InvalidSerial->AutoSize = true;
  897. this->checkBox_InvalidSerial->Location = System::Drawing::Point(303, 50);
  898. this->checkBox_InvalidSerial->Name = L"checkBox_InvalidSerial";
  899. this->checkBox_InvalidSerial->Size = System::Drawing::Size(79, 17);
  900. this->checkBox_InvalidSerial->TabIndex = 50;
  901. this->checkBox_InvalidSerial->Text = L"No Serial #";
  902. this->checkBox_InvalidSerial->UseVisualStyleBackColor = true;
  903. this->checkBox_InvalidSerial->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::checkBox_InvalidSerial_CheckedChanged);
  904. //
  905. // checkBoxProd
  906. //
  907. this->checkBoxProd->AutoSize = true;
  908. this->checkBoxProd->Checked = true;
  909. this->checkBoxProd->CheckState = System::Windows::Forms::CheckState::Checked;
  910. this->checkBoxProd->Enabled = false;
  911. this->checkBoxProd->Location = System::Drawing::Point(205, 6);
  912. this->checkBoxProd->Name = L"checkBoxProd";
  913. this->checkBoxProd->Size = System::Drawing::Size(148, 17);
  914. this->checkBoxProd->TabIndex = 46;
  915. this->checkBoxProd->Text = L"Enable Product Info Page";
  916. this->checkBoxProd->UseVisualStyleBackColor = true;
  917. //
  918. // checkBoxMfg
  919. //
  920. this->checkBoxMfg->AutoSize = true;
  921. this->checkBoxMfg->Checked = true;
  922. this->checkBoxMfg->CheckState = System::Windows::Forms::CheckState::Checked;
  923. this->checkBoxMfg->Enabled = false;
  924. this->checkBoxMfg->Location = System::Drawing::Point(6, 6);
  925. this->checkBoxMfg->Name = L"checkBoxMfg";
  926. this->checkBoxMfg->Size = System::Drawing::Size(184, 17);
  927. this->checkBoxMfg->TabIndex = 42;
  928. this->checkBoxMfg->Text = L"Enable Manufacturing Data Page";
  929. this->checkBoxMfg->UseVisualStyleBackColor = true;
  930. //
  931. // buttonUpdateGlobal
  932. //
  933. this->buttonUpdateGlobal->Location = System::Drawing::Point(229, 99);
  934. this->buttonUpdateGlobal->Name = L"buttonUpdateGlobal";
  935. this->buttonUpdateGlobal->Size = System::Drawing::Size(97, 20);
  936. this->buttonUpdateGlobal->TabIndex = 49;
  937. this->buttonUpdateGlobal->Text = L"Update All";
  938. this->buttonUpdateGlobal->UseVisualStyleBackColor = true;
  939. this->buttonUpdateGlobal->Click += gcnew System::EventHandler(this, &WeightScaleSensor::buttonUpdateGlobal_Click);
  940. //
  941. // labelError
  942. //
  943. this->labelError->AutoSize = true;
  944. this->labelError->Location = System::Drawing::Point(29, 112);
  945. this->labelError->Name = L"labelError";
  946. this->labelError->Size = System::Drawing::Size(32, 13);
  947. this->labelError->TabIndex = 20;
  948. this->labelError->Text = L"Error:";
  949. this->labelError->Visible = false;
  950. //
  951. // label18
  952. //
  953. this->label18->AutoSize = true;
  954. this->label18->Location = System::Drawing::Point(226, 76);
  955. this->label18->Name = L"label18";
  956. this->label18->Size = System::Drawing::Size(71, 13);
  957. this->label18->TabIndex = 4;
  958. this->label18->Text = L"Software Ver:";
  959. //
  960. // label19
  961. //
  962. this->label19->AutoSize = true;
  963. this->label19->Location = System::Drawing::Point(29, 76);
  964. this->label19->Name = L"label19";
  965. this->label19->Size = System::Drawing::Size(75, 13);
  966. this->label19->TabIndex = 3;
  967. this->label19->Text = L"Hardware Ver:";
  968. //
  969. // textboxSerialNum
  970. //
  971. this->textboxSerialNum->Location = System::Drawing::Point(303, 24);
  972. this->textboxSerialNum->MaxLength = 10;
  973. this->textboxSerialNum->Name = L"textboxSerialNum";
  974. this->textboxSerialNum->Size = System::Drawing::Size(76, 20);
  975. this->textboxSerialNum->TabIndex = 47;
  976. this->textboxSerialNum->Text = L"1234567890";
  977. //
  978. // textboxSwVer
  979. //
  980. this->textboxSwVer->Location = System::Drawing::Point(303, 73);
  981. this->textboxSwVer->MaxLength = 3;
  982. this->textboxSwVer->Name = L"textboxSwVer";
  983. this->textboxSwVer->Size = System::Drawing::Size(29, 20);
  984. this->textboxSwVer->TabIndex = 48;
  985. this->textboxSwVer->Text = L"1";
  986. //
  987. // label20
  988. //
  989. this->label20->AutoSize = true;
  990. this->label20->Location = System::Drawing::Point(226, 27);
  991. this->label20->Name = L"label20";
  992. this->label20->Size = System::Drawing::Size(46, 13);
  993. this->label20->TabIndex = 2;
  994. this->label20->Text = L"Serial #:";
  995. //
  996. // label21
  997. //
  998. this->label21->AutoSize = true;
  999. this->label21->Location = System::Drawing::Point(29, 26);
  1000. this->label21->Name = L"label21";
  1001. this->label21->Size = System::Drawing::Size(51, 13);
  1002. this->label21->TabIndex = 1;
  1003. this->label21->Text = L"Manf. ID:";
  1004. //
  1005. // label22
  1006. //
  1007. this->label22->AutoSize = true;
  1008. this->label22->Location = System::Drawing::Point(29, 51);
  1009. this->label22->Name = L"label22";
  1010. this->label22->Size = System::Drawing::Size(49, 13);
  1011. this->label22->TabIndex = 5;
  1012. this->label22->Text = L"Model #:";
  1013. //
  1014. // textboxHwVer
  1015. //
  1016. this->textboxHwVer->Location = System::Drawing::Point(110, 73);
  1017. this->textboxHwVer->MaxLength = 3;
  1018. this->textboxHwVer->Name = L"textboxHwVer";
  1019. this->textboxHwVer->Size = System::Drawing::Size(29, 20);
  1020. this->textboxHwVer->TabIndex = 45;
  1021. this->textboxHwVer->Text = L"1";
  1022. //
  1023. // textboxModelNum
  1024. //
  1025. this->textboxModelNum->Location = System::Drawing::Point(110, 49);
  1026. this->textboxModelNum->MaxLength = 5;
  1027. this->textboxModelNum->Name = L"textboxModelNum";
  1028. this->textboxModelNum->Size = System::Drawing::Size(49, 20);
  1029. this->textboxModelNum->TabIndex = 44;
  1030. this->textboxModelNum->Text = L"33669";
  1031. //
  1032. // textboxMfgID
  1033. //
  1034. this->textboxMfgID->Location = System::Drawing::Point(110, 24);
  1035. this->textboxMfgID->MaxLength = 5;
  1036. this->textboxMfgID->Name = L"textboxMfgID";
  1037. this->textboxMfgID->Size = System::Drawing::Size(49, 20);
  1038. this->textboxMfgID->TabIndex = 43;
  1039. this->textboxMfgID->Text = L"1";
  1040. //
  1041. // tabPage_CustomProfile
  1042. //
  1043. this->tabPage_CustomProfile->Controls->Add(this->groupBoxLifetimeActivity);
  1044. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownActivityLevel);
  1045. this->tabPage_CustomProfile->Controls->Add(this->label24);
  1046. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownProfile);
  1047. this->tabPage_CustomProfile->Controls->Add(this->groupBox1);
  1048. this->tabPage_CustomProfile->Controls->Add(this->label29);
  1049. this->tabPage_CustomProfile->Controls->Add(this->label28);
  1050. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownHeight);
  1051. this->tabPage_CustomProfile->Controls->Add(this->label27);
  1052. this->tabPage_CustomProfile->Controls->Add(this->numericUpDownAge);
  1053. this->tabPage_CustomProfile->Location = System::Drawing::Point(4, 22);
  1054. this->tabPage_CustomProfile->Name = L"tabPage_CustomProfile";
  1055. this->tabPage_CustomProfile->Size = System::Drawing::Size(423, 137);
  1056. this->tabPage_CustomProfile->TabIndex = 3;
  1057. this->tabPage_CustomProfile->Text = L"Custom Profile";
  1058. this->tabPage_CustomProfile->UseVisualStyleBackColor = true;
  1059. //
  1060. // groupBoxLifetimeActivity
  1061. //
  1062. this->groupBoxLifetimeActivity->Controls->Add(this->radioButtonLifetimeActivityFalse);
  1063. this->groupBoxLifetimeActivity->Controls->Add(this->radioButtonLifetimeActivityTrue);
  1064. this->groupBoxLifetimeActivity->Enabled = false;
  1065. this->groupBoxLifetimeActivity->Location = System::Drawing::Point(320, 64);
  1066. this->groupBoxLifetimeActivity->Name = L"groupBoxLifetimeActivity";
  1067. this->groupBoxLifetimeActivity->Size = System::Drawing::Size(99, 53);
  1068. this->groupBoxLifetimeActivity->TabIndex = 66;
  1069. this->groupBoxLifetimeActivity->TabStop = false;
  1070. this->groupBoxLifetimeActivity->Text = L"Athlete";
  1071. //
  1072. // radioButtonLifetimeActivityFalse
  1073. //
  1074. this->radioButtonLifetimeActivityFalse->AutoSize = true;
  1075. this->radioButtonLifetimeActivityFalse->Checked = true;
  1076. this->radioButtonLifetimeActivityFalse->Location = System::Drawing::Point(15, 31);
  1077. this->radioButtonLifetimeActivityFalse->Name = L"radioButtonLifetimeActivityFalse";
  1078. this->radioButtonLifetimeActivityFalse->Size = System::Drawing::Size(39, 17);
  1079. this->radioButtonLifetimeActivityFalse->TabIndex = 66;
  1080. this->radioButtonLifetimeActivityFalse->TabStop = true;
  1081. this->radioButtonLifetimeActivityFalse->Text = L"No";
  1082. this->radioButtonLifetimeActivityFalse->UseVisualStyleBackColor = true;
  1083. this->radioButtonLifetimeActivityFalse->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonLifetimeActivityFalse_CheckedChanged);
  1084. //
  1085. // radioButtonLifetimeActivityTrue
  1086. //
  1087. this->radioButtonLifetimeActivityTrue->AutoSize = true;
  1088. this->radioButtonLifetimeActivityTrue->Location = System::Drawing::Point(15, 13);
  1089. this->radioButtonLifetimeActivityTrue->Name = L"radioButtonLifetimeActivityTrue";
  1090. this->radioButtonLifetimeActivityTrue->Size = System::Drawing::Size(43, 17);
  1091. this->radioButtonLifetimeActivityTrue->TabIndex = 65;
  1092. this->radioButtonLifetimeActivityTrue->TabStop = true;
  1093. this->radioButtonLifetimeActivityTrue->Text = L"Yes";
  1094. this->radioButtonLifetimeActivityTrue->UseVisualStyleBackColor = true;
  1095. this->radioButtonLifetimeActivityTrue->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonLifetimeActivityTrue_CheckedChanged);
  1096. //
  1097. // numericUpDownActivityLevel
  1098. //
  1099. this->numericUpDownActivityLevel->Enabled = false;
  1100. this->numericUpDownActivityLevel->Location = System::Drawing::Point(320, 22);
  1101. this->numericUpDownActivityLevel->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {7, 0, 0, 0});
  1102. this->numericUpDownActivityLevel->Name = L"numericUpDownActivityLevel";
  1103. this->numericUpDownActivityLevel->Size = System::Drawing::Size(44, 20);
  1104. this->numericUpDownActivityLevel->TabIndex = 63;
  1105. this->numericUpDownActivityLevel->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {3, 0, 0, 0});
  1106. this->numericUpDownActivityLevel->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDownActivityLevel_ValueChanged);
  1107. //
  1108. // label24
  1109. //
  1110. this->label24->AutoSize = true;
  1111. this->label24->Location = System::Drawing::Point(3, 6);
  1112. this->label24->Name = L"label24";
  1113. this->label24->Size = System::Drawing::Size(65, 13);
  1114. this->label24->TabIndex = 62;
  1115. this->label24->Text = L"User Prof ID";
  1116. //
  1117. // numericUpDownProfile
  1118. //
  1119. this->numericUpDownProfile->Enabled = false;
  1120. this->numericUpDownProfile->Location = System::Drawing::Point(6, 22);
  1121. this->numericUpDownProfile->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {15, 0, 0, 0});
  1122. this->numericUpDownProfile->Name = L"numericUpDownProfile";
  1123. this->numericUpDownProfile->Size = System::Drawing::Size(60, 20);
  1124. this->numericUpDownProfile->TabIndex = 61;
  1125. this->numericUpDownProfile->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {2, 0, 0, 0});
  1126. this->numericUpDownProfile->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDownProfile_ValueChanged);
  1127. //
  1128. // groupBox1
  1129. //
  1130. this->groupBox1->Controls->Add(this->radioButtonFemale);
  1131. this->groupBox1->Controls->Add(this->radioButtonMale);
  1132. this->groupBox1->Location = System::Drawing::Point(6, 64);
  1133. this->groupBox1->Name = L"groupBox1";
  1134. this->groupBox1->Size = System::Drawing::Size(97, 53);
  1135. this->groupBox1->TabIndex = 14;
  1136. this->groupBox1->TabStop = false;
  1137. this->groupBox1->Text = L"Gender";
  1138. //
  1139. // radioButtonFemale
  1140. //
  1141. this->radioButtonFemale->AutoSize = true;
  1142. this->radioButtonFemale->Checked = true;
  1143. this->radioButtonFemale->Enabled = false;
  1144. this->radioButtonFemale->Location = System::Drawing::Point(8, 13);
  1145. this->radioButtonFemale->Name = L"radioButtonFemale";
  1146. this->radioButtonFemale->Size = System::Drawing::Size(59, 17);
  1147. this->radioButtonFemale->TabIndex = 0;
  1148. this->radioButtonFemale->TabStop = true;
  1149. this->radioButtonFemale->Text = L"Female";
  1150. this->radioButtonFemale->UseVisualStyleBackColor = true;
  1151. this->radioButtonFemale->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonFemale_CheckedChanged);
  1152. //
  1153. // radioButtonMale
  1154. //
  1155. this->radioButtonMale->AutoSize = true;
  1156. this->radioButtonMale->Enabled = false;
  1157. this->radioButtonMale->Location = System::Drawing::Point(8, 31);
  1158. this->radioButtonMale->Name = L"radioButtonMale";
  1159. this->radioButtonMale->Size = System::Drawing::Size(48, 17);
  1160. this->radioButtonMale->TabIndex = 1;
  1161. this->radioButtonMale->TabStop = true;
  1162. this->radioButtonMale->Text = L"Male";
  1163. this->radioButtonMale->UseVisualStyleBackColor = true;
  1164. this->radioButtonMale->CheckedChanged += gcnew System::EventHandler(this, &WeightScaleSensor::radioButtonMale_CheckedChanged);
  1165. //
  1166. // label29
  1167. //
  1168. this->label29->AutoSize = true;
  1169. this->label29->Location = System::Drawing::Point(318, 6);
  1170. this->label29->Name = L"label29";
  1171. this->label29->Size = System::Drawing::Size(70, 13);
  1172. this->label29->TabIndex = 12;
  1173. this->label29->Text = L"Activity Level";
  1174. //
  1175. // label28
  1176. //
  1177. this->label28->AutoSize = true;
  1178. this->label28->Location = System::Drawing::Point(160, 64);
  1179. this->label28->Name = L"label28";
  1180. this->label28->Size = System::Drawing::Size(61, 13);
  1181. this->label28->TabIndex = 10;
  1182. this->label28->Text = L"Height (cm)";
  1183. //
  1184. // numericUpDownHeight
  1185. //
  1186. this->numericUpDownHeight->Enabled = false;
  1187. this->numericUpDownHeight->Location = System::Drawing::Point(163, 80);
  1188. this->numericUpDownHeight->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {255, 0, 0, 0});
  1189. this->numericUpDownHeight->Name = L"numericUpDownHeight";
  1190. this->numericUpDownHeight->Size = System::Drawing::Size(60, 20);
  1191. this->numericUpDownHeight->TabIndex = 9;
  1192. this->numericUpDownHeight->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {165, 0, 0, 0});
  1193. this->numericUpDownHeight->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDownHeight_ValueChanged);
  1194. //
  1195. // label27
  1196. //
  1197. this->label27->AutoSize = true;
  1198. this->label27->Location = System::Drawing::Point(160, 6);
  1199. this->label27->Name = L"label27";
  1200. this->label27->Size = System::Drawing::Size(60, 13);
  1201. this->label27->TabIndex = 8;
  1202. this->label27->Text = L"Age (years)";
  1203. //
  1204. // numericUpDownAge
  1205. //
  1206. this->numericUpDownAge->Enabled = false;
  1207. this->numericUpDownAge->Location = System::Drawing::Point(163, 22);
  1208. this->numericUpDownAge->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {99, 0, 0, 0});
  1209. this->numericUpDownAge->Name = L"numericUpDownAge";
  1210. this->numericUpDownAge->Size = System::Drawing::Size(60, 20);
  1211. this->numericUpDownAge->TabIndex = 7;
  1212. this->numericUpDownAge->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {22, 0, 0, 0});
  1213. this->numericUpDownAge->ValueChanged += gcnew System::EventHandler(this, &WeightScaleSensor::numericUpDownAge_ValueChanged);
  1214. //
  1215. // tabPage_ActiveProfile
  1216. //
  1217. this->tabPage_ActiveProfile->Controls->Add(this->labelExchangeDisplay);
  1218. this->tabPage_ActiveProfile->Controls->Add(this->label12);
  1219. this->tabPage_ActiveProfile->Controls->Add(this->labelLifestyle);
  1220. this->tabPage_ActiveProfile->Controls->Add(this->label40);
  1221. this->tabPage_ActiveProfile->Controls->Add(this->label156);
  1222. this->tabPage_ActiveProfile->Controls->Add(this->labelProfileSetScale);
  1223. this->tabPage_ActiveProfile->Controls->Add(this->label81);
  1224. this->tabPage_ActiveProfile->Controls->Add(this->labelExchangeScale);
  1225. this->tabPage_ActiveProfile->Controls->Add(this->label79);
  1226. this->tabPage_ActiveProfile->Controls->Add(this->labelAntfsRx);
  1227. this->tabPage_ActiveProfile->Controls->Add(this->label17);
  1228. this->tabPage_ActiveProfile->Controls->Add(this->labelDescriptionActive);
  1229. this->tabPage_ActiveProfile->Controls->Add(this->label_Bat_Status);
  1230. this->tabPage_ActiveProfile->Controls->Add(this->label32);
  1231. this->tabPage_ActiveProfile->Controls->Add(this->labelHeightActive);
  1232. this->tabPage_ActiveProfile->Controls->Add(this->label33);
  1233. this->tabPage_ActiveProfile->Controls->Add(this->labelAgeActive);
  1234. this->tabPage_ActiveProfile->Controls->Add(this->label37);
  1235. this->tabPage_ActiveProfile->Controls->Add(this->labelGenderActive);
  1236. this->tabPage_ActiveProfile->Controls->Add(this->label39);
  1237. this->tabPage_ActiveProfile->Controls->Add(this->labelProfileActive2);
  1238. this->tabPage_ActiveProfile->Location = System::Drawing::Point(4, 22);
  1239. this->tabPage_ActiveProfile->Name = L"tabPage_ActiveProfile";
  1240. this->tabPage_ActiveProfile->Padding = System::Windows::Forms::Padding(3);
  1241. this->tabPage_ActiveProfile->Size = System::Drawing::Size(423, 137);
  1242. this->tabPage_ActiveProfile->TabIndex = 7;
  1243. this->tabPage_ActiveProfile->Text = L"Active Profile";
  1244. this->tabPage_ActiveProfile->UseVisualStyleBackColor = true;
  1245. //
  1246. // labelExchangeDisplay
  1247. //
  1248. this->labelExchangeDisplay->AutoSize = true;
  1249. this->labelExchangeDisplay->BackColor = System::Drawing::Color::Transparent;
  1250. this->labelExchangeDisplay->Location = System::Drawing::Point(353, 89);
  1251. this->labelExchangeDisplay->Name = L"labelExchangeDisplay";
  1252. this->labelExchangeDisplay->Size = System::Drawing::Size(16, 13);
  1253. this->labelExchangeDisplay->TabIndex = 82;
  1254. this->labelExchangeDisplay->Text = L"---";
  1255. //
  1256. // label12
  1257. //
  1258. this->label12->AutoSize = true;
  1259. this->label12->BackColor = System::Drawing::Color::Transparent;
  1260. this->label12->Location = System::Drawing::Point(171, 89);
  1261. this->label12->Name = L"label12";
  1262. this->label12->Size = System::Drawing::Size(167, 13);
  1263. this->label12->TabIndex = 81;
  1264. this->label12->Text = L"Display Profile Exchange Support:";
  1265. //
  1266. // labelLifestyle
  1267. //
  1268. this->labelLifestyle->AutoSize = true;
  1269. this->labelLifestyle->BackColor = System::Drawing::Color::Transparent;
  1270. this->labelLifestyle->Location = System::Drawing::Point(90, 111);
  1271. this->labelLifestyle->Name = L"labelLifestyle";
  1272. this->labelLifestyle->Size = System::Drawing::Size(16, 13);
  1273. this->labelLifestyle->TabIndex = 80;
  1274. this->labelLifestyle->Text = L"---";
  1275. //
  1276. // label40
  1277. //
  1278. this->label40->AutoSize = true;
  1279. this->label40->Location = System::Drawing::Point(6, 111);
  1280. this->label40->Name = L"label40";
  1281. this->label40->Size = System::Drawing::Size(45, 13);
  1282. this->label40->TabIndex = 79;
  1283. this->label40->Text = L"Lifestyle";
  1284. //
  1285. // label156
  1286. //
  1287. this->label156->AutoSize = true;
  1288. this->label156->BackColor = System::Drawing::Color::Transparent;
  1289. this->label156->Location = System::Drawing::Point(171, 26);
  1290. this->label156->Name = L"label156";
  1291. this->label156->Size = System::Drawing::Size(139, 13);
  1292. this->label156->TabIndex = 77;
  1293. this->label156->Text = L"Scale User Profile Selected:";
  1294. //
  1295. // labelProfileSetScale
  1296. //
  1297. this->labelProfileSetScale->AutoSize = true;
  1298. this->labelProfileSetScale->BackColor = System::Drawing::Color::Transparent;
  1299. this->labelProfileSetScale->Location = System::Drawing::Point(353, 26);
  1300. this->labelProfileSetScale->Name = L"labelProfileSetScale";
  1301. this->labelProfileSetScale->Size = System::Drawing::Size(16, 13);
  1302. this->labelProfileSetScale->TabIndex = 78;
  1303. this->labelProfileSetScale->Text = L"---";
  1304. //
  1305. // label81
  1306. //
  1307. this->label81->AutoSize = true;
  1308. this->label81->BackColor = System::Drawing::Color::Transparent;
  1309. this->label81->Location = System::Drawing::Point(171, 68);
  1310. this->label81->Name = L"label81";
  1311. this->label81->Size = System::Drawing::Size(160, 13);
  1312. this->label81->TabIndex = 75;
  1313. this->label81->Text = L"Scale Profile Exchange Support:";
  1314. //
  1315. // labelExchangeScale
  1316. //
  1317. this->labelExchangeScale->AutoSize = true;
  1318. this->labelExchangeScale->BackColor = System::Drawing::Color::Transparent;
  1319. this->labelExchangeScale->Location = System::Drawing::Point(353, 68);
  1320. this->labelExchangeScale->Name = L"labelExchangeScale";
  1321. this->labelExchangeScale->Size = System::Drawing::Size(16, 13);
  1322. this->labelExchangeScale->TabIndex = 76;
  1323. this->labelExchangeScale->Text = L"---";
  1324. //
  1325. // label79
  1326. //
  1327. this->label79->AutoSize = true;
  1328. this->label79->BackColor = System::Drawing::Color::Transparent;
  1329. this->label79->Location = System::Drawing::Point(171, 47);
  1330. this->label79->Name = L"label79";
  1331. this->label79->Size = System::Drawing::Size(88, 13);
  1332. this->label79->TabIndex = 73;
  1333. this->label79->Text = L"ANT-FS Support:";
  1334. //
  1335. // labelAntfsRx
  1336. //
  1337. this->labelAntfsRx->AutoSize = true;
  1338. this->labelAntfsRx->BackColor = System::Drawing::Color::Transparent;
  1339. this->labelAntfsRx->Location = System::Drawing::Point(353, 47);
  1340. this->labelAntfsRx->Name = L"labelAntfsRx";
  1341. this->labelAntfsRx->Size = System::Drawing::Size(16, 13);
  1342. this->labelAntfsRx->TabIndex = 74;
  1343. this->labelAntfsRx->Text = L"---";
  1344. //
  1345. // label17
  1346. //
  1347. this->label17->AutoSize = true;
  1348. this->label17->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline, System::Drawing::GraphicsUnit::Point,
  1349. static_cast<System::Byte>(0)));
  1350. this->label17->Location = System::Drawing::Point(171, 5);
  1351. this->label17->Name = L"label17";
  1352. this->label17->Size = System::Drawing::Size(99, 13);
  1353. this->label17->TabIndex = 72;
  1354. this->label17->Text = L"Display capabilities:";
  1355. //
  1356. // labelDescriptionActive
  1357. //
  1358. this->labelDescriptionActive->AutoSize = true;
  1359. this->labelDescriptionActive->BackColor = System::Drawing::Color::Transparent;
  1360. this->labelDescriptionActive->Location = System::Drawing::Point(90, 89);
  1361. this->labelDescriptionActive->Name = L"labelDescriptionActive";
  1362. this->labelDescriptionActive->Size = System::Drawing::Size(16, 13);
  1363. this->labelDescriptionActive->TabIndex = 59;
  1364. this->labelDescriptionActive->Text = L"---";
  1365. //
  1366. // label_Bat_Status
  1367. //
  1368. this->label_Bat_Status->AutoSize = true;
  1369. this->label_Bat_Status->Location = System::Drawing::Point(6, 89);
  1370. this->label_Bat_Status->Name = L"label_Bat_Status";
  1371. this->label_Bat_Status->Size = System::Drawing::Size(66, 13);
  1372. this->label_Bat_Status->TabIndex = 58;
  1373. this->label_Bat_Status->Text = L"Activity level";
  1374. //
  1375. // label32
  1376. //
  1377. this->label32->AutoSize = true;
  1378. this->label32->BackColor = System::Drawing::Color::Transparent;
  1379. this->label32->Location = System::Drawing::Point(6, 68);
  1380. this->label32->Name = L"label32";
  1381. this->label32->Size = System::Drawing::Size(64, 13);
  1382. this->label32->TabIndex = 56;
  1383. this->label32->Text = L"Height (cm):";
  1384. //
  1385. // labelHeightActive
  1386. //
  1387. this->labelHeightActive->AutoSize = true;
  1388. this->labelHeightActive->BackColor = System::Drawing::Color::Transparent;
  1389. this->labelHeightActive->Location = System::Drawing::Point(90, 68);
  1390. this->labelHeightActive->Name = L"labelHeightActive";
  1391. this->labelHeightActive->Size = System::Drawing::Size(16, 13);
  1392. this->labelHeightActive->TabIndex = 57;
  1393. this->labelHeightActive->Text = L"---";
  1394. //
  1395. // label33
  1396. //
  1397. this->label33->AutoSize = true;
  1398. this->label33->BackColor = System::Drawing::Color::Transparent;
  1399. this->label33->Location = System::Drawing::Point(6, 47);
  1400. this->label33->Name = L"label33";
  1401. this->label33->Size = System::Drawing::Size(63, 13);
  1402. this->label33->TabIndex = 54;
  1403. this->label33->Text = L"Age (years):";
  1404. //
  1405. // labelAgeActive
  1406. //
  1407. this->labelAgeActive->AutoSize = true;
  1408. this->labelAgeActive->BackColor = System::Drawing::Color::Transparent;
  1409. this->labelAgeActive->Location = System::Drawing::Point(90, 47);
  1410. this->labelAgeActive->Name = L"labelAgeActive";
  1411. this->labelAgeActive->Size = System::Drawing::Size(16, 13);
  1412. this->labelAgeActive->TabIndex = 55;
  1413. this->labelAgeActive->Text = L"---";
  1414. //
  1415. // label37
  1416. //
  1417. this->label37->AutoSize = true;
  1418. this->label37->BackColor = System::Drawing::Color::Transparent;
  1419. this->label37->Location = System::Drawing::Point(6, 26);
  1420. this->label37->Name = L"label37";
  1421. this->label37->Size = System::Drawing::Size(45, 13);
  1422. this->label37->TabIndex = 52;
  1423. this->label37->Text = L"Gender:";
  1424. //
  1425. // labelGenderActive
  1426. //
  1427. this->labelGenderActive->AutoSize = true;
  1428. this->labelGenderActive->BackColor = System::Drawing::Color::Transparent;
  1429. this->labelGenderActive->Location = System::Drawing::Point(90, 26);
  1430. this->labelGenderActive->Name = L"labelGenderActive";
  1431. this->labelGenderActive->Size = System::Drawing::Size(16, 13);
  1432. this->labelGenderActive->TabIndex = 53;
  1433. this->labelGenderActive->Text = L"---";
  1434. //
  1435. // label39
  1436. //
  1437. this->label39->AutoSize = true;
  1438. this->label39->BackColor = System::Drawing::Color::Transparent;
  1439. this->label39->Location = System::Drawing::Point(6, 5);
  1440. this->label39->Name = L"label39";
  1441. this->label39->Size = System::Drawing::Size(78, 13);
  1442. this->label39->TabIndex = 50;
  1443. this->label39->Text = L"User Profile ID:";
  1444. //
  1445. // labelProfileActive2
  1446. //
  1447. this->labelProfileActive2->AutoSize = true;
  1448. this->labelProfileActive2->BackColor = System::Drawing::Color::Transparent;
  1449. this->labelProfileActive2->Location = System::Drawing::Point(90, 5);
  1450. this->labelProfileActive2->Name = L"labelProfileActive2";
  1451. this->labelProfileActive2->Size = System::Drawing::Size(16, 13);
  1452. this->labelProfileActive2->TabIndex = 51;
  1453. this->labelProfileActive2->Text = L"---";
  1454. //
  1455. // panel_Display
  1456. //
  1457. this->panel_Display->Controls->Add(this->labelBMR);
  1458. this->panel_Display->Controls->Add(this->label_BasalMetRate);
  1459. this->panel_Display->Controls->Add(this->labelAMR);
  1460. this->panel_Display->Controls->Add(this->label_ActiveMetRate);
  1461. this->panel_Display->Controls->Add(this->label_MR);
  1462. this->panel_Display->Controls->Add(this->labelBF);
  1463. this->panel_Display->Controls->Add(this->label_BodyFat);
  1464. this->panel_Display->Controls->Add(this->labelH);
  1465. this->panel_Display->Controls->Add(this->label_Hydration);
  1466. this->panel_Display->Controls->Add(this->labelProfileActive);
  1467. this->panel_Display->Controls->Add(this->label31);
  1468. this->panel_Display->Controls->Add(this->label_Trn_DisplayTitle);
  1469. this->panel_Display->Controls->Add(this->labelW1);
  1470. this->panel_Display->Controls->Add(this->labelWeight);
  1471. this->panel_Display->Location = System::Drawing::Point(58, 188);
  1472. this->panel_Display->Name = L"panel_Display";
  1473. this->panel_Display->Size = System::Drawing::Size(200, 90);
  1474. this->panel_Display->TabIndex = 1;
  1475. //
  1476. // labelBMR
  1477. //
  1478. this->labelBMR->AutoSize = true;
  1479. this->labelBMR->BackColor = System::Drawing::Color::Transparent;
  1480. this->labelBMR->Location = System::Drawing::Point(117, 54);
  1481. this->labelBMR->Name = L"labelBMR";
  1482. this->labelBMR->Size = System::Drawing::Size(36, 13);
  1483. this->labelBMR->TabIndex = 26;
  1484. this->labelBMR->Text = L"Basal:";
  1485. //
  1486. // label_BasalMetRate
  1487. //
  1488. this->label_BasalMetRate->AutoSize = true;
  1489. this->label_BasalMetRate->BackColor = System::Drawing::Color::Transparent;
  1490. this->label_BasalMetRate->Location = System::Drawing::Point(157, 54);
  1491. this->label_BasalMetRate->Name = L"label_BasalMetRate";
  1492. this->label_BasalMetRate->Size = System::Drawing::Size(16, 13);
  1493. this->label_BasalMetRate->TabIndex = 27;
  1494. this->label_BasalMetRate->Text = L"---";
  1495. //
  1496. // labelAMR
  1497. //
  1498. this->labelAMR->AutoSize = true;
  1499. this->labelAMR->BackColor = System::Drawing::Color::Transparent;
  1500. this->labelAMR->Location = System::Drawing::Point(117, 38);
  1501. this->labelAMR->Name = L"labelAMR";
  1502. this->labelAMR->Size = System::Drawing::Size(40, 13);
  1503. this->labelAMR->TabIndex = 24;
  1504. this->labelAMR->Text = L"Active:";
  1505. //
  1506. // label_ActiveMetRate
  1507. //
  1508. this->label_ActiveMetRate->AutoSize = true;
  1509. this->label_ActiveMetRate->BackColor = System::Drawing::Color::Transparent;
  1510. this->label_ActiveMetRate->Location = System::Drawing::Point(157, 38);
  1511. this->label_ActiveMetRate->Name = L"label_ActiveMetRate";
  1512. this->label_ActiveMetRate->Size = System::Drawing::Size(16, 13);
  1513. this->label_ActiveMetRate->TabIndex = 25;
  1514. this->label_ActiveMetRate->Text = L"---";
  1515. //
  1516. // label_MR
  1517. //
  1518. this->label_MR->AutoSize = true;
  1519. this->label_MR->Location = System::Drawing::Point(117, 21);
  1520. this->label_MR->Name = L"label_MR";
  1521. this->label_MR->Size = System::Drawing::Size(80, 13);
  1522. this->label_MR->TabIndex = 23;
  1523. this->label_MR->Text = L"Met Rate (kcal)";
  1524. //
  1525. // labelBF
  1526. //
  1527. this->labelBF->AutoSize = true;
  1528. this->labelBF->BackColor = System::Drawing::Color::Transparent;
  1529. this->labelBF->Location = System::Drawing::Point(5, 54);
  1530. this->labelBF->Name = L"labelBF";
  1531. this->labelBF->Size = System::Drawing::Size(69, 13);
  1532. this->labelBF->TabIndex = 21;
  1533. this->labelBF->Text = L"Body Fat (%):";
  1534. //
  1535. // label_BodyFat
  1536. //
  1537. this->label_BodyFat->AutoSize = true;
  1538. this->label_BodyFat->BackColor = System::Drawing::Color::Transparent;
  1539. this->label_BodyFat->Location = System::Drawing::Point(78, 55);
  1540. this->label_BodyFat->Name = L"label_BodyFat";
  1541. this->label_BodyFat->Size = System::Drawing::Size(16, 13);
  1542. this->label_BodyFat->TabIndex = 22;
  1543. this->label_BodyFat->Text = L"---";
  1544. //
  1545. // labelH
  1546. //
  1547. this->labelH->AutoSize = true;
  1548. this->labelH->BackColor = System::Drawing::Color::Transparent;
  1549. this->labelH->Location = System::Drawing::Point(5, 37);
  1550. this->labelH->Name = L"labelH";
  1551. this->labelH->Size = System::Drawing::Size(72, 13);
  1552. this->labelH->TabIndex = 19;
  1553. this->labelH->Text = L"Hydration (%):";
  1554. //
  1555. // label_Hydration
  1556. //
  1557. this->label_Hydration->AutoSize = true;
  1558. this->label_Hydration->BackColor = System::Drawing::Color::Transparent;
  1559. this->label_Hydration->Location = System::Drawing::Point(78, 38);
  1560. this->label_Hydration->Name = L"label_Hydration";
  1561. this->label_Hydration->Size = System::Drawing::Size(16, 13);
  1562. this->label_Hydration->TabIndex = 20;
  1563. this->label_Hydration->Text = L"---";
  1564. //
  1565. // labelProfileActive
  1566. //
  1567. this->labelProfileActive->AutoSize = true;
  1568. this->labelProfileActive->BackColor = System::Drawing::Color::Transparent;
  1569. this->labelProfileActive->Location = System::Drawing::Point(122, 71);
  1570. this->labelProfileActive->Name = L"labelProfileActive";
  1571. this->labelProfileActive->Size = System::Drawing::Size(16, 13);
  1572. this->labelProfileActive->TabIndex = 18;
  1573. this->labelProfileActive->Text = L"---";
  1574. //
  1575. // label31
  1576. //
  1577. this->label31->AutoSize = true;
  1578. this->label31->BackColor = System::Drawing::Color::Transparent;
  1579. this->label31->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
  1580. static_cast<System::Byte>(0)));
  1581. this->label31->Location = System::Drawing::Point(3, 71);
  1582. this->label31->Name = L"label31";
  1583. this->label31->Size = System::Drawing::Size(111, 13);
  1584. this->label31->TabIndex = 14;
  1585. this->label31->Text = L"Active User Profile ID:";
  1586. //
  1587. // label_Trn_DisplayTitle
  1588. //
  1589. this->label_Trn_DisplayTitle->AutoSize = true;
  1590. this->label_Trn_DisplayTitle->BackColor = System::Drawing::Color::Transparent;
  1591. this->label_Trn_DisplayTitle->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Underline,
  1592. System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
  1593. this->label_Trn_DisplayTitle->Location = System::Drawing::Point(3, 4);
  1594. this->label_Trn_DisplayTitle->Name = L"label_Trn_DisplayTitle";
  1595. this->label_Trn_DisplayTitle->Size = System::Drawing::Size(175, 13);
  1596. this->label_Trn_DisplayTitle->TabIndex = 13;
  1597. this->label_Trn_DisplayTitle->Text = L"Current Weight Scale Transmission:";
  1598. //
  1599. // labelW1
  1600. //
  1601. this->labelW1->AutoSize = true;
  1602. this->labelW1->BackColor = System::Drawing::Color::Transparent;
  1603. this->labelW1->Location = System::Drawing::Point(5, 21);
  1604. this->labelW1->Name = L"labelW1";
  1605. this->labelW1->Size = System::Drawing::Size(65, 13);
  1606. this->labelW1->TabIndex = 11;
  1607. this->labelW1->Text = L"Weight (kg):";
  1608. //
  1609. // labelWeight
  1610. //
  1611. this->labelWeight->AutoSize = true;
  1612. this->labelWeight->BackColor = System::Drawing::Color::Transparent;
  1613. this->labelWeight->Location = System::Drawing::Point(77, 22);
  1614. this->labelWeight->Name = L"labelWeight";
  1615. this->labelWeight->Size = System::Drawing::Size(16, 13);
  1616. this->labelWeight->TabIndex = 12;
  1617. this->labelWeight->Text = L"---";
  1618. //
  1619. // label_Glb_SoftwareVerDisplay
  1620. //
  1621. this->label_Glb_SoftwareVerDisplay->Location = System::Drawing::Point(275, 51);
  1622. this->label_Glb_SoftwareVerDisplay->Name = L"label_Glb_SoftwareVerDisplay";
  1623. this->label_Glb_SoftwareVerDisplay->Size = System::Drawing::Size(27, 13);
  1624. this->label_Glb_SoftwareVerDisplay->TabIndex = 16;
  1625. this->label_Glb_SoftwareVerDisplay->Text = L"1";
  1626. //
  1627. // label_Glb_SerialNumDisplay
  1628. //
  1629. this->label_Glb_SerialNumDisplay->Location = System::Drawing::Point(228, 27);
  1630. this->label_Glb_SerialNumDisplay->Name = L"label_Glb_SerialNumDisplay";
  1631. this->label_Glb_SerialNumDisplay->Size = System::Drawing::Size(71, 13);
  1632. this->label_Glb_SerialNumDisplay->TabIndex = 11;
  1633. this->label_Glb_SerialNumDisplay->Text = L"1234567890";
  1634. //
  1635. // label_Glb_HardwareVerDisplay
  1636. //
  1637. this->label_Glb_HardwareVerDisplay->Location = System::Drawing::Point(81, 76);
  1638. this->label_Glb_HardwareVerDisplay->Name = L"label_Glb_HardwareVerDisplay";
  1639. this->label_Glb_HardwareVerDisplay->Size = System::Drawing::Size(27, 13);
  1640. this->label_Glb_HardwareVerDisplay->TabIndex = 14;
  1641. this->label_Glb_HardwareVerDisplay->Text = L"1";
  1642. //
  1643. // label_Glb_ModelNumDisplay
  1644. //
  1645. this->label_Glb_ModelNumDisplay->Location = System::Drawing::Point(67, 52);
  1646. this->label_Glb_ModelNumDisplay->Name = L"label_Glb_ModelNumDisplay";
  1647. this->label_Glb_ModelNumDisplay->Size = System::Drawing::Size(42, 13);
  1648. this->label_Glb_ModelNumDisplay->TabIndex = 9;
  1649. this->label_Glb_ModelNumDisplay->Text = L"33669";
  1650. //
  1651. // label_Glb_ManfIDDisplay
  1652. //
  1653. this->label_Glb_ManfIDDisplay->Location = System::Drawing::Point(69, 27);
  1654. this->label_Glb_ManfIDDisplay->Name = L"label_Glb_ManfIDDisplay";
  1655. this->label_Glb_ManfIDDisplay->Size = System::Drawing::Size(38, 13);
  1656. this->label_Glb_ManfIDDisplay->TabIndex = 8;
  1657. this->label_Glb_ManfIDDisplay->Text = L"2";
  1658. //
  1659. // label_Glb_GlobalDataError
  1660. //
  1661. this->label_Glb_GlobalDataError->AutoSize = true;
  1662. this->label_Glb_GlobalDataError->Location = System::Drawing::Point(180, 95);
  1663. this->label_Glb_GlobalDataError->Name = L"label_Glb_GlobalDataError";
  1664. this->label_Glb_GlobalDataError->Size = System::Drawing::Size(32, 13);
  1665. this->label_Glb_GlobalDataError->TabIndex = 20;
  1666. this->label_Glb_GlobalDataError->Text = L"Error:";
  1667. this->label_Glb_GlobalDataError->Visible = false;
  1668. //
  1669. // label_Glb_SoftwareVer
  1670. //
  1671. this->label_Glb_SoftwareVer->AutoSize = true;
  1672. this->label_Glb_SoftwareVer->Location = System::Drawing::Point(198, 51);
  1673. this->label_Glb_SoftwareVer->Name = L"label_Glb_SoftwareVer";
  1674. this->label_Glb_SoftwareVer->Size = System::Drawing::Size(71, 13);
  1675. this->label_Glb_SoftwareVer->TabIndex = 4;
  1676. this->label_Glb_SoftwareVer->Text = L"Software Ver:";
  1677. //
  1678. // label_Glb_HardwareVer
  1679. //
  1680. this->label_Glb_HardwareVer->AutoSize = true;
  1681. this->label_Glb_HardwareVer->Location = System::Drawing::Point(6, 76);
  1682. this->label_Glb_HardwareVer->Name = L"label_Glb_HardwareVer";
  1683. this->label_Glb_HardwareVer->Size = System::Drawing::Size(75, 13);
  1684. this->label_Glb_HardwareVer->TabIndex = 3;
  1685. this->label_Glb_HardwareVer->Text = L"Hardware Ver:";
  1686. //
  1687. // label_Glb_SerialNum
  1688. //
  1689. this->label_Glb_SerialNum->AutoSize = true;
  1690. this->label_Glb_SerialNum->Location = System::Drawing::Point(176, 27);
  1691. this->label_Glb_SerialNum->Name = L"label_Glb_SerialNum";
  1692. this->label_Glb_SerialNum->Size = System::Drawing::Size(46, 13);
  1693. this->label_Glb_SerialNum->TabIndex = 2;
  1694. this->label_Glb_SerialNum->Text = L"Serial #:";
  1695. //
  1696. // label_Glb_ManfID
  1697. //
  1698. this->label_Glb_ManfID->AutoSize = true;
  1699. this->label_Glb_ManfID->Location = System::Drawing::Point(18, 27);
  1700. this->label_Glb_ManfID->Name = L"label_Glb_ManfID";
  1701. this->label_Glb_ManfID->Size = System::Drawing::Size(51, 13);
  1702. this->label_Glb_ManfID->TabIndex = 1;
  1703. this->label_Glb_ManfID->Text = L"Manf. ID:";
  1704. //
  1705. // label_Glb_ModelNum
  1706. //
  1707. this->label_Glb_ModelNum->AutoSize = true;
  1708. this->label_Glb_ModelNum->Location = System::Drawing::Point(18, 52);
  1709. this->label_Glb_ModelNum->Name = L"label_Glb_ModelNum";
  1710. this->label_Glb_ModelNum->Size = System::Drawing::Size(49, 13);
  1711. this->label_Glb_ModelNum->TabIndex = 5;
  1712. this->label_Glb_ModelNum->Text = L"Model #:";
  1713. //
  1714. // label1
  1715. //
  1716. this->label1->Location = System::Drawing::Point(275, 51);
  1717. this->label1->Name = L"label1";
  1718. this->label1->Size = System::Drawing::Size(27, 13);
  1719. this->label1->TabIndex = 16;
  1720. this->label1->Text = L"1";
  1721. //
  1722. // label2
  1723. //
  1724. this->label2->Location = System::Drawing::Point(228, 27);
  1725. this->label2->Name = L"label2";
  1726. this->label2->Size = System::Drawing::Size(71, 13);
  1727. this->label2->TabIndex = 11;
  1728. this->label2->Text = L"1234567890";
  1729. //
  1730. // label3
  1731. //
  1732. this->label3->Location = System::Drawing::Point(81, 76);
  1733. this->label3->Name = L"label3";
  1734. this->label3->Size = System::Drawing::Size(27, 13);
  1735. this->label3->TabIndex = 14;
  1736. this->label3->Text = L"1";
  1737. //
  1738. // label4
  1739. //
  1740. this->label4->Location = System::Drawing::Point(67, 52);
  1741. this->label4->Name = L"label4";
  1742. this->label4->Size = System::Drawing::Size(42, 13);
  1743. this->label4->TabIndex = 9;
  1744. this->label4->Text = L"33669";
  1745. //
  1746. // label5
  1747. //
  1748. this->label5->Location = System::Drawing::Point(69, 27);
  1749. this->label5->Name = L"label5";
  1750. this->label5->Size = System::Drawing::Size(38, 13);
  1751. this->label5->TabIndex = 8;
  1752. this->label5->Text = L"2";
  1753. //
  1754. // label6
  1755. //
  1756. this->label6->AutoSize = true;
  1757. this->label6->Location = System::Drawing::Point(180, 95);
  1758. this->label6->Name = L"label6";
  1759. this->label6->Size = System::Drawing::Size(32, 13);
  1760. this->label6->TabIndex = 20;
  1761. this->label6->Text = L"Error:";
  1762. this->label6->Visible = false;
  1763. //
  1764. // label7
  1765. //
  1766. this->label7->AutoSize = true;
  1767. this->label7->Location = System::Drawing::Point(198, 51);
  1768. this->label7->Name = L"label7";
  1769. this->label7->Size = System::Drawing::Size(71, 13);
  1770. this->label7->TabIndex = 4;
  1771. this->label7->Text = L"Software Ver:";
  1772. //
  1773. // label8
  1774. //
  1775. this->label8->AutoSize = true;
  1776. this->label8->Location = System::Drawing::Point(6, 76);
  1777. this->label8->Name = L"label8";
  1778. this->label8->Size = System::Drawing::Size(75, 13);
  1779. this->label8->TabIndex = 3;
  1780. this->label8->Text = L"Hardware Ver:";
  1781. //
  1782. // label9
  1783. //
  1784. this->label9->AutoSize = true;
  1785. this->label9->Location = System::Drawing::Point(176, 27);
  1786. this->label9->Name = L"label9";
  1787. this->label9->Size = System::Drawing::Size(46, 13);
  1788. this->label9->TabIndex = 2;
  1789. this->label9->Text = L"Serial #:";
  1790. //
  1791. // label10
  1792. //
  1793. this->label10->AutoSize = true;
  1794. this->label10->Location = System::Drawing::Point(18, 27);
  1795. this->label10->Name = L"label10";
  1796. this->label10->Size = System::Drawing::Size(51, 13);
  1797. this->label10->TabIndex = 1;
  1798. this->label10->Text = L"Manf. ID:";
  1799. //
  1800. // label11
  1801. //
  1802. this->label11->AutoSize = true;
  1803. this->label11->Location = System::Drawing::Point(18, 52);
  1804. this->label11->Name = L"label11";
  1805. this->label11->Size = System::Drawing::Size(49, 13);
  1806. this->label11->TabIndex = 5;
  1807. this->label11->Text = L"Model #:";
  1808. //
  1809. // WeightScaleSensor
  1810. //
  1811. this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
  1812. this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
  1813. this->ClientSize = System::Drawing::Size(794, 351);
  1814. this->Controls->Add(this->panel_Display);
  1815. this->Controls->Add(this->panel_Settings);
  1816. this->Name = L"WeightScaleSensor";
  1817. this->Text = L"Weight Scale";
  1818. this->panel_Settings->ResumeLayout(false);
  1819. this->tabControl1->ResumeLayout(false);
  1820. this->tabPage_Main->ResumeLayout(false);
  1821. this->tabPage_Main->PerformLayout();
  1822. this->groupBox6->ResumeLayout(false);
  1823. this->groupBox6->PerformLayout();
  1824. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownWeight))->EndInit();
  1825. this->groupBox2->ResumeLayout(false);
  1826. this->groupBox2->PerformLayout();
  1827. this->tabPage_Advanced->ResumeLayout(false);
  1828. this->tabPage_Advanced->PerformLayout();
  1829. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_BoneMass))->EndInit();
  1830. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_MuscleMass))->EndInit();
  1831. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_BasalMetRate))->EndInit();
  1832. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_ActiveMetRate))->EndInit();
  1833. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_BodyFat))->EndInit();
  1834. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDown_Hydration))->EndInit();
  1835. this->tabPage_GlobalData->ResumeLayout(false);
  1836. this->tabPage_GlobalData->PerformLayout();
  1837. this->tabPage_CustomProfile->ResumeLayout(false);
  1838. this->tabPage_CustomProfile->PerformLayout();
  1839. this->groupBoxLifetimeActivity->ResumeLayout(false);
  1840. this->groupBoxLifetimeActivity->PerformLayout();
  1841. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownActivityLevel))->EndInit();
  1842. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownProfile))->EndInit();
  1843. this->groupBox1->ResumeLayout(false);
  1844. this->groupBox1->PerformLayout();
  1845. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownHeight))->EndInit();
  1846. (cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->numericUpDownAge))->EndInit();
  1847. this->tabPage_ActiveProfile->ResumeLayout(false);
  1848. this->tabPage_ActiveProfile->PerformLayout();
  1849. this->panel_Display->ResumeLayout(false);
  1850. this->panel_Display->PerformLayout();
  1851. this->ResumeLayout(false);
  1852. }
  1853. #pragma endregion
  1854. private:
  1855. System::Void WeightScaleSensor::radioButtonUser1_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1856. {
  1857. SelectPresetProfile();
  1858. }
  1859. System::Void WeightScaleSensor::radioButtonUser2_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1860. {
  1861. SelectPresetProfile();
  1862. }
  1863. System::Void WeightScaleSensor::radioButtonUser3_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1864. {
  1865. SelectPresetProfile();
  1866. }
  1867. System::Void WeightScaleSensor::radioButtonGuest_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1868. {
  1869. SelectPresetProfile();
  1870. }
  1871. System::Void WeightScaleSensor::radioButtonWeightValid_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1872. {
  1873. SelectWeightStatus();
  1874. }
  1875. System::Void WeightScaleSensor::radioButtonWeightComputing_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1876. {
  1877. SelectWeightStatus();
  1878. }
  1879. System::Void WeightScaleSensor::radioButtonWeightError_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1880. {
  1881. SelectWeightStatus();
  1882. }
  1883. System::Void WeightScaleSensor::numericUpDownProfile_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1884. {
  1885. SelectCustomProfile();
  1886. }
  1887. System::Void WeightScaleSensor::radioButtonFemale_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1888. {
  1889. SelectCustomProfile();
  1890. }
  1891. System::Void WeightScaleSensor::radioButtonMale_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1892. {
  1893. SelectCustomProfile();
  1894. }
  1895. System::Void WeightScaleSensor::numericUpDownAge_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1896. {
  1897. SelectCustomProfile();
  1898. }
  1899. System::Void WeightScaleSensor::numericUpDownHeight_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1900. {
  1901. SelectCustomProfile();
  1902. }
  1903. System::Void WeightScaleSensor::numericUpDownActivityLevel_ValueChanged(System::Object^ sender, System::EventArgs^ e)
  1904. {
  1905. SelectCustomProfile();
  1906. }
  1907. System::Void WeightScaleSensor::radioButtonLifetimeActivityTrue_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1908. {
  1909. SelectCustomProfile();
  1910. }
  1911. System::Void WeightScaleSensor::radioButtonLifetimeActivityFalse_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1912. {
  1913. SelectCustomProfile();
  1914. }
  1915. System::Void checkBox_TxPage2_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1916. {
  1917. SelectPages();
  1918. }
  1919. System::Void checkBox_TxPage3_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1920. {
  1921. SelectPages();
  1922. }
  1923. private: System::Void checkBox_TxPage4_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
  1924. {
  1925. SelectPages();
  1926. }
  1927. private: System::Void checkBox_InvalidSerial_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
  1928. };