284 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			284 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.Collections.Generic;
 | |
| using System;
 | |
| using System.Drawing;
 | |
| using System.Diagnostics;
 | |
| using System.Data;
 | |
| using System.Collections;
 | |
| using System.Windows.Forms;
 | |
| using vmsnet;
 | |
| 
 | |
| namespace vmsnet
 | |
| {
 | |
| 	partial class Frm_trend_Real : System.Windows.Forms.Form
 | |
| 	{
 | |
| 		
 | |
| 		//Form은 Dispose를 재정의하여 구성 요소 목록을 정리합니다.
 | |
| 		[System.Diagnostics.DebuggerNonUserCode()]protected override void Dispose(bool disposing)
 | |
| 		{
 | |
| 			try
 | |
| 			{
 | |
| 				if (disposing && components != null)
 | |
| 				{
 | |
| 					components.Dispose();
 | |
| 				}
 | |
| 			}
 | |
| 			finally
 | |
| 			{
 | |
| 				base.Dispose(disposing);
 | |
| 			}
 | |
| 		}
 | |
| 		
 | |
| 		//참고: 다음 프로시저는 Windows Form 디자이너에 필요합니다.
 | |
| 		//수정하려면 Windows Form 디자이너를 사용하십시오.
 | |
| 		//코드 편집기를 사용하여 수정하지 마십시오.
 | |
| 		[System.Diagnostics.DebuggerStepThrough()]
 | |
| 			private void InitializeComponent()
 | |
| 			{
 | |
|             this.components = new System.ComponentModel.Container();
 | |
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_trend_Real));
 | |
|             this.ToolTip1 = new System.Windows.Forms.ToolTip(this.components);
 | |
|             this.Panel1 = new System.Windows.Forms.Panel();
 | |
|             this.cmb_tanks = new System.Windows.Forms.ComboBox();
 | |
|             this.btSelectCH = new System.Windows.Forms.Button();
 | |
|             this.Label4 = new System.Windows.Forms.Label();
 | |
|             this.TableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
 | |
|             this.Panel2 = new System.Windows.Forms.Panel();
 | |
|             this.bsCHList = new System.Windows.Forms.BindingSource(this.components);
 | |
|             this.documentElement1 = new vmsnet.DocumentElement();
 | |
|             this.Timer1 = new System.Windows.Forms.Timer(this.components);
 | |
|             this.ds1 = new vmsnet.DS1();
 | |
|             this.ToolStrip2 = new System.Windows.Forms.ToolStrip();
 | |
|             this.ToolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
 | |
|             this.cmb_volt = new System.Windows.Forms.ToolStripComboBox();
 | |
|             this.ToolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
 | |
|             this.cmb_time = new System.Windows.Forms.ToolStripComboBox();
 | |
|             this.prb1 = new System.Windows.Forms.ToolStripProgressBar();
 | |
|             this.btConfig = new System.Windows.Forms.ToolStripButton();
 | |
|             this.Panel1.SuspendLayout();
 | |
|             this.TableLayoutPanel1.SuspendLayout();
 | |
|             ((System.ComponentModel.ISupportInitialize)(this.bsCHList)).BeginInit();
 | |
|             ((System.ComponentModel.ISupportInitialize)(this.documentElement1)).BeginInit();
 | |
|             ((System.ComponentModel.ISupportInitialize)(this.ds1)).BeginInit();
 | |
|             this.ToolStrip2.SuspendLayout();
 | |
|             this.SuspendLayout();
 | |
|             // 
 | |
|             // Panel1
 | |
|             // 
 | |
|             this.Panel1.BackColor = System.Drawing.Color.WhiteSmoke;
 | |
|             this.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
 | |
|             this.Panel1.Controls.Add(this.cmb_tanks);
 | |
|             this.Panel1.Controls.Add(this.btSelectCH);
 | |
|             this.Panel1.Controls.Add(this.Label4);
 | |
|             this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
 | |
|             this.Panel1.Location = new System.Drawing.Point(0, 0);
 | |
|             this.Panel1.Margin = new System.Windows.Forms.Padding(0);
 | |
|             this.Panel1.Name = "Panel1";
 | |
|             this.Panel1.Padding = new System.Windows.Forms.Padding(3);
 | |
|             this.Panel1.Size = new System.Drawing.Size(1247, 39);
 | |
|             this.Panel1.TabIndex = 7;
 | |
|             this.Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.Panel1_Paint);
 | |
|             // 
 | |
|             // cmb_tanks
 | |
|             // 
 | |
|             this.cmb_tanks.Dock = System.Windows.Forms.DockStyle.Fill;
 | |
|             this.cmb_tanks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
 | |
|             this.cmb_tanks.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
 | |
|             this.cmb_tanks.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
 | |
|             this.cmb_tanks.FormattingEnabled = true;
 | |
|             this.cmb_tanks.Location = new System.Drawing.Point(72, 3);
 | |
|             this.cmb_tanks.Name = "cmb_tanks";
 | |
|             this.cmb_tanks.Size = new System.Drawing.Size(1052, 40);
 | |
|             this.cmb_tanks.TabIndex = 16;
 | |
|             this.cmb_tanks.SelectedIndexChanged += new System.EventHandler(this.cmb_group_SelectedIndexChanged);
 | |
|             // 
 | |
|             // btSelectCH
 | |
|             // 
 | |
|             this.btSelectCH.Dock = System.Windows.Forms.DockStyle.Right;
 | |
|             this.btSelectCH.Location = new System.Drawing.Point(1124, 3);
 | |
|             this.btSelectCH.Name = "btSelectCH";
 | |
|             this.btSelectCH.Size = new System.Drawing.Size(118, 31);
 | |
|             this.btSelectCH.TabIndex = 19;
 | |
|             this.btSelectCH.Text = "채널선택";
 | |
|             this.btSelectCH.UseVisualStyleBackColor = true;
 | |
|             this.btSelectCH.Click += new System.EventHandler(this.btSelectCH_Click);
 | |
|             // 
 | |
|             // Label4
 | |
|             // 
 | |
|             this.Label4.Dock = System.Windows.Forms.DockStyle.Left;
 | |
|             this.Label4.Location = new System.Drawing.Point(3, 3);
 | |
|             this.Label4.Name = "Label4";
 | |
|             this.Label4.Size = new System.Drawing.Size(69, 31);
 | |
|             this.Label4.TabIndex = 15;
 | |
|             this.Label4.Text = "그룹";
 | |
|             this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
 | |
|             // 
 | |
|             // TableLayoutPanel1
 | |
|             // 
 | |
|             this.TableLayoutPanel1.ColumnCount = 1;
 | |
|             this.TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
 | |
|             this.TableLayoutPanel1.Controls.Add(this.Panel2, 0, 1);
 | |
|             this.TableLayoutPanel1.Controls.Add(this.Panel1, 0, 0);
 | |
|             this.TableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
 | |
|             this.TableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
 | |
|             this.TableLayoutPanel1.Name = "TableLayoutPanel1";
 | |
|             this.TableLayoutPanel1.RowCount = 2;
 | |
|             this.TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 39F));
 | |
|             this.TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
 | |
|             this.TableLayoutPanel1.Size = new System.Drawing.Size(1247, 860);
 | |
|             this.TableLayoutPanel1.TabIndex = 9;
 | |
|             // 
 | |
|             // Panel2
 | |
|             // 
 | |
|             this.Panel2.Dock = System.Windows.Forms.DockStyle.Fill;
 | |
|             this.Panel2.Location = new System.Drawing.Point(3, 42);
 | |
|             this.Panel2.Name = "Panel2";
 | |
|             this.Panel2.Size = new System.Drawing.Size(1241, 815);
 | |
|             this.Panel2.TabIndex = 8;
 | |
|             // 
 | |
|             // bsCHList
 | |
|             // 
 | |
|             this.bsCHList.DataMember = "TRENDVIEWCHLIST";
 | |
|             this.bsCHList.DataSource = this.documentElement1;
 | |
|             this.bsCHList.Sort = "SHOW,IDX";
 | |
|             // 
 | |
|             // documentElement1
 | |
|             // 
 | |
|             this.documentElement1.DataSetName = "DocumentElement";
 | |
|             this.documentElement1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
 | |
|             // 
 | |
|             // Timer1
 | |
|             // 
 | |
|             this.Timer1.Interval = 200;
 | |
|             this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
 | |
|             // 
 | |
|             // ds1
 | |
|             // 
 | |
|             this.ds1.DataSetName = "DS1";
 | |
|             this.ds1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
 | |
|             // 
 | |
|             // ToolStrip2
 | |
|             // 
 | |
|             this.ToolStrip2.Dock = System.Windows.Forms.DockStyle.Bottom;
 | |
|             this.ToolStrip2.ImageScalingSize = new System.Drawing.Size(24, 24);
 | |
|             this.ToolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
 | |
|             this.ToolStripLabel1,
 | |
|             this.cmb_volt,
 | |
|             this.ToolStripLabel2,
 | |
|             this.cmb_time,
 | |
|             this.prb1,
 | |
|             this.btConfig});
 | |
|             this.ToolStrip2.Location = new System.Drawing.Point(0, 860);
 | |
|             this.ToolStrip2.Name = "ToolStrip2";
 | |
|             this.ToolStrip2.Size = new System.Drawing.Size(1247, 33);
 | |
|             this.ToolStrip2.TabIndex = 10;
 | |
|             this.ToolStrip2.Text = "ToolStrip2";
 | |
|             // 
 | |
|             // ToolStripLabel1
 | |
|             // 
 | |
|             this.ToolStripLabel1.Name = "ToolStripLabel1";
 | |
|             this.ToolStripLabel1.Size = new System.Drawing.Size(84, 28);
 | |
|             this.ToolStripLabel1.Text = "전압범위";
 | |
|             // 
 | |
|             // cmb_volt
 | |
|             // 
 | |
|             this.cmb_volt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
 | |
|             this.cmb_volt.Items.AddRange(new object[] {
 | |
|             "Auto",
 | |
|             "3v",
 | |
|             "5v",
 | |
|             "7v",
 | |
|             "9v",
 | |
|             "11v",
 | |
|             "13v",
 | |
|             "15v",
 | |
|             "17v",
 | |
|             "20v"});
 | |
|             this.cmb_volt.Name = "cmb_volt";
 | |
|             this.cmb_volt.Size = new System.Drawing.Size(75, 33);
 | |
|             this.cmb_volt.SelectedIndexChanged += new System.EventHandler(this.cmb_volt_SelectedIndexChanged);
 | |
|             // 
 | |
|             // ToolStripLabel2
 | |
|             // 
 | |
|             this.ToolStripLabel2.Name = "ToolStripLabel2";
 | |
|             this.ToolStripLabel2.Size = new System.Drawing.Size(84, 28);
 | |
|             this.ToolStripLabel2.Text = "시간범위";
 | |
|             // 
 | |
|             // cmb_time
 | |
|             // 
 | |
|             this.cmb_time.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
 | |
|             this.cmb_time.Items.AddRange(new object[] {
 | |
|             "1분",
 | |
|             "3분",
 | |
|             "5분",
 | |
|             "10분",
 | |
|             "30분",
 | |
|             "60분"});
 | |
|             this.cmb_time.Name = "cmb_time";
 | |
|             this.cmb_time.Size = new System.Drawing.Size(75, 33);
 | |
|             this.cmb_time.SelectedIndexChanged += new System.EventHandler(this.cmb_time_SelectedIndexChanged_1);
 | |
|             // 
 | |
|             // prb1
 | |
|             // 
 | |
|             this.prb1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
 | |
|             this.prb1.Name = "prb1";
 | |
|             this.prb1.Size = new System.Drawing.Size(100, 28);
 | |
|             // 
 | |
|             // btConfig
 | |
|             // 
 | |
|             this.btConfig.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
 | |
|             this.btConfig.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
 | |
|             this.btConfig.Image = global::vmsnet.Properties.Resources.graphsetting;
 | |
|             this.btConfig.ImageTransparentColor = System.Drawing.Color.Magenta;
 | |
|             this.btConfig.Name = "btConfig";
 | |
|             this.btConfig.Size = new System.Drawing.Size(34, 28);
 | |
|             this.btConfig.Text = "config";
 | |
|             this.btConfig.Click += new System.EventHandler(this.btConfig_Click);
 | |
|             // 
 | |
|             // Frm_trend_Real
 | |
|             // 
 | |
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
 | |
|             this.ClientSize = new System.Drawing.Size(1247, 893);
 | |
|             this.Controls.Add(this.TableLayoutPanel1);
 | |
|             this.Controls.Add(this.ToolStrip2);
 | |
|             this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.999999F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
 | |
|             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
 | |
|             this.KeyPreview = true;
 | |
|             this.Name = "Frm_trend_Real";
 | |
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 | |
|             this.Text = "트렌드뷰(실시간)";
 | |
|             this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Frm_trend_FormClosing);
 | |
|             this.Load += new System.EventHandler(this.Frm_trend_Load);
 | |
|             this.Panel1.ResumeLayout(false);
 | |
|             this.TableLayoutPanel1.ResumeLayout(false);
 | |
|             ((System.ComponentModel.ISupportInitialize)(this.bsCHList)).EndInit();
 | |
|             ((System.ComponentModel.ISupportInitialize)(this.documentElement1)).EndInit();
 | |
|             ((System.ComponentModel.ISupportInitialize)(this.ds1)).EndInit();
 | |
|             this.ToolStrip2.ResumeLayout(false);
 | |
|             this.ToolStrip2.PerformLayout();
 | |
|             this.ResumeLayout(false);
 | |
|             this.PerformLayout();
 | |
| 
 | |
| 		}
 | |
| 		internal System.Windows.Forms.ToolTip ToolTip1;
 | |
| 		internal System.Windows.Forms.Panel Panel1;
 | |
| 		internal System.Windows.Forms.ComboBox cmb_tanks;
 | |
| 		internal System.Windows.Forms.Label Label4;
 | |
| 		internal System.Windows.Forms.TableLayoutPanel TableLayoutPanel1;
 | |
| 		internal System.Windows.Forms.Panel Panel2;
 | |
| 		internal Button btSelectCH;
 | |
| 		internal Timer Timer1;
 | |
|         private System.ComponentModel.IContainer components;
 | |
|         private BindingSource bsCHList;
 | |
|         private DocumentElement documentElement1;
 | |
|         private DS1 ds1;
 | |
|         internal ToolStrip ToolStrip2;
 | |
|         internal ToolStripLabel ToolStripLabel1;
 | |
|         internal ToolStripComboBox cmb_volt;
 | |
|         internal ToolStripLabel ToolStripLabel2;
 | |
|         internal ToolStripComboBox cmb_time;
 | |
|         internal ToolStripProgressBar prb1;
 | |
|         private ToolStripButton btConfig;
 | |
|     }
 | |
| 	
 | |
| }
 | 
