Files
fl-knowledge/LP/FormGanTa0zhiliu.cs
T

969 lines
33 KiB
C#
Raw Normal View History

using System;
using System.ComponentModel;
using System.Drawing;
using System.Threading;
using System.Windows.Forms;
namespace LP;
public class FormGanTa0zhiliu : Form
{
private delegate void delegateTextBoxSetText(TextBox textBox, string value);
private delegate void delegateListBoxSetIndex(ListBox listBox, string value);
private delegate void delegateFormSetTitle(Form form, string value);
private delegate void delegateFormHide(Form form);
public FormDesktop desktop = null;
public string mTitle = "";
public GanTaData mGanTaData = null;
private IContainer components = null;
private Label label49;
private TextBox textBox_TaXing_GanTa;
private ListBox listBox_DiXing_GanTa;
private TextBox textBox_BLQ_C_GanTa;
private TextBox textBox_BLQ_A_GanTa;
private Label label6;
private TextBox textBox_JYZCD_GanTa;
private Label label11;
private TextBox textBox_BLXGD_GanTa;
private Label label10;
private TextBox textBox_BLZJ_R_GanTa;
private Label label9;
private TextBox textBox_BLZJ_L_GanTa;
private Label label8;
private TextBox textBox_HaiBa_GanTa;
private Label label15;
private TextBox textBox_DaHao_GanTa;
private Label label14;
private TextBox textBox_XiaoHao_GanTa;
private Label label13;
private TextBox textBox_WeiDu_GanTa;
private Label label4;
private TextBox textBox_DMQJ2_GanTa;
private Label label17;
private TextBox textBox_DMQJ1_GanTa;
private Label label16;
private TextBox textBox_JingDu_GanTa;
private Label label3;
private TextBox textBox_Model_GanTa;
private Label label2;
private TextBox textBox_Current_b_GanTa;
private TextBox textBox_Current_a_GanTa;
private Label label48;
private Label label47;
private TextBox textBox_1GD_Xia_GanTa;
private Label label22;
private TextBox textBox_1ZJ_Xia_GanTa;
private TextBox textBox_1GD_Shang_GanTa;
private Label label20;
private Label label21;
private TextBox textBox_1ZJ_Shang_GanTa;
private Label label18;
private TextBox textBox_ID_GanTa;
private Label label1;
private TextBox textBox_DSMD_GanTa;
private Label label46;
private TextBox textBox_RaoJiFanJi_GanTa;
private Label label45;
private TextBox textBox_ZXNZ_GanTa;
private Label label44;
private TextBox textBox_HuGao_GanTa;
private Label label12;
private TextBox textBox_JDDZ_GanTa;
private Label label42;
private Label label7;
private Button buttonCancel;
private Button buttonOK;
public FormGanTa0zhiliu()
{
InitializeComponent();
}
private void FormGanTa0zhiliu_Load(object sender, EventArgs e)
{
mTitle = "编辑杆塔属性";
MyFormSetTitle(this, "");
textBox_ID_GanTa.ReadOnly = true;
if (mGanTaData == null)
{
mGanTaData = new GanTaData();
}
MyInput_GanTaData();
}
public void MyInput_GanTaData()
{
mGanTaData.CopyFrom_GanTaData(desktop.mTheGanTaData);
MyTextBoxSetText(textBox_ID_GanTa, mGanTaData.mID_GanTa ?? "");
MyTextBoxSetText(textBox_Model_GanTa, mGanTaData.mModel_GanTa ?? "");
MyTextBoxSetText(textBox_JingDu_GanTa, $"{mGanTaData.mJingDu_GanTa}");
MyTextBoxSetText(textBox_WeiDu_GanTa, $"{mGanTaData.mWeiDu_GanTa}");
MyTextBoxSetText(textBox_XiaoHao_GanTa, $"{mGanTaData.mXiaoHao_GanTa}");
MyTextBoxSetText(textBox_DaHao_GanTa, $"{mGanTaData.mDaHao_GanTa}");
MyTextBoxSetText(textBox_HaiBa_GanTa, $"{mGanTaData.mHaiBa_GanTa}");
MyTextBoxSetText(textBox_DMQJ1_GanTa, $"{mGanTaData.mDMQJ1_GanTa}");
MyTextBoxSetText(textBox_DMQJ2_GanTa, $"{mGanTaData.mDMQJ2_GanTa}");
MyTextBoxSetText(textBox_BLZJ_L_GanTa, $"{mGanTaData.mBLZJ_L_GanTa}");
MyTextBoxSetText(textBox_BLZJ_R_GanTa, $"{mGanTaData.mBLZJ_R_GanTa}");
MyTextBoxSetText(textBox_BLXGD_GanTa, $"{mGanTaData.mBLXGD_GanTa}");
MyTextBoxSetText(textBox_JYZCD_GanTa, $"{mGanTaData.mJYZCD_GanTa}");
MyTextBoxSetText(textBox_JDDZ_GanTa, $"{mGanTaData.mJDDZ_GanTa}");
MyTextBoxSetText(textBox_HuGao_GanTa, $"{mGanTaData.mHuGao_GanTa}");
MyTextBoxSetText(textBox_BLQ_A_GanTa, mGanTaData.mBLQ_A_GanTa ?? "");
MyTextBoxSetText(textBox_BLQ_C_GanTa, mGanTaData.mBLQ_C_GanTa ?? "");
MyTextBoxSetText(textBox_1ZJ_Shang_GanTa, $"{mGanTaData.m1ZJ_Shang_GanTa}");
MyTextBoxSetText(textBox_1ZJ_Xia_GanTa, $"{mGanTaData.m1ZJ_Xia_GanTa}");
MyTextBoxSetText(textBox_1GD_Shang_GanTa, $"{mGanTaData.m1GD_Shang_GanTa}");
MyTextBoxSetText(textBox_1GD_Xia_GanTa, $"{mGanTaData.m1GD_Xia_GanTa}");
MyListBoxSetIndex(listBox_DiXing_GanTa, mGanTaData.mDiXing_GanTa ?? "");
MyTextBoxSetText(textBox_ZXNZ_GanTa, mGanTaData.mZXNZ_GanTa ?? "");
MyTextBoxSetText(textBox_RaoJiFanJi_GanTa, $"{mGanTaData.mRaoJiFanJi_GanTa}");
MyTextBoxSetText(textBox_DSMD_GanTa, $"{mGanTaData.mDSMD_GanTa}");
MyTextBoxSetText(textBox_Current_a_GanTa, $"{mGanTaData.mCurrent_a_GanTa}");
MyTextBoxSetText(textBox_Current_b_GanTa, $"{mGanTaData.mCurrent_b_GanTa}");
MyTextBoxSetText(textBox_TaXing_GanTa, mGanTaData.mTaXing_GanTa ?? "");
}
public void Destroy()
{
mTitle = "";
mGanTaData = null;
}
private void buttonOK_Click(object sender, EventArgs e)
{
if (!MyInputIsRight())
{
MyFormSetTitle(this, "数据错误!!! 先修订,然后点击“确定”");
return;
}
Thread thread = new Thread(MyThreadOK);
thread.Start();
}
private void MyThreadOK()
{
try
{
desktop.mTheGanTaData.CopyFrom_GanTaData(mGanTaData);
base.DialogResult = DialogResult.OK;
MyFormHide(this);
}
catch (Exception ex)
{
MyLog.AddLog("FormGanTa0zhiliu.cs MyThreadOK() Exception=" + ex.Message);
}
}
private void buttonCancel_Click(object sender, EventArgs e)
{
Thread thread = new Thread(MyThreadCancel);
thread.Start();
}
private void MyThreadCancel()
{
try
{
base.DialogResult = DialogResult.Cancel;
MyFormHide(this);
}
catch (Exception ex)
{
MyLog.AddLog("FormGanTa0zhiliu.cs MyThreadCancel() Exception=" + ex.Message);
}
}
private bool MyInputIsRight()
{
bool result = false;
int num = 0;
double num2 = 0.0;
mGanTaData.mID_GanTa = textBox_ID_GanTa.Text.Trim();
mGanTaData.mModel_GanTa = textBox_Model_GanTa.Text.Trim();
try
{
num2 = Convert.ToDouble(textBox_JingDu_GanTa.Text.Trim());
mGanTaData.mJingDu_GanTa = num2;
}
catch (Exception)
{
textBox_JingDu_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_WeiDu_GanTa.Text.Trim());
mGanTaData.mWeiDu_GanTa = num2;
}
catch (Exception)
{
textBox_WeiDu_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_XiaoHao_GanTa.Text.Trim());
mGanTaData.mXiaoHao_GanTa = num2;
}
catch (Exception)
{
textBox_XiaoHao_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_DaHao_GanTa.Text.Trim());
mGanTaData.mDaHao_GanTa = num2;
}
catch (Exception)
{
textBox_DaHao_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_HaiBa_GanTa.Text.Trim());
mGanTaData.mHaiBa_GanTa = num2;
}
catch (Exception)
{
textBox_HaiBa_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_DMQJ1_GanTa.Text.Trim());
mGanTaData.mDMQJ1_GanTa = num2;
}
catch (Exception)
{
textBox_DMQJ1_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_DMQJ2_GanTa.Text.Trim());
mGanTaData.mDMQJ2_GanTa = num2;
}
catch (Exception)
{
textBox_DMQJ2_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_BLZJ_L_GanTa.Text.Trim());
mGanTaData.mBLZJ_L_GanTa = num2;
}
catch (Exception)
{
textBox_BLZJ_L_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_BLZJ_R_GanTa.Text.Trim());
mGanTaData.mBLZJ_R_GanTa = num2;
}
catch (Exception)
{
textBox_BLZJ_R_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_BLXGD_GanTa.Text.Trim());
mGanTaData.mBLXGD_GanTa = num2;
}
catch (Exception)
{
textBox_BLXGD_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_JYZCD_GanTa.Text.Trim());
mGanTaData.mJYZCD_GanTa = num2;
}
catch (Exception)
{
textBox_JYZCD_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_JDDZ_GanTa.Text.Trim());
mGanTaData.mJDDZ_GanTa = num2;
}
catch (Exception)
{
textBox_JDDZ_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_HuGao_GanTa.Text.Trim());
mGanTaData.mHuGao_GanTa = num2;
}
catch (Exception)
{
textBox_HuGao_GanTa.Focus();
return result;
}
mGanTaData.mBLQ_A_GanTa = textBox_BLQ_A_GanTa.Text.Trim();
mGanTaData.mBLQ_C_GanTa = textBox_BLQ_C_GanTa.Text.Trim();
try
{
num2 = Convert.ToDouble(textBox_1ZJ_Shang_GanTa.Text.Trim());
mGanTaData.m1ZJ_Shang_GanTa = num2;
}
catch (Exception)
{
textBox_1ZJ_Shang_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_1ZJ_Xia_GanTa.Text.Trim());
mGanTaData.m1ZJ_Xia_GanTa = num2;
}
catch (Exception)
{
textBox_1ZJ_Xia_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_1GD_Shang_GanTa.Text.Trim());
mGanTaData.m1GD_Shang_GanTa = num2;
}
catch (Exception)
{
textBox_1GD_Shang_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_1GD_Xia_GanTa.Text.Trim());
mGanTaData.m1GD_Xia_GanTa = num2;
}
catch (Exception)
{
textBox_1GD_Xia_GanTa.Focus();
return result;
}
mGanTaData.mDiXing_GanTa = listBox_DiXing_GanTa.SelectedItem.ToString().Trim();
mGanTaData.mZXNZ_GanTa = textBox_ZXNZ_GanTa.Text.Trim();
try
{
num = Convert.ToInt32(textBox_RaoJiFanJi_GanTa.Text.Trim());
mGanTaData.mRaoJiFanJi_GanTa = num;
}
catch (Exception)
{
textBox_RaoJiFanJi_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_DSMD_GanTa.Text.Trim());
mGanTaData.mDSMD_GanTa = num2;
}
catch (Exception)
{
textBox_DSMD_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_Current_a_GanTa.Text.Trim());
mGanTaData.mCurrent_a_GanTa = num2;
}
catch (Exception)
{
textBox_Current_a_GanTa.Focus();
return result;
}
try
{
num2 = Convert.ToDouble(textBox_Current_b_GanTa.Text.Trim());
mGanTaData.mCurrent_b_GanTa = num2;
}
catch (Exception)
{
textBox_Current_b_GanTa.Focus();
return result;
}
mGanTaData.mTaXing_GanTa = textBox_TaXing_GanTa.Text.Trim();
return true;
}
public void MyTextBoxSetText(TextBox textBox, string value)
{
if (textBox.InvokeRequired)
{
delegateTextBoxSetText method = MyTextBoxSetText;
textBox.Invoke(method, textBox, value);
}
else
{
textBox.Text = value;
}
}
public void MyListBoxSetIndex(ListBox listBox, string value)
{
if (listBox.InvokeRequired)
{
delegateListBoxSetIndex method = MyListBoxSetIndex;
listBox.Invoke(method, listBox, value);
}
else if (string.IsNullOrEmpty(value))
{
listBox.SelectedIndex = 0;
}
else if (value.Equals("平原"))
{
listBox.SelectedIndex = 0;
}
else if (value.Equals("山区"))
{
listBox.SelectedIndex = 1;
}
else
{
listBox.SelectedIndex = 0;
}
}
public void MyFormSetTitle(Form form, string value)
{
if (form.InvokeRequired)
{
delegateFormSetTitle method = MyFormSetTitle;
form.Invoke(method, form, value);
return;
}
if (string.IsNullOrEmpty(value))
{
form.Text = mTitle;
}
if (!string.IsNullOrEmpty(value))
{
form.Text = mTitle + " —— " + value;
}
}
public void MyFormHide(Form form)
{
try
{
if (form.InvokeRequired)
{
delegateFormHide method = MyFormHide;
form.Invoke(method, form);
}
else
{
form.Hide();
}
}
catch (Exception)
{
}
}
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.label49 = new System.Windows.Forms.Label();
this.textBox_TaXing_GanTa = new System.Windows.Forms.TextBox();
this.listBox_DiXing_GanTa = new System.Windows.Forms.ListBox();
this.textBox_BLQ_C_GanTa = new System.Windows.Forms.TextBox();
this.textBox_BLQ_A_GanTa = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.textBox_JYZCD_GanTa = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.textBox_BLXGD_GanTa = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.textBox_BLZJ_R_GanTa = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.textBox_BLZJ_L_GanTa = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.textBox_HaiBa_GanTa = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.textBox_DaHao_GanTa = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.textBox_XiaoHao_GanTa = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.textBox_WeiDu_GanTa = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.textBox_DMQJ2_GanTa = new System.Windows.Forms.TextBox();
this.label17 = new System.Windows.Forms.Label();
this.textBox_DMQJ1_GanTa = new System.Windows.Forms.TextBox();
this.label16 = new System.Windows.Forms.Label();
this.textBox_JingDu_GanTa = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.textBox_Model_GanTa = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.textBox_Current_b_GanTa = new System.Windows.Forms.TextBox();
this.textBox_Current_a_GanTa = new System.Windows.Forms.TextBox();
this.label48 = new System.Windows.Forms.Label();
this.label47 = new System.Windows.Forms.Label();
this.textBox_1GD_Xia_GanTa = new System.Windows.Forms.TextBox();
this.label22 = new System.Windows.Forms.Label();
this.textBox_1ZJ_Xia_GanTa = new System.Windows.Forms.TextBox();
this.textBox_1GD_Shang_GanTa = new System.Windows.Forms.TextBox();
this.label20 = new System.Windows.Forms.Label();
this.label21 = new System.Windows.Forms.Label();
this.textBox_1ZJ_Shang_GanTa = new System.Windows.Forms.TextBox();
this.label18 = new System.Windows.Forms.Label();
this.textBox_ID_GanTa = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.textBox_DSMD_GanTa = new System.Windows.Forms.TextBox();
this.label46 = new System.Windows.Forms.Label();
this.textBox_RaoJiFanJi_GanTa = new System.Windows.Forms.TextBox();
this.label45 = new System.Windows.Forms.Label();
this.textBox_ZXNZ_GanTa = new System.Windows.Forms.TextBox();
this.label44 = new System.Windows.Forms.Label();
this.textBox_HuGao_GanTa = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.textBox_JDDZ_GanTa = new System.Windows.Forms.TextBox();
this.label42 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.buttonCancel = new System.Windows.Forms.Button();
this.buttonOK = new System.Windows.Forms.Button();
base.SuspendLayout();
this.label49.AutoSize = true;
this.label49.Location = new System.Drawing.Point(238, 384);
this.label49.Name = "label49";
this.label49.Size = new System.Drawing.Size(29, 12);
this.label49.TabIndex = 184;
this.label49.Text = "塔型";
this.textBox_TaXing_GanTa.Location = new System.Drawing.Point(241, 399);
this.textBox_TaXing_GanTa.Name = "textBox_TaXing_GanTa";
this.textBox_TaXing_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_TaXing_GanTa.TabIndex = 140;
this.listBox_DiXing_GanTa.FormattingEnabled = true;
this.listBox_DiXing_GanTa.ItemHeight = 12;
this.listBox_DiXing_GanTa.Items.AddRange(new object[2] { "平原", "山区" });
this.listBox_DiXing_GanTa.Location = new System.Drawing.Point(448, 43);
this.listBox_DiXing_GanTa.Name = "listBox_DiXing_GanTa";
this.listBox_DiXing_GanTa.Size = new System.Drawing.Size(160, 16);
this.listBox_DiXing_GanTa.TabIndex = 141;
this.textBox_BLQ_C_GanTa.Location = new System.Drawing.Point(302, 85);
this.textBox_BLQ_C_GanTa.Name = "textBox_BLQ_C_GanTa";
this.textBox_BLQ_C_GanTa.Size = new System.Drawing.Size(31, 21);
this.textBox_BLQ_C_GanTa.TabIndex = 133;
this.textBox_BLQ_A_GanTa.Location = new System.Drawing.Point(240, 85);
this.textBox_BLQ_A_GanTa.Name = "textBox_BLQ_A_GanTa";
this.textBox_BLQ_A_GanTa.Size = new System.Drawing.Size(31, 21);
this.textBox_BLQ_A_GanTa.TabIndex = 131;
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(240, 70);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(149, 12);
this.label6.TabIndex = 178;
this.label6.Text = "左相 右相 是否安装避雷器";
this.textBox_JYZCD_GanTa.Location = new System.Drawing.Point(26, 482);
this.textBox_JYZCD_GanTa.Name = "textBox_JYZCD_GanTa";
this.textBox_JYZCD_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_JYZCD_GanTa.TabIndex = 129;
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(26, 467);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(101, 12);
this.label11.TabIndex = 177;
this.label11.Text = "绝缘子串长度(mm)";
this.textBox_BLXGD_GanTa.Location = new System.Drawing.Point(26, 439);
this.textBox_BLXGD_GanTa.Name = "textBox_BLXGD_GanTa";
this.textBox_BLXGD_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_BLXGD_GanTa.TabIndex = 128;
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(26, 424);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(83, 12);
this.label10.TabIndex = 175;
this.label10.Text = "避雷线高度(m)";
this.textBox_BLZJ_R_GanTa.Location = new System.Drawing.Point(26, 395);
this.textBox_BLZJ_R_GanTa.Name = "textBox_BLZJ_R_GanTa";
this.textBox_BLZJ_R_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_BLZJ_R_GanTa.TabIndex = 127;
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(26, 380);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(83, 12);
this.label9.TabIndex = 173;
this.label9.Text = "右避雷中距(m)";
this.textBox_BLZJ_L_GanTa.Location = new System.Drawing.Point(26, 354);
this.textBox_BLZJ_L_GanTa.Name = "textBox_BLZJ_L_GanTa";
this.textBox_BLZJ_L_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_BLZJ_L_GanTa.TabIndex = 126;
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(26, 339);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(83, 12);
this.label8.TabIndex = 172;
this.label8.Text = "左避雷中距(m)";
this.textBox_HaiBa_GanTa.Location = new System.Drawing.Point(26, 306);
this.textBox_HaiBa_GanTa.Name = "textBox_HaiBa_GanTa";
this.textBox_HaiBa_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_HaiBa_GanTa.TabIndex = 125;
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(26, 291);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(71, 12);
this.label15.TabIndex = 170;
this.label15.Text = "海拔高度(m)";
this.textBox_DaHao_GanTa.Location = new System.Drawing.Point(26, 264);
this.textBox_DaHao_GanTa.Name = "textBox_DaHao_GanTa";
this.textBox_DaHao_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_DaHao_GanTa.TabIndex = 124;
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(26, 249);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(83, 12);
this.label14.TabIndex = 183;
this.label14.Text = "大号侧档距(m)";
this.textBox_XiaoHao_GanTa.Location = new System.Drawing.Point(26, 220);
this.textBox_XiaoHao_GanTa.Name = "textBox_XiaoHao_GanTa";
this.textBox_XiaoHao_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_XiaoHao_GanTa.TabIndex = 123;
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(26, 205);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(83, 12);
this.label13.TabIndex = 171;
this.label13.Text = "小号侧档距(m)";
this.textBox_WeiDu_GanTa.Location = new System.Drawing.Point(26, 176);
this.textBox_WeiDu_GanTa.Name = "textBox_WeiDu_GanTa";
this.textBox_WeiDu_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_WeiDu_GanTa.TabIndex = 122;
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(26, 161);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 12);
this.label4.TabIndex = 174;
this.label4.Text = "纬度(°)";
this.textBox_DMQJ2_GanTa.Location = new System.Drawing.Point(447, 485);
this.textBox_DMQJ2_GanTa.Name = "textBox_DMQJ2_GanTa";
this.textBox_DMQJ2_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_DMQJ2_GanTa.TabIndex = 151;
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(447, 470);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(83, 12);
this.label17.TabIndex = 176;
this.label17.Text = "地面倾角2(°)";
this.textBox_DMQJ1_GanTa.Location = new System.Drawing.Point(447, 444);
this.textBox_DMQJ1_GanTa.Name = "textBox_DMQJ1_GanTa";
this.textBox_DMQJ1_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_DMQJ1_GanTa.TabIndex = 150;
this.label16.AutoSize = true;
this.label16.Location = new System.Drawing.Point(447, 429);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(83, 12);
this.label16.TabIndex = 179;
this.label16.Text = "地面倾角1(°)";
this.textBox_JingDu_GanTa.Location = new System.Drawing.Point(26, 131);
this.textBox_JingDu_GanTa.Name = "textBox_JingDu_GanTa";
this.textBox_JingDu_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_JingDu_GanTa.TabIndex = 121;
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(26, 116);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 180;
this.label3.Text = "经度(°)";
this.textBox_Model_GanTa.Location = new System.Drawing.Point(26, 84);
this.textBox_Model_GanTa.Name = "textBox_Model_GanTa";
this.textBox_Model_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_Model_GanTa.TabIndex = 120;
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(26, 69);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 181;
this.label2.Text = "杆塔模型";
this.textBox_Current_b_GanTa.Location = new System.Drawing.Point(447, 399);
this.textBox_Current_b_GanTa.Name = "textBox_Current_b_GanTa";
this.textBox_Current_b_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_Current_b_GanTa.TabIndex = 149;
this.textBox_Current_a_GanTa.Location = new System.Drawing.Point(447, 354);
this.textBox_Current_a_GanTa.Name = "textBox_Current_a_GanTa";
this.textBox_Current_a_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_Current_a_GanTa.TabIndex = 148;
this.label48.AutoSize = true;
this.label48.Location = new System.Drawing.Point(447, 384);
this.label48.Name = "label48";
this.label48.Size = new System.Drawing.Size(71, 12);
this.label48.TabIndex = 163;
this.label48.Text = "雷电流幅值b";
this.label47.AutoSize = true;
this.label47.Location = new System.Drawing.Point(447, 339);
this.label47.Name = "label47";
this.label47.Size = new System.Drawing.Size(71, 12);
this.label47.TabIndex = 162;
this.label47.Text = "雷电流幅值a";
this.textBox_1GD_Xia_GanTa.Location = new System.Drawing.Point(240, 356);
this.textBox_1GD_Xia_GanTa.Name = "textBox_1GD_Xia_GanTa";
this.textBox_1GD_Xia_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_1GD_Xia_GanTa.TabIndex = 139;
this.label22.AutoSize = true;
this.label22.Location = new System.Drawing.Point(240, 341);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(95, 12);
this.label22.TabIndex = 169;
this.label22.Text = "右相导线高度(m)";
this.textBox_1ZJ_Xia_GanTa.Location = new System.Drawing.Point(240, 221);
this.textBox_1ZJ_Xia_GanTa.Name = "textBox_1ZJ_Xia_GanTa";
this.textBox_1ZJ_Xia_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_1ZJ_Xia_GanTa.TabIndex = 136;
this.textBox_1GD_Shang_GanTa.Location = new System.Drawing.Point(241, 306);
this.textBox_1GD_Shang_GanTa.Name = "textBox_1GD_Shang_GanTa";
this.textBox_1GD_Shang_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_1GD_Shang_GanTa.TabIndex = 137;
this.label20.AutoSize = true;
this.label20.Location = new System.Drawing.Point(240, 206);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(95, 12);
this.label20.TabIndex = 165;
this.label20.Text = "右相导线中距(m)";
this.label21.AutoSize = true;
this.label21.Location = new System.Drawing.Point(240, 291);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(95, 12);
this.label21.TabIndex = 166;
this.label21.Text = "左相导线高度(m)";
this.textBox_1ZJ_Shang_GanTa.Location = new System.Drawing.Point(240, 176);
this.textBox_1ZJ_Shang_GanTa.Name = "textBox_1ZJ_Shang_GanTa";
this.textBox_1ZJ_Shang_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_1ZJ_Shang_GanTa.TabIndex = 134;
this.label18.AutoSize = true;
this.label18.Location = new System.Drawing.Point(238, 161);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(95, 12);
this.label18.TabIndex = 167;
this.label18.Text = "左相导线中距(m)";
this.textBox_ID_GanTa.Location = new System.Drawing.Point(26, 38);
this.textBox_ID_GanTa.Name = "textBox_ID_GanTa";
this.textBox_ID_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_ID_GanTa.TabIndex = 119;
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(26, 23);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 168;
this.label1.Text = "杆塔编号";
this.textBox_DSMD_GanTa.Location = new System.Drawing.Point(448, 309);
this.textBox_DSMD_GanTa.Name = "textBox_DSMD_GanTa";
this.textBox_DSMD_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_DSMD_GanTa.TabIndex = 147;
this.label46.AutoSize = true;
this.label46.Location = new System.Drawing.Point(446, 294);
this.label46.Name = "label46";
this.label46.Size = new System.Drawing.Size(137, 12);
this.label46.TabIndex = 159;
this.label46.Text = "地闪密度(次/(km^2*年))";
this.textBox_RaoJiFanJi_GanTa.Location = new System.Drawing.Point(447, 263);
this.textBox_RaoJiFanJi_GanTa.Name = "textBox_RaoJiFanJi_GanTa";
this.textBox_RaoJiFanJi_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_RaoJiFanJi_GanTa.TabIndex = 146;
this.label45.AutoSize = true;
this.label45.Location = new System.Drawing.Point(447, 248);
this.label45.Name = "label45";
this.label45.Size = new System.Drawing.Size(53, 12);
this.label45.TabIndex = 158;
this.label45.Text = "绕击反击";
this.textBox_ZXNZ_GanTa.Location = new System.Drawing.Point(448, 218);
this.textBox_ZXNZ_GanTa.Name = "textBox_ZXNZ_GanTa";
this.textBox_ZXNZ_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_ZXNZ_GanTa.TabIndex = 145;
this.label44.AutoSize = true;
this.label44.Location = new System.Drawing.Point(448, 203);
this.label44.Name = "label44";
this.label44.Size = new System.Drawing.Size(89, 12);
this.label44.TabIndex = 157;
this.label44.Text = "直线或耐张杆塔";
this.textBox_HuGao_GanTa.Location = new System.Drawing.Point(448, 128);
this.textBox_HuGao_GanTa.Name = "textBox_HuGao_GanTa";
this.textBox_HuGao_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_HuGao_GanTa.TabIndex = 143;
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(448, 113);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(71, 12);
this.label12.TabIndex = 155;
this.label12.Text = "杆塔呼高(m)";
this.textBox_JDDZ_GanTa.Location = new System.Drawing.Point(448, 83);
this.textBox_JDDZ_GanTa.Name = "textBox_JDDZ_GanTa";
this.textBox_JDDZ_GanTa.Size = new System.Drawing.Size(161, 21);
this.textBox_JDDZ_GanTa.TabIndex = 142;
this.label42.AutoSize = true;
this.label42.Location = new System.Drawing.Point(448, 23);
this.label42.Name = "label42";
this.label42.Size = new System.Drawing.Size(29, 12);
this.label42.TabIndex = 160;
this.label42.Text = "地形";
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(448, 69);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(77, 12);
this.label7.TabIndex = 154;
this.label7.Text = "接地电阻(Ω)";
this.buttonCancel.Location = new System.Drawing.Point(500, 522);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(108, 28);
this.buttonCancel.TabIndex = 153;
this.buttonCancel.Text = "取消";
this.buttonCancel.UseVisualStyleBackColor = true;
this.buttonCancel.Click += new System.EventHandler(buttonCancel_Click);
this.buttonOK.Location = new System.Drawing.Point(355, 522);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(108, 28);
this.buttonOK.TabIndex = 152;
this.buttonOK.Text = "确定";
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(buttonOK_Click);
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.ClientSize = new System.Drawing.Size(635, 573);
base.Controls.Add(this.label49);
base.Controls.Add(this.textBox_TaXing_GanTa);
base.Controls.Add(this.listBox_DiXing_GanTa);
base.Controls.Add(this.textBox_BLQ_C_GanTa);
base.Controls.Add(this.textBox_BLQ_A_GanTa);
base.Controls.Add(this.label6);
base.Controls.Add(this.textBox_JYZCD_GanTa);
base.Controls.Add(this.label11);
base.Controls.Add(this.textBox_BLXGD_GanTa);
base.Controls.Add(this.label10);
base.Controls.Add(this.textBox_BLZJ_R_GanTa);
base.Controls.Add(this.label9);
base.Controls.Add(this.textBox_BLZJ_L_GanTa);
base.Controls.Add(this.label8);
base.Controls.Add(this.textBox_HaiBa_GanTa);
base.Controls.Add(this.label15);
base.Controls.Add(this.textBox_DaHao_GanTa);
base.Controls.Add(this.label14);
base.Controls.Add(this.textBox_XiaoHao_GanTa);
base.Controls.Add(this.label13);
base.Controls.Add(this.textBox_WeiDu_GanTa);
base.Controls.Add(this.label4);
base.Controls.Add(this.textBox_DMQJ2_GanTa);
base.Controls.Add(this.label17);
base.Controls.Add(this.textBox_DMQJ1_GanTa);
base.Controls.Add(this.label16);
base.Controls.Add(this.textBox_JingDu_GanTa);
base.Controls.Add(this.label3);
base.Controls.Add(this.textBox_Model_GanTa);
base.Controls.Add(this.label2);
base.Controls.Add(this.textBox_Current_b_GanTa);
base.Controls.Add(this.textBox_Current_a_GanTa);
base.Controls.Add(this.label48);
base.Controls.Add(this.label47);
base.Controls.Add(this.textBox_1GD_Xia_GanTa);
base.Controls.Add(this.label22);
base.Controls.Add(this.textBox_1ZJ_Xia_GanTa);
base.Controls.Add(this.textBox_1GD_Shang_GanTa);
base.Controls.Add(this.label20);
base.Controls.Add(this.label21);
base.Controls.Add(this.textBox_1ZJ_Shang_GanTa);
base.Controls.Add(this.label18);
base.Controls.Add(this.textBox_ID_GanTa);
base.Controls.Add(this.label1);
base.Controls.Add(this.textBox_DSMD_GanTa);
base.Controls.Add(this.label46);
base.Controls.Add(this.textBox_RaoJiFanJi_GanTa);
base.Controls.Add(this.label45);
base.Controls.Add(this.textBox_ZXNZ_GanTa);
base.Controls.Add(this.label44);
base.Controls.Add(this.textBox_HuGao_GanTa);
base.Controls.Add(this.label12);
base.Controls.Add(this.textBox_JDDZ_GanTa);
base.Controls.Add(this.label42);
base.Controls.Add(this.label7);
base.Controls.Add(this.buttonCancel);
base.Controls.Add(this.buttonOK);
base.Name = "FormGanTa0zhiliu";
base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "FormGanTa0zhiliu";
base.Load += new System.EventHandler(FormGanTa0zhiliu_Load);
base.ResumeLayout(false);
base.PerformLayout();
}
}