特殊数据管理器

我要开发同款
徐宇华2023年05月02日
88阅读
所属分类C#、控制台、效果表达、逻辑性渲染

作品详情

//这是程序功能主体函数。。。。
static void Main(string[] args)
{
Program pro = new Program();
uint n, i, j, k, d;
Boolean _true = true;
Class1_ZaiHaidentro.nGitter_Froms_upTeeoir();
Class2_DianQiChandle.nGitter_Froms_upTeeoir();
Class3_DiLivverLarrty.nGitter_Froms_upTeeoir();
do {
Console.Clear();
n = Program.gPrint_strControl_tent_fLine();
pro.str_ConTent_scap = Program.GetControl_Cap();
//Console.ReadLine();
switch (pro.nCon_trol_tent_cipu())
{
case 1:
i = Program.gPrint_str1AControl_fLine();
pro.cGet_TextCup_tap();
//Console.WriteLine(i);
//Console.ReadLine();
switch (pro.nCon_1Astrol_tentcopu())
{
case 1:
i = 0;
string[] str_capTuuouir_ebiear = new string[7] {
"录用标识:",
"冻雨量(mm/h):","冰灾初始位置(坐标):","冰灾移动路径角度:",
"冰灾移动速度(km/h):","冰灾持续时间(h):","环境最大风速(m/s)"
};
string[] str_caTeeairb = new string[7];
foreach (string str in str_capTuuouir_ebiear)
{
Console.WriteLine(str);
str_caTeeairb[i++] = Console.ReadLine();
}
Class1_ZaiHaidentro cls1_obj = new Class1_ZaiHaidentro();
cls1_obj.str_Name_pirde = str_caTeeairb[0];
cls1_obj.ndong_YLiang = Convert.ToInt32(str_caTeeairb[1]);
cls1_obj.ndong_Zai_ChuchiWz = Convert.ToInt32(str_caTeeairb[2]);
cls1_obj.ndong_YiDongLJjiaodu = Convert.ToInt32(str_caTeeairb[3]);
cls1_obj.ndong_zaiYDongSdu = Convert.ToInt32(str_caTeeairb[4]);
cls1_obj.ndong_zaiCXuSjian_s = Convert.ToInt32(str_caTeeairb[5]);
cls1_obj.ndong_HJing_ZDaFengShu_ms = Convert.ToInt32(str_caTeeairb[6]);
cls1_obj.nLiv_Class1_GitterSender();
Console.WriteLine("已经录入_请决定是否撤销( T or _F__ ):");
if (Console.ReadLine() == "T")
{
cls1_obj.nClear_reMover_thisCandent();
}
break;
case 2:
j = 0;
string[] str_capTuuouir_ebiear2 = new string[13] {
"录用标识:",
"节点类型:","负荷情况:","电压等级:","电压允许范围:",
"线路阻抗:","线路所选节点","线路导纳",
"发动机初始运作状态:",
"有功出力:上限:","有功出力:下限:",
"无功出力:上限:","无功出力:下限:"
};
string[] str_caTeeairb_2 = new string[13];
foreach (string str in str_capTuuouir_ebiear2)
{
Console.WriteLine(str);
str_caTeeairb_2[j++] = Console.ReadLine();
}
Class2_DianQiChandle cls2_obj = new Class2_DianQiChandle();
cls2_obj.str_Name_pirde = str_caTeeairb_2[0];
cls2_obj.jd_JDLeixing_clst = Convert.ToInt32(str_caTeeairb_2[1]);
cls2_obj.jd_FHQingKuan_qty = Convert.ToInt32(str_caTeeairb_2[2]);
cls2_obj.jd_DYDengji_tlv = Convert.ToInt32(str_caTeeairb_2[3]);
cls2_obj.jd_DYFanwei_twy = Convert.ToInt32(str_caTeeairb_2[4]);
cls2_obj.xl_ZKang_qk = Convert.ToInt32(str_caTeeairb_2[5]);
cls2_obj.xl_SLJieDian_qk = Convert.ToInt32(str_caTeeairb_2[6]);
cls2_obj.xl_Ddaona_qk = Convert.ToInt32(str_caTeeairb_2[7]);
cls2_obj.fdj_YXZhuangkuang = Convert.ToInt32(str_caTeeairb_2[8]);
cls2_obj.fdj_YGChuli_sx = Convert.ToInt32(str_caTeeairb_2[9]);
cls2_obj.fdj_YGChuli_xx = Convert.ToInt32(str_caTeeairb_2[10]);
cls2_obj.fdj_WGChuli_sx = Convert.ToInt32(str_caTeeairb_2[11]);
cls2_obj.fdj_WGChuli_xx = Convert.ToInt32(str_caTeeairb_2[12]);
cls2_obj.nLiv_Class2_GitterSender();
Console.WriteLine("已经录入_请决定是否撤销( T or _F__ ):");
if (Console.ReadLine() == "T")
{
cls2_obj.nClear_reMover_thisCandent();
}
break;
case 3:
k = 0;
string[] str_capTuuouir_ebiear3 = new string[7] {
"录用标识:",
"第一对_x_X:","第一对_y_Y:",
"第二对_x_X:","第二对_y_Y:",
"第三对_x_X:","第三对_y_Y:"
};
string[] str_caTeeairb3 = new string[7];
foreach (string str in str_capTuuouir_ebiear3)
{
Console.WriteLine(str);
str_caTeeairb3[k++] = Console.ReadLine();
}
Class3_DiLivverLarrty cls3_obj = new Class3_DiLivverLarrty();
cls3_obj.str_Name_pirde = str_caTeeairb3[0];
cls3_obj.pfroms_xy001.p_Xont = Convert.ToInt32(str_caTeeairb3[1]);
cls3_obj.pfroms_xy001.p_Yont = Convert.ToInt32(str_caTeeairb3[2]);
cls3_obj.pfroms_xy002.p_Xont = Convert.ToInt32(str_caTeeairb3[3]);
cls3_obj.pfroms_xy002.p_Yont = Convert.ToInt32(str_caTeeairb3[4]);
cls3_obj.pfroms_xy003.p_Xont = Convert.ToInt32(str_caTeeairb3[5]);
cls3_obj.pfroms_xy003.p_Yont = Convert.ToInt32(str_caTeeairb3[6]);
cls3_obj.nLiv_Class3_GitterSender();
Console.WriteLine("已经录入_请决定是否撤销( T or _F__ ):");
if (Console.ReadLine() == "T")
{
cls3_obj.nClear_reMover_thisCandent();
}
break;
default:
break;
}
break;
case 2:
j = Program.gPrint_str2BContent_fLine();
Program.GetControl_Cap();
break;
case 3:
k = Program.gPrint_str3C_Content_fLine();
Program.GetControl_Cap();
break;
case 4:
d = Program.gPrint_str4D_tent_fLine();
Program.GetControl_Cap();
break;
default:
Class1_ZaiHaidentro.nSender_AToorinm_ent();
Class2_DianQiChandle.nSender_AToorinm_ent();
Class3_DiLivverLarrty.nSender_AToorinm_ent();
_true = false;
break;
}
} while (_true);
Class1_ZaiHaidentro.nGitter_Contentar_end();
Class2_DianQiChandle.nGitter_Contentar_end();
Class3_DiLivverLarrty.nGitter_Contentar_end();
Console.ReadLine();
return ;
}
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论