This is the latest working repository used in our demo video for the Maxim to display temperature readings on Bluetooth

Dependencies:   USBDevice

Committer:
darienf
Date:
Sat Apr 10 03:05:42 2021 +0000
Revision:
3:36de8b9e4b1a
ayoooo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
darienf 3:36de8b9e4b1a 1 namespace HealthSensorPlatform
darienf 3:36de8b9e4b1a 2 {
darienf 3:36de8b9e4b1a 3 partial class FormConnection
darienf 3:36de8b9e4b1a 4 {
darienf 3:36de8b9e4b1a 5 /// <summary>
darienf 3:36de8b9e4b1a 6 /// Required designer variable.
darienf 3:36de8b9e4b1a 7 /// </summary>
darienf 3:36de8b9e4b1a 8 private System.ComponentModel.IContainer components = null;
darienf 3:36de8b9e4b1a 9
darienf 3:36de8b9e4b1a 10 /// <summary>
darienf 3:36de8b9e4b1a 11 /// Clean up any resources being used.
darienf 3:36de8b9e4b1a 12 /// </summary>
darienf 3:36de8b9e4b1a 13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
darienf 3:36de8b9e4b1a 14 protected override void Dispose(bool disposing)
darienf 3:36de8b9e4b1a 15 {
darienf 3:36de8b9e4b1a 16 if (disposing && (components != null))
darienf 3:36de8b9e4b1a 17 {
darienf 3:36de8b9e4b1a 18 components.Dispose();
darienf 3:36de8b9e4b1a 19 }
darienf 3:36de8b9e4b1a 20 base.Dispose(disposing);
darienf 3:36de8b9e4b1a 21 }
darienf 3:36de8b9e4b1a 22
darienf 3:36de8b9e4b1a 23 #region Windows Form Designer generated code
darienf 3:36de8b9e4b1a 24
darienf 3:36de8b9e4b1a 25 /// <summary>
darienf 3:36de8b9e4b1a 26 /// Required method for Designer support - do not modify
darienf 3:36de8b9e4b1a 27 /// the contents of this method with the code editor.
darienf 3:36de8b9e4b1a 28 /// </summary>
darienf 3:36de8b9e4b1a 29 private void InitializeComponent()
darienf 3:36de8b9e4b1a 30 {
darienf 3:36de8b9e4b1a 31 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormConnection));
darienf 3:36de8b9e4b1a 32 this.btnConnect = new MaximStyle.MaximButton();
darienf 3:36de8b9e4b1a 33 this.label1 = new System.Windows.Forms.Label();
darienf 3:36de8b9e4b1a 34 this.maximGroupBox1 = new MaximStyle.MaximGroupBox();
darienf 3:36de8b9e4b1a 35 this.cboPort = new MaximStyle.MaximComboBox();
darienf 3:36de8b9e4b1a 36 this.tbFlowControl = new System.Windows.Forms.TextBox();
darienf 3:36de8b9e4b1a 37 this.label4 = new System.Windows.Forms.Label();
darienf 3:36de8b9e4b1a 38 this.tbStopBits = new System.Windows.Forms.TextBox();
darienf 3:36de8b9e4b1a 39 this.label5 = new System.Windows.Forms.Label();
darienf 3:36de8b9e4b1a 40 this.tbDataBits = new System.Windows.Forms.TextBox();
darienf 3:36de8b9e4b1a 41 this.label6 = new System.Windows.Forms.Label();
darienf 3:36de8b9e4b1a 42 this.tbParity = new System.Windows.Forms.TextBox();
darienf 3:36de8b9e4b1a 43 this.label3 = new System.Windows.Forms.Label();
darienf 3:36de8b9e4b1a 44 this.tbBaudRate = new System.Windows.Forms.TextBox();
darienf 3:36de8b9e4b1a 45 this.label2 = new System.Windows.Forms.Label();
darienf 3:36de8b9e4b1a 46 this.btnScan = new MaximStyle.MaximButton();
darienf 3:36de8b9e4b1a 47 this.btnCancel = new MaximStyle.MaximButton();
darienf 3:36de8b9e4b1a 48 this.maximGroupBox1.SuspendLayout();
darienf 3:36de8b9e4b1a 49 this.SuspendLayout();
darienf 3:36de8b9e4b1a 50 //
darienf 3:36de8b9e4b1a 51 // btnConnect
darienf 3:36de8b9e4b1a 52 //
darienf 3:36de8b9e4b1a 53 this.btnConnect.Location = new System.Drawing.Point(141, 179);
darienf 3:36de8b9e4b1a 54 this.btnConnect.Name = "btnConnect";
darienf 3:36de8b9e4b1a 55 this.btnConnect.Size = new System.Drawing.Size(75, 23);
darienf 3:36de8b9e4b1a 56 this.btnConnect.TabIndex = 0;
darienf 3:36de8b9e4b1a 57 this.btnConnect.Text = "Connect";
darienf 3:36de8b9e4b1a 58 this.btnConnect.UseVisualStyleBackColor = true;
darienf 3:36de8b9e4b1a 59 this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
darienf 3:36de8b9e4b1a 60 //
darienf 3:36de8b9e4b1a 61 // label1
darienf 3:36de8b9e4b1a 62 //
darienf 3:36de8b9e4b1a 63 this.label1.AutoSize = true;
darienf 3:36de8b9e4b1a 64 this.label1.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 65 this.label1.Location = new System.Drawing.Point(31, 55);
darienf 3:36de8b9e4b1a 66 this.label1.Name = "label1";
darienf 3:36de8b9e4b1a 67 this.label1.Size = new System.Drawing.Size(56, 13);
darienf 3:36de8b9e4b1a 68 this.label1.TabIndex = 2;
darienf 3:36de8b9e4b1a 69 this.label1.Text = "COM Port:";
darienf 3:36de8b9e4b1a 70 //
darienf 3:36de8b9e4b1a 71 // maximGroupBox1
darienf 3:36de8b9e4b1a 72 //
darienf 3:36de8b9e4b1a 73 this.maximGroupBox1.BackgroundColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 74 this.maximGroupBox1.Controls.Add(this.cboPort);
darienf 3:36de8b9e4b1a 75 this.maximGroupBox1.Controls.Add(this.tbFlowControl);
darienf 3:36de8b9e4b1a 76 this.maximGroupBox1.Controls.Add(this.label4);
darienf 3:36de8b9e4b1a 77 this.maximGroupBox1.Controls.Add(this.tbStopBits);
darienf 3:36de8b9e4b1a 78 this.maximGroupBox1.Controls.Add(this.label5);
darienf 3:36de8b9e4b1a 79 this.maximGroupBox1.Controls.Add(this.tbDataBits);
darienf 3:36de8b9e4b1a 80 this.maximGroupBox1.Controls.Add(this.label6);
darienf 3:36de8b9e4b1a 81 this.maximGroupBox1.Controls.Add(this.tbParity);
darienf 3:36de8b9e4b1a 82 this.maximGroupBox1.Controls.Add(this.label3);
darienf 3:36de8b9e4b1a 83 this.maximGroupBox1.Controls.Add(this.tbBaudRate);
darienf 3:36de8b9e4b1a 84 this.maximGroupBox1.Controls.Add(this.label2);
darienf 3:36de8b9e4b1a 85 this.maximGroupBox1.Location = new System.Drawing.Point(12, 12);
darienf 3:36de8b9e4b1a 86 this.maximGroupBox1.Name = "maximGroupBox1";
darienf 3:36de8b9e4b1a 87 this.maximGroupBox1.Size = new System.Drawing.Size(336, 153);
darienf 3:36de8b9e4b1a 88 this.maximGroupBox1.TabIndex = 3;
darienf 3:36de8b9e4b1a 89 this.maximGroupBox1.TabStop = false;
darienf 3:36de8b9e4b1a 90 this.maximGroupBox1.Text = "UART Configuration";
darienf 3:36de8b9e4b1a 91 //
darienf 3:36de8b9e4b1a 92 // cboPort
darienf 3:36de8b9e4b1a 93 //
darienf 3:36de8b9e4b1a 94 this.cboPort.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 95 this.cboPort.DropDownHeight = 200;
darienf 3:36de8b9e4b1a 96 this.cboPort.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
darienf 3:36de8b9e4b1a 97 this.cboPort.DropDownWidth = 70;
darienf 3:36de8b9e4b1a 98 this.cboPort.Location = new System.Drawing.Point(81, 40);
darienf 3:36de8b9e4b1a 99 this.cboPort.Name = "cboPort";
darienf 3:36de8b9e4b1a 100 this.cboPort.Size = new System.Drawing.Size(70, 20);
darienf 3:36de8b9e4b1a 101 this.cboPort.TabIndex = 14;
darienf 3:36de8b9e4b1a 102 this.cboPort.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
darienf 3:36de8b9e4b1a 103 this.cboPort.TextAlignDropDownList = System.Windows.Forms.HorizontalAlignment.Left;
darienf 3:36de8b9e4b1a 104 //
darienf 3:36de8b9e4b1a 105 // tbFlowControl
darienf 3:36de8b9e4b1a 106 //
darienf 3:36de8b9e4b1a 107 this.tbFlowControl.Location = new System.Drawing.Point(242, 108);
darienf 3:36de8b9e4b1a 108 this.tbFlowControl.Name = "tbFlowControl";
darienf 3:36de8b9e4b1a 109 this.tbFlowControl.ReadOnly = true;
darienf 3:36de8b9e4b1a 110 this.tbFlowControl.Size = new System.Drawing.Size(70, 20);
darienf 3:36de8b9e4b1a 111 this.tbFlowControl.TabIndex = 12;
darienf 3:36de8b9e4b1a 112 this.tbFlowControl.Text = "0";
darienf 3:36de8b9e4b1a 113 //
darienf 3:36de8b9e4b1a 114 // label4
darienf 3:36de8b9e4b1a 115 //
darienf 3:36de8b9e4b1a 116 this.label4.AutoSize = true;
darienf 3:36de8b9e4b1a 117 this.label4.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 118 this.label4.Location = new System.Drawing.Point(168, 111);
darienf 3:36de8b9e4b1a 119 this.label4.Name = "label4";
darienf 3:36de8b9e4b1a 120 this.label4.Size = new System.Drawing.Size(68, 13);
darienf 3:36de8b9e4b1a 121 this.label4.TabIndex = 13;
darienf 3:36de8b9e4b1a 122 this.label4.Text = "Flow Control:";
darienf 3:36de8b9e4b1a 123 //
darienf 3:36de8b9e4b1a 124 // tbStopBits
darienf 3:36de8b9e4b1a 125 //
darienf 3:36de8b9e4b1a 126 this.tbStopBits.Location = new System.Drawing.Point(242, 72);
darienf 3:36de8b9e4b1a 127 this.tbStopBits.Name = "tbStopBits";
darienf 3:36de8b9e4b1a 128 this.tbStopBits.ReadOnly = true;
darienf 3:36de8b9e4b1a 129 this.tbStopBits.Size = new System.Drawing.Size(70, 20);
darienf 3:36de8b9e4b1a 130 this.tbStopBits.TabIndex = 10;
darienf 3:36de8b9e4b1a 131 this.tbStopBits.Text = "1";
darienf 3:36de8b9e4b1a 132 //
darienf 3:36de8b9e4b1a 133 // label5
darienf 3:36de8b9e4b1a 134 //
darienf 3:36de8b9e4b1a 135 this.label5.AutoSize = true;
darienf 3:36de8b9e4b1a 136 this.label5.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 137 this.label5.Location = new System.Drawing.Point(168, 75);
darienf 3:36de8b9e4b1a 138 this.label5.Name = "label5";
darienf 3:36de8b9e4b1a 139 this.label5.Size = new System.Drawing.Size(52, 13);
darienf 3:36de8b9e4b1a 140 this.label5.TabIndex = 11;
darienf 3:36de8b9e4b1a 141 this.label5.Text = "Stop Bits:";
darienf 3:36de8b9e4b1a 142 //
darienf 3:36de8b9e4b1a 143 // tbDataBits
darienf 3:36de8b9e4b1a 144 //
darienf 3:36de8b9e4b1a 145 this.tbDataBits.Location = new System.Drawing.Point(242, 40);
darienf 3:36de8b9e4b1a 146 this.tbDataBits.Name = "tbDataBits";
darienf 3:36de8b9e4b1a 147 this.tbDataBits.ReadOnly = true;
darienf 3:36de8b9e4b1a 148 this.tbDataBits.Size = new System.Drawing.Size(70, 20);
darienf 3:36de8b9e4b1a 149 this.tbDataBits.TabIndex = 8;
darienf 3:36de8b9e4b1a 150 this.tbDataBits.Text = "8";
darienf 3:36de8b9e4b1a 151 //
darienf 3:36de8b9e4b1a 152 // label6
darienf 3:36de8b9e4b1a 153 //
darienf 3:36de8b9e4b1a 154 this.label6.AutoSize = true;
darienf 3:36de8b9e4b1a 155 this.label6.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 156 this.label6.Location = new System.Drawing.Point(168, 43);
darienf 3:36de8b9e4b1a 157 this.label6.Name = "label6";
darienf 3:36de8b9e4b1a 158 this.label6.Size = new System.Drawing.Size(53, 13);
darienf 3:36de8b9e4b1a 159 this.label6.TabIndex = 9;
darienf 3:36de8b9e4b1a 160 this.label6.Text = "Data Bits:";
darienf 3:36de8b9e4b1a 161 //
darienf 3:36de8b9e4b1a 162 // tbParity
darienf 3:36de8b9e4b1a 163 //
darienf 3:36de8b9e4b1a 164 this.tbParity.Location = new System.Drawing.Point(81, 108);
darienf 3:36de8b9e4b1a 165 this.tbParity.Name = "tbParity";
darienf 3:36de8b9e4b1a 166 this.tbParity.ReadOnly = true;
darienf 3:36de8b9e4b1a 167 this.tbParity.Size = new System.Drawing.Size(70, 20);
darienf 3:36de8b9e4b1a 168 this.tbParity.TabIndex = 6;
darienf 3:36de8b9e4b1a 169 this.tbParity.Text = "0";
darienf 3:36de8b9e4b1a 170 //
darienf 3:36de8b9e4b1a 171 // label3
darienf 3:36de8b9e4b1a 172 //
darienf 3:36de8b9e4b1a 173 this.label3.AutoSize = true;
darienf 3:36de8b9e4b1a 174 this.label3.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 175 this.label3.Location = new System.Drawing.Point(19, 111);
darienf 3:36de8b9e4b1a 176 this.label3.Name = "label3";
darienf 3:36de8b9e4b1a 177 this.label3.Size = new System.Drawing.Size(36, 13);
darienf 3:36de8b9e4b1a 178 this.label3.TabIndex = 7;
darienf 3:36de8b9e4b1a 179 this.label3.Text = "Parity:";
darienf 3:36de8b9e4b1a 180 //
darienf 3:36de8b9e4b1a 181 // tbBaudRate
darienf 3:36de8b9e4b1a 182 //
darienf 3:36de8b9e4b1a 183 this.tbBaudRate.Location = new System.Drawing.Point(81, 72);
darienf 3:36de8b9e4b1a 184 this.tbBaudRate.Name = "tbBaudRate";
darienf 3:36de8b9e4b1a 185 this.tbBaudRate.ReadOnly = true;
darienf 3:36de8b9e4b1a 186 this.tbBaudRate.Size = new System.Drawing.Size(70, 20);
darienf 3:36de8b9e4b1a 187 this.tbBaudRate.TabIndex = 4;
darienf 3:36de8b9e4b1a 188 this.tbBaudRate.Text = "9600";
darienf 3:36de8b9e4b1a 189 //
darienf 3:36de8b9e4b1a 190 // label2
darienf 3:36de8b9e4b1a 191 //
darienf 3:36de8b9e4b1a 192 this.label2.AutoSize = true;
darienf 3:36de8b9e4b1a 193 this.label2.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 194 this.label2.Location = new System.Drawing.Point(19, 75);
darienf 3:36de8b9e4b1a 195 this.label2.Name = "label2";
darienf 3:36de8b9e4b1a 196 this.label2.Size = new System.Drawing.Size(61, 13);
darienf 3:36de8b9e4b1a 197 this.label2.TabIndex = 5;
darienf 3:36de8b9e4b1a 198 this.label2.Text = "Baud Rate:";
darienf 3:36de8b9e4b1a 199 //
darienf 3:36de8b9e4b1a 200 // btnScan
darienf 3:36de8b9e4b1a 201 //
darienf 3:36de8b9e4b1a 202 this.btnScan.Location = new System.Drawing.Point(34, 179);
darienf 3:36de8b9e4b1a 203 this.btnScan.Name = "btnScan";
darienf 3:36de8b9e4b1a 204 this.btnScan.Size = new System.Drawing.Size(75, 23);
darienf 3:36de8b9e4b1a 205 this.btnScan.TabIndex = 4;
darienf 3:36de8b9e4b1a 206 this.btnScan.Text = "Scan Ports";
darienf 3:36de8b9e4b1a 207 this.btnScan.UseVisualStyleBackColor = true;
darienf 3:36de8b9e4b1a 208 this.btnScan.Click += new System.EventHandler(this.btnScan_Click);
darienf 3:36de8b9e4b1a 209 //
darienf 3:36de8b9e4b1a 210 // btnCancel
darienf 3:36de8b9e4b1a 211 //
darienf 3:36de8b9e4b1a 212 this.btnCancel.Location = new System.Drawing.Point(249, 179);
darienf 3:36de8b9e4b1a 213 this.btnCancel.Name = "btnCancel";
darienf 3:36de8b9e4b1a 214 this.btnCancel.Size = new System.Drawing.Size(75, 23);
darienf 3:36de8b9e4b1a 215 this.btnCancel.TabIndex = 5;
darienf 3:36de8b9e4b1a 216 this.btnCancel.Text = "Cancel";
darienf 3:36de8b9e4b1a 217 this.btnCancel.UseVisualStyleBackColor = true;
darienf 3:36de8b9e4b1a 218 this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
darienf 3:36de8b9e4b1a 219 //
darienf 3:36de8b9e4b1a 220 // FormConnection
darienf 3:36de8b9e4b1a 221 //
darienf 3:36de8b9e4b1a 222 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
darienf 3:36de8b9e4b1a 223 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
darienf 3:36de8b9e4b1a 224 this.BackColor = System.Drawing.Color.White;
darienf 3:36de8b9e4b1a 225 this.ClientSize = new System.Drawing.Size(366, 218);
darienf 3:36de8b9e4b1a 226 this.Controls.Add(this.btnCancel);
darienf 3:36de8b9e4b1a 227 this.Controls.Add(this.btnScan);
darienf 3:36de8b9e4b1a 228 this.Controls.Add(this.label1);
darienf 3:36de8b9e4b1a 229 this.Controls.Add(this.btnConnect);
darienf 3:36de8b9e4b1a 230 this.Controls.Add(this.maximGroupBox1);
darienf 3:36de8b9e4b1a 231 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
darienf 3:36de8b9e4b1a 232 this.Name = "FormConnection";
darienf 3:36de8b9e4b1a 233 this.Text = "Connection";
darienf 3:36de8b9e4b1a 234 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormConnection_FormClosing);
darienf 3:36de8b9e4b1a 235 this.maximGroupBox1.ResumeLayout(false);
darienf 3:36de8b9e4b1a 236 this.maximGroupBox1.PerformLayout();
darienf 3:36de8b9e4b1a 237 this.ResumeLayout(false);
darienf 3:36de8b9e4b1a 238 this.PerformLayout();
darienf 3:36de8b9e4b1a 239
darienf 3:36de8b9e4b1a 240 }
darienf 3:36de8b9e4b1a 241
darienf 3:36de8b9e4b1a 242 #endregion
darienf 3:36de8b9e4b1a 243
darienf 3:36de8b9e4b1a 244 private MaximStyle.MaximButton btnConnect;
darienf 3:36de8b9e4b1a 245 private System.Windows.Forms.Label label1;
darienf 3:36de8b9e4b1a 246 private MaximStyle.MaximGroupBox maximGroupBox1;
darienf 3:36de8b9e4b1a 247 private System.Windows.Forms.TextBox tbBaudRate;
darienf 3:36de8b9e4b1a 248 private System.Windows.Forms.Label label2;
darienf 3:36de8b9e4b1a 249 private System.Windows.Forms.TextBox tbParity;
darienf 3:36de8b9e4b1a 250 private System.Windows.Forms.Label label3;
darienf 3:36de8b9e4b1a 251 private System.Windows.Forms.TextBox tbFlowControl;
darienf 3:36de8b9e4b1a 252 private System.Windows.Forms.Label label4;
darienf 3:36de8b9e4b1a 253 private System.Windows.Forms.TextBox tbStopBits;
darienf 3:36de8b9e4b1a 254 private System.Windows.Forms.Label label5;
darienf 3:36de8b9e4b1a 255 private System.Windows.Forms.TextBox tbDataBits;
darienf 3:36de8b9e4b1a 256 private System.Windows.Forms.Label label6;
darienf 3:36de8b9e4b1a 257 private MaximStyle.MaximButton btnScan;
darienf 3:36de8b9e4b1a 258 private MaximStyle.MaximButton btnCancel;
darienf 3:36de8b9e4b1a 259 private MaximStyle.MaximComboBox cboPort;
darienf 3:36de8b9e4b1a 260 }
darienf 3:36de8b9e4b1a 261 }