LTT Source에 들어가는 Module Dll
장정호
2020-12-15 87e93aeb179ab7995537cde70cafd4f5b9fa585c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
namespace DLL_Test_Program
{
    partial class EnergyMax_PowerMeter_Form
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
 
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Windows Form Designer generated code
 
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.lb_PortState = new System.Windows.Forms.Label();
            this.cbb_Ports = new System.Windows.Forms.ComboBox();
            this.lb_Port = new System.Windows.Forms.Label();
            this.btn_PortOpen = new System.Windows.Forms.Button();
            this.btn_PortClose = new System.Windows.Forms.Button();
            this.btn_ReadEnergy = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.tb_Energy = new System.Windows.Forms.TextBox();
            this.btn_Initial = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.lb_PortState);
            this.groupBox1.Controls.Add(this.cbb_Ports);
            this.groupBox1.Controls.Add(this.lb_Port);
            this.groupBox1.Controls.Add(this.btn_PortOpen);
            this.groupBox1.Controls.Add(this.btn_PortClose);
            this.groupBox1.Location = new System.Drawing.Point(12, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(299, 75);
            this.groupBox1.TabIndex = 32;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Port";
            // 
            // lb_PortState
            // 
            this.lb_PortState.AutoSize = true;
            this.lb_PortState.BackColor = System.Drawing.Color.Red;
            this.lb_PortState.Location = new System.Drawing.Point(11, 16);
            this.lb_PortState.Name = "lb_PortState";
            this.lb_PortState.Size = new System.Drawing.Size(77, 12);
            this.lb_PortState.TabIndex = 15;
            this.lb_PortState.Text = "DisConncted";
            // 
            // cbb_Ports
            // 
            this.cbb_Ports.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cbb_Ports.FormattingEnabled = true;
            this.cbb_Ports.Location = new System.Drawing.Point(41, 31);
            this.cbb_Ports.Name = "cbb_Ports";
            this.cbb_Ports.Size = new System.Drawing.Size(121, 20);
            this.cbb_Ports.TabIndex = 0;
            // 
            // lb_Port
            // 
            this.lb_Port.AutoSize = true;
            this.lb_Port.BackColor = System.Drawing.SystemColors.Control;
            this.lb_Port.Location = new System.Drawing.Point(8, 34);
            this.lb_Port.Name = "lb_Port";
            this.lb_Port.Size = new System.Drawing.Size(27, 12);
            this.lb_Port.TabIndex = 1;
            this.lb_Port.Text = "Port";
            // 
            // btn_PortOpen
            // 
            this.btn_PortOpen.Location = new System.Drawing.Point(168, 29);
            this.btn_PortOpen.Name = "btn_PortOpen";
            this.btn_PortOpen.Size = new System.Drawing.Size(53, 23);
            this.btn_PortOpen.TabIndex = 2;
            this.btn_PortOpen.Text = "Open";
            this.btn_PortOpen.UseVisualStyleBackColor = true;
            this.btn_PortOpen.Click += new System.EventHandler(this.btn_PortOpen_Click);
            // 
            // btn_PortClose
            // 
            this.btn_PortClose.Enabled = false;
            this.btn_PortClose.Location = new System.Drawing.Point(227, 29);
            this.btn_PortClose.Name = "btn_PortClose";
            this.btn_PortClose.Size = new System.Drawing.Size(53, 23);
            this.btn_PortClose.TabIndex = 3;
            this.btn_PortClose.Text = "Close";
            this.btn_PortClose.UseVisualStyleBackColor = true;
            this.btn_PortClose.Click += new System.EventHandler(this.btn_PortClose_Click);
            // 
            // btn_ReadEnergy
            // 
            this.btn_ReadEnergy.Location = new System.Drawing.Point(197, 99);
            this.btn_ReadEnergy.Name = "btn_ReadEnergy";
            this.btn_ReadEnergy.Size = new System.Drawing.Size(109, 23);
            this.btn_ReadEnergy.TabIndex = 43;
            this.btn_ReadEnergy.Text = "Read Energy";
            this.btn_ReadEnergy.UseVisualStyleBackColor = true;
            this.btn_ReadEnergy.Click += new System.EventHandler(this.btn_ReadEnergy_Click);
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(20, 105);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(45, 12);
            this.label2.TabIndex = 42;
            this.label2.Text = "Energy";
            // 
            // tb_Energy
            // 
            this.tb_Energy.Location = new System.Drawing.Point(82, 101);
            this.tb_Energy.Name = "tb_Energy";
            this.tb_Energy.ReadOnly = true;
            this.tb_Energy.Size = new System.Drawing.Size(100, 21);
            this.tb_Energy.TabIndex = 41;
            // 
            // btn_Initial
            // 
            this.btn_Initial.Location = new System.Drawing.Point(22, 279);
            this.btn_Initial.Name = "btn_Initial";
            this.btn_Initial.Size = new System.Drawing.Size(78, 23);
            this.btn_Initial.TabIndex = 44;
            this.btn_Initial.Text = "Init";
            this.btn_Initial.UseVisualStyleBackColor = true;
            this.btn_Initial.Click += new System.EventHandler(this.btn_Initial_Click);
            // 
            // button2
            // 
            this.button2.Enabled = false;
            this.button2.Location = new System.Drawing.Point(258, 279);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(53, 23);
            this.button2.TabIndex = 45;
            this.button2.Text = "Close";
            this.button2.UseVisualStyleBackColor = true;
            // 
            // EnergyMax_PowerMeter_Form
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(351, 314);
            this.Controls.Add(this.btn_Initial);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.btn_ReadEnergy);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.tb_Energy);
            this.Controls.Add(this.groupBox1);
            this.Name = "EnergyMax_PowerMeter_Form";
            this.Text = "EnergyMax_PowerMeter_Form";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.EnergyMax_PowerMeter_Form_FormClosing);
            this.Load += new System.EventHandler(this.EnergyMax_PowerMeter_Form_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
 
        }
 
        #endregion
 
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Label lb_PortState;
        private System.Windows.Forms.ComboBox cbb_Ports;
        private System.Windows.Forms.Label lb_Port;
        private System.Windows.Forms.Button btn_PortOpen;
        private System.Windows.Forms.Button btn_PortClose;
        private System.Windows.Forms.Button btn_ReadEnergy;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox tb_Energy;
        private System.Windows.Forms.Button btn_Initial;
        private System.Windows.Forms.Button button2;
    }
}