338 lines
17 KiB
C#
338 lines
17 KiB
C#
using System.Collections.Generic;
|
|
using System;
|
|
using System.Drawing;
|
|
using System.Diagnostics;
|
|
using System.Data;
|
|
using System.Collections;
|
|
using System.Windows.Forms;
|
|
|
|
namespace vmsnet
|
|
{
|
|
partial class Frm_Sub : 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_Sub));
|
|
this.StatusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.lb_status = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.lb_lasttime = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.lb_alarm = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.Timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.PPreviewDialog = new System.Windows.Forms.PrintPreviewDialog();
|
|
this.PrintGroup = new System.Drawing.Printing.PrintDocument();
|
|
this.PrintWin = new System.Drawing.Printing.PrintDocument();
|
|
this.PrintPreViewWin = new System.Windows.Forms.PrintPreviewDialog();
|
|
this.TableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.cmb_tanks = new System.Windows.Forms.ComboBox();
|
|
this.Button1 = new System.Windows.Forms.Button();
|
|
this.ToolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
this.bt_logo = new System.Windows.Forms.ToolStripButton();
|
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.bt_fullscreen = new System.Windows.Forms.ToolStripButton();
|
|
this.bt_tviewr = new System.Windows.Forms.ToolStripButton();
|
|
this.bt_save = new System.Windows.Forms.ToolStripButton();
|
|
this.ToolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
this.ToolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
|
this.ds1 = new vmsnet.DS1();
|
|
this.documentElement1 = new vmsnet.DocumentElement();
|
|
this.StatusStrip1.SuspendLayout();
|
|
this.TableLayoutPanel1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.ToolStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.ds1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.documentElement1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// StatusStrip1
|
|
//
|
|
this.StatusStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
|
this.StatusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.lb_status,
|
|
this.lb_lasttime,
|
|
this.lb_alarm});
|
|
this.StatusStrip1.Location = new System.Drawing.Point(0, 750);
|
|
this.StatusStrip1.Name = "StatusStrip1";
|
|
this.StatusStrip1.Size = new System.Drawing.Size(929, 26);
|
|
this.StatusStrip1.TabIndex = 1;
|
|
this.StatusStrip1.Text = "StatusStrip1";
|
|
//
|
|
// lb_status
|
|
//
|
|
this.lb_status.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
|
this.lb_status.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
|
|
this.lb_status.Name = "lb_status";
|
|
this.lb_status.Size = new System.Drawing.Size(130, 20);
|
|
this.lb_status.Text = "<SUBWINDOW>";
|
|
//
|
|
// lb_lasttime
|
|
//
|
|
this.lb_lasttime.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
|
this.lb_lasttime.ForeColor = System.Drawing.Color.Gray;
|
|
this.lb_lasttime.Name = "lb_lasttime";
|
|
this.lb_lasttime.Size = new System.Drawing.Size(103, 20);
|
|
this.lb_lasttime.Text = "<LASTTIME>";
|
|
//
|
|
// lb_alarm
|
|
//
|
|
this.lb_alarm.ForeColor = System.Drawing.Color.Silver;
|
|
this.lb_alarm.Name = "lb_alarm";
|
|
this.lb_alarm.Size = new System.Drawing.Size(24, 20);
|
|
this.lb_alarm.Text = "●";
|
|
//
|
|
// Timer1
|
|
//
|
|
this.Timer1.Interval = 1000;
|
|
this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick);
|
|
//
|
|
// PPreviewDialog
|
|
//
|
|
this.PPreviewDialog.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
|
this.PPreviewDialog.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
|
this.PPreviewDialog.ClientSize = new System.Drawing.Size(400, 300);
|
|
this.PPreviewDialog.Document = this.PrintGroup;
|
|
this.PPreviewDialog.Enabled = true;
|
|
this.PPreviewDialog.Icon = ((System.Drawing.Icon)(resources.GetObject("PPreviewDialog.Icon")));
|
|
this.PPreviewDialog.Name = "PrintPreviewDialog1";
|
|
this.PPreviewDialog.UseAntiAlias = true;
|
|
this.PPreviewDialog.Visible = false;
|
|
//
|
|
// PrintGroup
|
|
//
|
|
this.PrintGroup.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.PrintDocument1_PrintPage);
|
|
//
|
|
// PrintWin
|
|
//
|
|
this.PrintWin.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.PrintWin_PrintPage);
|
|
//
|
|
// PrintPreViewWin
|
|
//
|
|
this.PrintPreViewWin.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
|
this.PrintPreViewWin.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
|
this.PrintPreViewWin.ClientSize = new System.Drawing.Size(400, 300);
|
|
this.PrintPreViewWin.Document = this.PrintWin;
|
|
this.PrintPreViewWin.Enabled = true;
|
|
this.PrintPreViewWin.Icon = ((System.Drawing.Icon)(resources.GetObject("PrintPreViewWin.Icon")));
|
|
this.PrintPreViewWin.Name = "PrintPreviewDialog1";
|
|
this.PrintPreViewWin.UseAntiAlias = true;
|
|
this.PrintPreViewWin.Visible = false;
|
|
//
|
|
// TableLayoutPanel1
|
|
//
|
|
this.TableLayoutPanel1.ColumnCount = 2;
|
|
this.TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.TableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.TableLayoutPanel1.Controls.Add(this.panel1, 1, 0);
|
|
this.TableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.TableLayoutPanel1.Location = new System.Drawing.Point(0, 44);
|
|
this.TableLayoutPanel1.Name = "TableLayoutPanel1";
|
|
this.TableLayoutPanel1.RowCount = 3;
|
|
this.TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
|
|
this.TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.TableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
|
this.TableLayoutPanel1.Size = new System.Drawing.Size(929, 706);
|
|
this.TableLayoutPanel1.TabIndex = 6;
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.cmb_tanks);
|
|
this.panel1.Controls.Add(this.Button1);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel1.Location = new System.Drawing.Point(467, 3);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(459, 29);
|
|
this.panel1.TabIndex = 6;
|
|
//
|
|
// 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", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
|
this.cmb_tanks.FormattingEnabled = true;
|
|
this.cmb_tanks.Location = new System.Drawing.Point(0, 0);
|
|
this.cmb_tanks.Name = "cmb_tanks";
|
|
this.cmb_tanks.Size = new System.Drawing.Size(341, 38);
|
|
this.cmb_tanks.TabIndex = 5;
|
|
this.cmb_tanks.SelectedIndexChanged += new System.EventHandler(this.cmb_group_SelectedIndexChanged);
|
|
//
|
|
// Button1
|
|
//
|
|
this.Button1.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.Button1.Location = new System.Drawing.Point(341, 0);
|
|
this.Button1.Name = "Button1";
|
|
this.Button1.Size = new System.Drawing.Size(118, 29);
|
|
this.Button1.TabIndex = 6;
|
|
this.Button1.Text = "채널선택";
|
|
this.Button1.UseVisualStyleBackColor = true;
|
|
this.Button1.Click += new System.EventHandler(this.Button1_Click);
|
|
//
|
|
// ToolStrip1
|
|
//
|
|
this.ToolStrip1.AutoSize = false;
|
|
this.ToolStrip1.BackColor = System.Drawing.Color.White;
|
|
this.ToolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
|
this.ToolStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
|
this.ToolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.bt_logo,
|
|
this.toolStripSeparator1,
|
|
this.bt_fullscreen,
|
|
this.bt_tviewr,
|
|
this.bt_save,
|
|
this.ToolStripSeparator2,
|
|
this.ToolStripButton2});
|
|
this.ToolStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.ToolStrip1.Name = "ToolStrip1";
|
|
this.ToolStrip1.Size = new System.Drawing.Size(929, 44);
|
|
this.ToolStrip1.TabIndex = 7;
|
|
this.ToolStrip1.Text = "ToolStrip1";
|
|
//
|
|
// bt_logo
|
|
//
|
|
this.bt_logo.AutoSize = false;
|
|
this.bt_logo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.bt_logo.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.bt_logo.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
|
this.bt_logo.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.bt_logo.Name = "bt_logo";
|
|
this.bt_logo.Size = new System.Drawing.Size(150, 51);
|
|
this.bt_logo.Text = "ToolStripButton1";
|
|
this.bt_logo.Click += new System.EventHandler(this.bt_logo_Click);
|
|
//
|
|
// toolStripSeparator1
|
|
//
|
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 44);
|
|
//
|
|
// bt_fullscreen
|
|
//
|
|
this.bt_fullscreen.Image = ((System.Drawing.Image)(resources.GetObject("bt_fullscreen.Image")));
|
|
this.bt_fullscreen.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.bt_fullscreen.Name = "bt_fullscreen";
|
|
this.bt_fullscreen.Size = new System.Drawing.Size(97, 41);
|
|
this.bt_fullscreen.Text = "개별보기";
|
|
this.bt_fullscreen.Click += new System.EventHandler(this.bt_fullscreen_Click);
|
|
//
|
|
// bt_tviewr
|
|
//
|
|
this.bt_tviewr.Enabled = false;
|
|
this.bt_tviewr.Image = ((System.Drawing.Image)(resources.GetObject("bt_tviewr.Image")));
|
|
this.bt_tviewr.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.bt_tviewr.Name = "bt_tviewr";
|
|
this.bt_tviewr.Size = new System.Drawing.Size(152, 41);
|
|
this.bt_tviewr.Text = "실시간트렌드(F1)";
|
|
this.bt_tviewr.Click += new System.EventHandler(this.bt_tviewr_Click);
|
|
//
|
|
// bt_save
|
|
//
|
|
this.bt_save.Enabled = false;
|
|
this.bt_save.Image = ((System.Drawing.Image)(resources.GetObject("bt_save.Image")));
|
|
this.bt_save.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.bt_save.Name = "bt_save";
|
|
this.bt_save.Size = new System.Drawing.Size(92, 41);
|
|
this.bt_save.Text = "저장(F5)";
|
|
this.bt_save.Click += new System.EventHandler(this.bt_save_Click);
|
|
//
|
|
// ToolStripSeparator2
|
|
//
|
|
this.ToolStripSeparator2.Name = "ToolStripSeparator2";
|
|
this.ToolStripSeparator2.Size = new System.Drawing.Size(6, 44);
|
|
//
|
|
// ToolStripButton2
|
|
//
|
|
this.ToolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButton2.Image")));
|
|
this.ToolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.ToolStripButton2.Name = "ToolStripButton2";
|
|
this.ToolStripButton2.Size = new System.Drawing.Size(122, 41);
|
|
this.ToolStripButton2.Text = "소리끄기(F2)";
|
|
this.ToolStripButton2.Click += new System.EventHandler(this.ToolStripButton2_Click);
|
|
//
|
|
// ds1
|
|
//
|
|
this.ds1.DataSetName = "DS1";
|
|
this.ds1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
//
|
|
// documentElement1
|
|
//
|
|
this.documentElement1.DataSetName = "DocumentElement";
|
|
this.documentElement1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
//
|
|
// Frm_Sub
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(929, 776);
|
|
this.Controls.Add(this.TableLayoutPanel1);
|
|
this.Controls.Add(this.ToolStrip1);
|
|
this.Controls.Add(this.StatusStrip1);
|
|
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_Sub";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "cell Voltage Mornitoring System";
|
|
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Frm_Main_FormClosing);
|
|
this.Load += new System.EventHandler(this.Frm_Main_Load);
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Frm_Sub_KeyDown);
|
|
this.StatusStrip1.ResumeLayout(false);
|
|
this.StatusStrip1.PerformLayout();
|
|
this.TableLayoutPanel1.ResumeLayout(false);
|
|
this.panel1.ResumeLayout(false);
|
|
this.ToolStrip1.ResumeLayout(false);
|
|
this.ToolStrip1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.ds1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.documentElement1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
internal System.Windows.Forms.StatusStrip StatusStrip1;
|
|
internal System.Windows.Forms.ToolStripStatusLabel lb_status;
|
|
internal System.Windows.Forms.ToolStripStatusLabel lb_lasttime;
|
|
internal System.Windows.Forms.Timer Timer1;
|
|
internal System.Windows.Forms.ToolStripStatusLabel lb_alarm;
|
|
internal System.Windows.Forms.PrintPreviewDialog PPreviewDialog;
|
|
internal System.Drawing.Printing.PrintDocument PrintGroup;
|
|
internal System.Drawing.Printing.PrintDocument PrintWin;
|
|
internal System.Windows.Forms.PrintPreviewDialog PrintPreViewWin;
|
|
internal System.Windows.Forms.TableLayoutPanel TableLayoutPanel1;
|
|
internal System.Windows.Forms.ComboBox cmb_tanks;
|
|
private System.ComponentModel.IContainer components;
|
|
internal ToolStrip ToolStrip1;
|
|
internal ToolStripButton bt_fullscreen;
|
|
internal ToolStripSeparator ToolStripSeparator2;
|
|
internal ToolStripButton ToolStripButton2;
|
|
internal ToolStripButton bt_logo;
|
|
private ToolStripSeparator toolStripSeparator1;
|
|
internal ToolStripButton bt_tviewr;
|
|
internal ToolStripButton bt_save;
|
|
private DS1 ds1;
|
|
private vmsnet.DocumentElement documentElement1;
|
|
private Panel panel1;
|
|
internal Button Button1;
|
|
}
|
|
|
|
}
|