From 77ab118a04eb43da0ce07b2f22d4a4bc82f04a7f Mon Sep 17 00:00:00 2001 From: qin <a@163.com> Date: 星期二, 04 六月 2024 09:09:37 +0800 Subject: [PATCH] 水表当量管理 --- Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs | 110 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 92 insertions(+), 18 deletions(-) diff --git a/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs b/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs index 763e34e..ae96f61 100644 --- a/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs +++ b/Hydraulic/Hydro.MapUI/Map/MapViewer.Designer.cs @@ -79,8 +79,9 @@ this.label_center = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel_rotation = new System.Windows.Forms.ToolStripStatusLabel(); this.label_zoom = new System.Windows.Forms.ToolStripStatusLabel(); - this.toolStripStatusLabel_split1 = new System.Windows.Forms.ToolStripStatusLabel(); this.label_mouse = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripStatusLabel_split1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.label_ZZ = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel_split2 = new System.Windows.Forms.ToolStripStatusLabel(); this.label_file = new System.Windows.Forms.ToolStripStatusLabel(); this.panel1 = new System.Windows.Forms.Panel(); @@ -117,11 +118,11 @@ this.toolStripTextBox_姘村钩鏃嬭浆瑙掑害 = new System.Windows.Forms.ToolStripTextBox(); this.杞存棆杞琓oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.杞撮暅鍍廡oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.缂╂斁ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripTextBox_缂╂斁姣斾緥 = new System.Windows.Forms.ToolStripTextBox(); this.toolStripMenuItem_鏀惧ぇ2鍊� = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem_缂╁皬2鍊� = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.鍏抽榾鍒嗘瀽ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.鍏抽榾鍒嗘瀽涓嶈�冭檻姘存簮ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.杩為�氭�ф鏌oolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); @@ -143,6 +144,8 @@ this.绔栫洿瀵归綈ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.鑷姩瀵归綈ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.鎺掑垪ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator22 = new System.Windows.Forms.ToolStripSeparator(); + this.妤煎眰绠$悊ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSplitButton1 = new System.Windows.Forms.ToolStripSplitButton(); this.閲嶇疆ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -204,6 +207,8 @@ this.toolStripSeparator21 = new System.Windows.Forms.ToolStripSeparator(); this.鍙抽敭_Menu = new System.Windows.Forms.ContextMenuStrip(this.components); this.瑙嗚ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.榛樿瑙嗚ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator23 = new System.Windows.Forms.ToolStripSeparator(); this.淇鍥綯oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.姝h鍥綯oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.閲嶇疆瑙嗚ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -230,6 +235,9 @@ this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.鍏ㄩ�塗oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.鍙嶉�塗oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.timer_draw = new System.Windows.Forms.Timer(this.components); + this.姘撮噺鍒嗛厤ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.map = new Hydro.MapUI.DMap(); this.statusStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); @@ -242,8 +250,9 @@ this.label_center, this.toolStripStatusLabel_rotation, this.label_zoom, - this.toolStripStatusLabel_split1, this.label_mouse, + this.toolStripStatusLabel_split1, + this.label_ZZ, this.toolStripStatusLabel_split2, this.label_file}); this.statusStrip1.Location = new System.Drawing.Point(0, 578); @@ -272,17 +281,24 @@ this.label_zoom.Text = "Zoom锛�1"; this.label_zoom.Click += new System.EventHandler(this.label_zoom_Click); // + // label_mouse + // + this.label_mouse.Name = "label_mouse"; + this.label_mouse.Size = new System.Drawing.Size(65, 17); + this.label_mouse.Text = "X锛�0 Y锛�0"; + // // toolStripStatusLabel_split1 // this.toolStripStatusLabel_split1.Name = "toolStripStatusLabel_split1"; this.toolStripStatusLabel_split1.Size = new System.Drawing.Size(11, 17); this.toolStripStatusLabel_split1.Text = "|"; // - // label_mouse + // label_ZZ // - this.label_mouse.Name = "label_mouse"; - this.label_mouse.Size = new System.Drawing.Size(65, 17); - this.label_mouse.Text = "X锛�0 Y锛�0"; + this.label_ZZ.Name = "label_ZZ"; + this.label_ZZ.Size = new System.Drawing.Size(71, 17); + this.label_ZZ.Text = "姝d氦妯″紡:寮�"; + this.label_ZZ.Click += new System.EventHandler(this.label_ZZ_Click); // // toolStripStatusLabel_split2 // @@ -341,7 +357,7 @@ this.toolStripSeparator21}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1073, 25); + this.toolStrip1.Size = new System.Drawing.Size(1019, 25); this.toolStrip1.TabIndex = 6; this.toolStrip1.Text = "toolStrip1"; // @@ -364,7 +380,7 @@ // this.鏂板缓ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("鏂板缓ToolStripMenuItem.Image"))); this.鏂板缓ToolStripMenuItem.Name = "鏂板缓ToolStripMenuItem"; - this.鏂板缓ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.鏂板缓ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.鏂板缓ToolStripMenuItem.Text = "鏂板缓"; // // toolStripSeparator1 @@ -600,8 +616,8 @@ this.姘村钩鏃嬭浆ToolStripMenuItem, this.杞存棆杞琓oolStripMenuItem, this.杞撮暅鍍廡oolStripMenuItem, - this.toolStripSeparator7, this.缂╂斁ToolStripMenuItem, + this.toolStripSeparator7, this.鍏抽榾鍒嗘瀽ToolStripMenuItem, this.杩為�氭�ф鏌oolStripMenuItem1, this.涓嬫父杩為�氭�oolStripMenuItem, @@ -616,7 +632,9 @@ this.鍒犻櫎ToolStripMenuItem1, this.toolStripSeparator15, this.瀵归綈ToolStripMenuItem, - this.鎺掑垪ToolStripMenuItem}); + this.鎺掑垪ToolStripMenuItem, + this.toolStripSeparator22, + this.妤煎眰绠$悊ToolStripMenuItem}); this.toolStripDropDownButton_宸ュ叿.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton_宸ュ叿.Image"))); this.toolStripDropDownButton_宸ュ叿.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripDropDownButton_宸ュ叿.Name = "toolStripDropDownButton_宸ュ叿"; @@ -654,11 +672,6 @@ this.杞撮暅鍍廡oolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.杞撮暅鍍廡oolStripMenuItem.Text = "杞撮暅鍍�"; // - // toolStripSeparator7 - // - this.toolStripSeparator7.Name = "toolStripSeparator7"; - this.toolStripSeparator7.Size = new System.Drawing.Size(145, 6); - // // 缂╂斁ToolStripMenuItem // this.缂╂斁ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -691,6 +704,11 @@ this.toolStripMenuItem_缂╁皬2鍊�.Size = new System.Drawing.Size(160, 22); this.toolStripMenuItem_缂╁皬2鍊�.Text = "缂╁皬2鍊�"; this.toolStripMenuItem_缂╁皬2鍊�.Click += new System.EventHandler(this.缂╂斁ToolStripMenuItem_Click); + // + // toolStripSeparator7 + // + this.toolStripSeparator7.Name = "toolStripSeparator7"; + this.toolStripSeparator7.Size = new System.Drawing.Size(145, 6); // // 鍏抽榾鍒嗘瀽ToolStripMenuItem // @@ -852,6 +870,19 @@ this.鎺掑垪ToolStripMenuItem.Name = "鎺掑垪ToolStripMenuItem"; this.鎺掑垪ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); this.鎺掑垪ToolStripMenuItem.Text = "鎺掑垪"; + // + // toolStripSeparator22 + // + this.toolStripSeparator22.Name = "toolStripSeparator22"; + this.toolStripSeparator22.Size = new System.Drawing.Size(145, 6); + // + // 妤煎眰绠$悊ToolStripMenuItem + // + this.妤煎眰绠$悊ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("妤煎眰绠$悊ToolStripMenuItem.Image"))); + this.妤煎眰绠$悊ToolStripMenuItem.Name = "妤煎眰绠$悊ToolStripMenuItem"; + this.妤煎眰绠$悊ToolStripMenuItem.Size = new System.Drawing.Size(148, 22); + this.妤煎眰绠$悊ToolStripMenuItem.Text = "妤煎眰绠$悊"; + this.妤煎眰绠$悊ToolStripMenuItem.Click += new System.EventHandler(this.妤煎眰绠$悊ToolStripMenuItem_Click); // // toolStripSeparator8 // @@ -1284,7 +1315,6 @@ this.cb_Node_Colour.Name = "cb_Node_Colour"; this.cb_Node_Colour.Size = new System.Drawing.Size(75, 25); this.cb_Node_Colour.SelectedIndexChanged += new System.EventHandler(this.cb_Node_Colour_SelectedIndexChanged); - this.cb_Node_Colour.Click += new System.EventHandler(this.cb_Node_Colour_Click); // // cb_Link_Colour // @@ -1294,7 +1324,6 @@ this.cb_Link_Colour.Name = "cb_Link_Colour"; this.cb_Link_Colour.Size = new System.Drawing.Size(75, 25); this.cb_Link_Colour.SelectedIndexChanged += new System.EventHandler(this.cb_Link_Colour_SelectedIndexChanged); - this.cb_Link_Colour.Click += new System.EventHandler(this.cb_Link_Colour_Click); // // tb_棰滆壊鍒嗙骇璁剧疆 // @@ -1335,12 +1364,26 @@ // 瑙嗚ToolStripMenuItem // this.瑙嗚ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.榛樿瑙嗚ToolStripMenuItem, + this.toolStripSeparator23, this.淇鍥綯oolStripMenuItem, this.姝h鍥綯oolStripMenuItem, this.閲嶇疆瑙嗚ToolStripMenuItem}); this.瑙嗚ToolStripMenuItem.Name = "瑙嗚ToolStripMenuItem"; this.瑙嗚ToolStripMenuItem.Size = new System.Drawing.Size(145, 22); this.瑙嗚ToolStripMenuItem.Text = "瑙嗚"; + // + // 榛樿瑙嗚ToolStripMenuItem + // + this.榛樿瑙嗚ToolStripMenuItem.Name = "榛樿瑙嗚ToolStripMenuItem"; + this.榛樿瑙嗚ToolStripMenuItem.Size = new System.Drawing.Size(124, 22); + this.榛樿瑙嗚ToolStripMenuItem.Text = "榛樿瑙嗚"; + this.榛樿瑙嗚ToolStripMenuItem.Click += new System.EventHandler(this.榛樿瑙嗚ToolStripMenuItem_Click); + // + // toolStripSeparator23 + // + this.toolStripSeparator23.Name = "toolStripSeparator23"; + this.toolStripSeparator23.Size = new System.Drawing.Size(121, 6); // // 淇鍥綯oolStripMenuItem // @@ -1533,8 +1576,31 @@ this.鍙嶉�塗oolStripMenuItem.Text = "鍙嶉��"; this.鍙嶉�塗oolStripMenuItem.Click += new System.EventHandler(this.鍙嶉�塗oolStripMenuItem_Click); // + // timer_draw + // + this.timer_draw.Enabled = true; + this.timer_draw.Interval = 33; + this.timer_draw.Tick += new System.EventHandler(this.timer_draw_Tick); + // + // 姘撮噺鍒嗛厤ToolStripMenuItem + // + this.姘撮噺鍒嗛厤ToolStripMenuItem.Name = "姘撮噺鍒嗛厤ToolStripMenuItem"; + this.姘撮噺鍒嗛厤ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); + this.姘撮噺鍒嗛厤ToolStripMenuItem.Text = "姘撮噺鍒嗛厤"; + // + // map + // + this.map._newTemplate = null; + this.map.Dock = System.Windows.Forms.DockStyle.Fill; + this.map.Location = new System.Drawing.Point(0, 24); + this.map.mapOption = ((Hydro.MapView.MapDimensions)(resources.GetObject("map.mapOption"))); + this.map.Name = "map"; + this.map.Size = new System.Drawing.Size(1051, 554); + this.map.TabIndex = 8; + // // MapViewer // + this.Controls.Add(this.map); this.Controls.Add(this.panel1); this.Controls.Add(this.statusStrip1); this.Name = "MapViewer"; @@ -1740,5 +1806,13 @@ private ToolStripMenuItem 棰滆壊鍒嗙骇绠$悊ToolStripMenuItem; private ToolStripButton tb_棰滆壊鍒嗙骇璁剧疆; private ToolStripSeparator toolStripSeparator21; + private Timer timer_draw; + private ToolStripStatusLabel label_ZZ; + private ToolStripSeparator toolStripSeparator22; + private ToolStripMenuItem 妤煎眰绠$悊ToolStripMenuItem; + private ToolStripMenuItem 榛樿瑙嗚ToolStripMenuItem; + private ToolStripMenuItem 姘撮噺鍒嗛厤ToolStripMenuItem; + private ToolStripSeparator toolStripSeparator23; + private DMap map; } } -- Gitblit v1.9.3