namespace Adam4016 { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.panelAlarm = new System.Windows.Forms.Panel(); this.buttonDO3 = new System.Windows.Forms.Button(); this.buttonDO2 = new System.Windows.Forms.Button(); this.buttonDO1 = new System.Windows.Forms.Button(); this.buttonDO0 = new System.Windows.Forms.Button(); this.txtDO3 = new System.Windows.Forms.TextBox(); this.txtDO2 = new System.Windows.Forms.TextBox(); this.txtHighAlarm = new System.Windows.Forms.TextBox(); this.txtLowAlarm = new System.Windows.Forms.TextBox(); this.txtMode = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.panelAO = new System.Windows.Forms.Panel(); this.btnApplyOutput = new System.Windows.Forms.Button(); this.txtOutputValue = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.buttonStart = new System.Windows.Forms.Button(); this.txtAOValue = new System.Windows.Forms.TextBox(); this.txtAIValue = new System.Windows.Forms.TextBox(); this.txtReadCount = new System.Windows.Forms.TextBox(); this.txtModule = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.timer1 = new System.Windows.Forms.Timer(); this.panelAlarm.SuspendLayout(); this.panelAO.SuspendLayout(); this.SuspendLayout(); // // panelAlarm // this.panelAlarm.BackColor = System.Drawing.Color.SkyBlue; this.panelAlarm.Controls.Add(this.buttonDO3); this.panelAlarm.Controls.Add(this.buttonDO2); this.panelAlarm.Controls.Add(this.buttonDO1); this.panelAlarm.Controls.Add(this.buttonDO0); this.panelAlarm.Controls.Add(this.txtDO3); this.panelAlarm.Controls.Add(this.txtDO2); this.panelAlarm.Controls.Add(this.txtHighAlarm); this.panelAlarm.Controls.Add(this.txtLowAlarm); this.panelAlarm.Controls.Add(this.txtMode); this.panelAlarm.Controls.Add(this.label12); this.panelAlarm.Controls.Add(this.label11); this.panelAlarm.Controls.Add(this.label10); this.panelAlarm.Controls.Add(this.label9); this.panelAlarm.Controls.Add(this.label8); this.panelAlarm.Location = new System.Drawing.Point(6, 283); this.panelAlarm.Name = "panelAlarm"; this.panelAlarm.Size = new System.Drawing.Size(348, 155); // // buttonDO3 // this.buttonDO3.Location = new System.Drawing.Point(232, 120); this.buttonDO3.Name = "buttonDO3"; this.buttonDO3.Size = new System.Drawing.Size(106, 23); this.buttonDO3.TabIndex = 13; this.buttonDO3.Text = "Output DO-3"; this.buttonDO3.Click += new System.EventHandler(this.buttonDO3_Click); // // buttonDO2 // this.buttonDO2.Location = new System.Drawing.Point(232, 92); this.buttonDO2.Name = "buttonDO2"; this.buttonDO2.Size = new System.Drawing.Size(106, 23); this.buttonDO2.TabIndex = 12; this.buttonDO2.Text = "Output DO-2"; this.buttonDO2.Click += new System.EventHandler(this.buttonDO2_Click); // // buttonDO1 // this.buttonDO1.Location = new System.Drawing.Point(232, 64); this.buttonDO1.Name = "buttonDO1"; this.buttonDO1.Size = new System.Drawing.Size(106, 23); this.buttonDO1.TabIndex = 11; this.buttonDO1.Text = "Output DO-1"; this.buttonDO1.Click += new System.EventHandler(this.buttonDO1_Click); // // buttonDO0 // this.buttonDO0.Location = new System.Drawing.Point(232, 36); this.buttonDO0.Name = "buttonDO0"; this.buttonDO0.Size = new System.Drawing.Size(106, 23); this.buttonDO0.TabIndex = 10; this.buttonDO0.Text = "Output DO-0"; this.buttonDO0.Click += new System.EventHandler(this.buttonDO0_Click); // // txtDO3 // this.txtDO3.Location = new System.Drawing.Point(118, 122); this.txtDO3.Name = "txtDO3"; this.txtDO3.Size = new System.Drawing.Size(100, 23); this.txtDO3.TabIndex = 9; // // txtDO2 // this.txtDO2.Location = new System.Drawing.Point(118, 94); this.txtDO2.Name = "txtDO2"; this.txtDO2.Size = new System.Drawing.Size(100, 23); this.txtDO2.TabIndex = 8; // // txtHighAlarm // this.txtHighAlarm.Location = new System.Drawing.Point(118, 66); this.txtHighAlarm.Name = "txtHighAlarm"; this.txtHighAlarm.Size = new System.Drawing.Size(100, 23); this.txtHighAlarm.TabIndex = 7; // // txtLowAlarm // this.txtLowAlarm.Location = new System.Drawing.Point(118, 38); this.txtLowAlarm.Name = "txtLowAlarm"; this.txtLowAlarm.Size = new System.Drawing.Size(100, 23); this.txtLowAlarm.TabIndex = 6; // // txtMode // this.txtMode.Location = new System.Drawing.Point(118, 10); this.txtMode.Name = "txtMode"; this.txtMode.Size = new System.Drawing.Size(100, 23); this.txtMode.TabIndex = 5; // // label12 // this.label12.Location = new System.Drawing.Point(12, 125); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(66, 18); this.label12.Text = "DO-3:"; // // label11 // this.label11.Location = new System.Drawing.Point(12, 97); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(49, 18); this.label11.Text = "DO-2:"; // // label10 // this.label10.Location = new System.Drawing.Point(12, 69); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(117, 22); this.label10.Text = "DO-1 high alarm:"; // // label9 // this.label9.Location = new System.Drawing.Point(12, 41); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(107, 18); this.label9.Text = "DO-0 low alarm:"; // // label8 // this.label8.Location = new System.Drawing.Point(12, 13); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(87, 20); this.label8.Text = "Alarm mode:"; // // panelAO // this.panelAO.BackColor = System.Drawing.Color.SkyBlue; this.panelAO.Controls.Add(this.btnApplyOutput); this.panelAO.Controls.Add(this.txtOutputValue); this.panelAO.Controls.Add(this.label7); this.panelAO.Controls.Add(this.label6); this.panelAO.Controls.Add(this.label5); this.panelAO.Controls.Add(this.trackBar1); this.panelAO.Location = new System.Drawing.Point(6, 162); this.panelAO.Name = "panelAO"; this.panelAO.Size = new System.Drawing.Size(348, 115); // // btnApplyOutput // this.btnApplyOutput.Location = new System.Drawing.Point(241, 82); this.btnApplyOutput.Name = "btnApplyOutput"; this.btnApplyOutput.Size = new System.Drawing.Size(93, 23); this.btnApplyOutput.TabIndex = 5; this.btnApplyOutput.Text = "Apply output"; this.btnApplyOutput.Click += new System.EventHandler(this.btnApplyOutput_Click); // // txtOutputValue // this.txtOutputValue.Location = new System.Drawing.Point(113, 84); this.txtOutputValue.Name = "txtOutputValue"; this.txtOutputValue.ReadOnly = true; this.txtOutputValue.Size = new System.Drawing.Size(100, 23); this.txtOutputValue.TabIndex = 4; // // label7 // this.label7.Location = new System.Drawing.Point(12, 87); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(107, 18); this.label7.Text = "Value to output:"; // // label6 // this.label6.Location = new System.Drawing.Point(168, 36); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(33, 29); this.label6.Text = "10V"; // // label5 // this.label5.Location = new System.Drawing.Point(12, 36); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(34, 19); this.label5.Text = "0V"; // // trackBar1 // this.trackBar1.LargeChange = 16; this.trackBar1.Location = new System.Drawing.Point(3, 3); this.trackBar1.Maximum = 4095; this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(204, 30); this.trackBar1.TabIndex = 0; this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // buttonStart // this.buttonStart.Location = new System.Drawing.Point(278, 4); this.buttonStart.Name = "buttonStart"; this.buttonStart.Size = new System.Drawing.Size(75, 23); this.buttonStart.TabIndex = 19; this.buttonStart.Text = "Start"; this.buttonStart.Click += new System.EventHandler(this.buttonStart_Click); // // txtAOValue // this.txtAOValue.Location = new System.Drawing.Point(128, 115); this.txtAOValue.Name = "txtAOValue"; this.txtAOValue.Size = new System.Drawing.Size(138, 23); this.txtAOValue.TabIndex = 18; // // txtAIValue // this.txtAIValue.Location = new System.Drawing.Point(128, 77); this.txtAIValue.Name = "txtAIValue"; this.txtAIValue.Size = new System.Drawing.Size(138, 23); this.txtAIValue.TabIndex = 17; // // txtReadCount // this.txtReadCount.Location = new System.Drawing.Point(128, 40); this.txtReadCount.Name = "txtReadCount"; this.txtReadCount.ReadOnly = true; this.txtReadCount.Size = new System.Drawing.Size(138, 23); this.txtReadCount.TabIndex = 16; this.txtReadCount.Text = "0"; // // txtModule // this.txtModule.Location = new System.Drawing.Point(128, 6); this.txtModule.Name = "txtModule"; this.txtModule.Size = new System.Drawing.Size(138, 23); this.txtModule.TabIndex = 15; // // label4 // this.label4.Location = new System.Drawing.Point(3, 118); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(132, 20); this.label4.Text = "Analog output value:"; // // label3 // this.label3.Location = new System.Drawing.Point(3, 80); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(122, 20); this.label3.Text = "Analog input value:"; // // label2 // this.label2.Location = new System.Drawing.Point(3, 43); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(81, 20); this.label2.Text = "Read count:"; // // label1 // this.label1.Location = new System.Drawing.Point(3, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(95, 20); this.label1.Text = "Module name:"; // // timer1 // this.timer1.Interval = 500; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(361, 445); this.Controls.Add(this.panelAlarm); this.Controls.Add(this.panelAO); this.Controls.Add(this.buttonStart); this.Controls.Add(this.txtAOValue); this.Controls.Add(this.txtAIValue); this.Controls.Add(this.txtReadCount); this.Controls.Add(this.txtModule); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Form1"; this.Text = "Adam4016 Sample Program (C#)"; this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); this.panelAlarm.ResumeLayout(false); this.panelAO.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.Panel panelAlarm; private System.Windows.Forms.Button buttonDO3; private System.Windows.Forms.Button buttonDO2; private System.Windows.Forms.Button buttonDO1; private System.Windows.Forms.Button buttonDO0; private System.Windows.Forms.TextBox txtDO3; private System.Windows.Forms.TextBox txtDO2; private System.Windows.Forms.TextBox txtHighAlarm; private System.Windows.Forms.TextBox txtLowAlarm; private System.Windows.Forms.TextBox txtMode; private System.Windows.Forms.Label label12; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label8; private System.Windows.Forms.Panel panelAO; private System.Windows.Forms.Button btnApplyOutput; private System.Windows.Forms.TextBox txtOutputValue; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label5; private System.Windows.Forms.TrackBar trackBar1; private System.Windows.Forms.Button buttonStart; private System.Windows.Forms.TextBox txtAOValue; private System.Windows.Forms.TextBox txtAIValue; private System.Windows.Forms.TextBox txtReadCount; private System.Windows.Forms.TextBox txtModule; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label1; private System.Windows.Forms.Timer timer1; } }