/** * 点击停止 * */ public List <Setting_Model> StopData() { List <Setting_Model> data = new List <Setting_Model>(); Setting_Model temp_data = new Setting_Model(); /*电机转速-1*/ /*下位机返回*/ temp_data.Name = "stop_round_speed"; temp_data.Value = stop_round_speed_TextBox.Text; temp_data.Command = "0027"; data.Add(temp_data); /*目标轨压-1*/ /*下位机返回*/ temp_data.Name = "stop_rail_pressure"; temp_data.Value = stop_rail_pressure_TextBox.Text; temp_data.Command = "0028"; data.Add(temp_data); /*目标机油压力-1*/ /*下位机返回*/ temp_data.Name = "stop_oil_pressure"; temp_data.Value = stop_oil_pressure_TextBox.Text; temp_data.Command = "0039"; data.Add(temp_data); STOP_DATA = data; return(data); }
public List <Setting_Model> GetData() { List <Setting_Model> data = new List <Setting_Model>(); Setting_Model temp_data = new Setting_Model(); /*系统状态2-1*/ /*下位机返回*/ temp_data.Name = "sys_status"; temp_data.Value = null; data.Add(temp_data); return(data); }
public List <Setting_Model> GetDataFromPage() { /*与列表匹配获取里面的数据*/ List <Setting_Model> data = new List <Setting_Model>(); Setting_Model temp_data = new Setting_Model(); /*机油P-0*/ temp_data.Name = "oil_p"; temp_data.Value = oil_P_TextBox.Text; temp_data.Command = "0004"; data.Add(temp_data); /*机油I-1*/ temp_data.Name = "oil_i"; temp_data.Value = oil_I_TextBox.Text; temp_data.Command = "0005"; data.Add(temp_data); /*机油D-2*/ temp_data.Name = "oil_d"; temp_data.Value = oil_D_TextBox.Text; temp_data.Command = "0006"; data.Add(temp_data); /*油箱温度-3*/ temp_data.Name = "tank_t"; temp_data.Value = oil_tank_T_Text.Text; temp_data.Command = "0008"; data.Add(temp_data); /*柴油轨压标定1-4*/ temp_data.Name = "fuel_1_pressure"; temp_data.Value = fuel_1_rail_pressure_TextBox.Text; temp_data.Command = "0319"; data.Add(temp_data); /*柴油轨压标定2-5*/ temp_data.Name = "fuel_2_pressure"; temp_data.Value = fuel_2_rail_pressure_TextBox.Text; temp_data.Command = "031A"; data.Add(temp_data); /*柴油轨压标定3-6*/ temp_data.Name = "fuel_3_pressure"; temp_data.Value = fuel_3_rail_pressure_TextBox.Text; temp_data.Command = "031B"; data.Add(temp_data); /*柴油轨压标定4-7*/ temp_data.Name = "fuel_4_pressure"; temp_data.Value = fuel_4_rail_pressure_TextBox.Text; temp_data.Command = "031C"; data.Add(temp_data); /*柴油轨压标定5-8*/ temp_data.Name = "fuel_5_pressure"; temp_data.Value = fuel_5_rail_pressure_TextBox.Text; temp_data.Command = "031D"; data.Add(temp_data); /*柴油轨压标定6-9*/ temp_data.Name = "fuel_6_pressure"; temp_data.Value = fuel_6_rail_pressure_TextBox.Text; temp_data.Command = "031E"; data.Add(temp_data); /*柴油轨压标定7-11*/ temp_data.Name = "fuel_7_pressure"; temp_data.Value = fuel_7_rail_pressure_TextBox.Text; temp_data.Command = "031F"; data.Add(temp_data); /*机油轨压标定1-11*/ temp_data.Name = "oil_1_pressure"; temp_data.Value = oil_1_rail_pressure_TextBox.Text; temp_data.Command = "0010"; data.Add(temp_data); /*机油轨压标定2-12*/ temp_data.Name = "oil_2_pressure"; temp_data.Value = oil_2_rail_pressure_TextBox.Text; data.Add(temp_data); temp_data.Command = "0011"; /*机油轨压标定3-13*/ temp_data.Name = "oil_3_pressure"; temp_data.Value = oil_3_rail_pressure_TextBox.Text; temp_data.Command = "0012"; data.Add(temp_data); /*机油轨压标定4-14*/ temp_data.Name = "oil_4_pressure"; temp_data.Value = oil_4_rail_pressure_TextBox.Text; temp_data.Command = "0013"; data.Add(temp_data); /*机油轨压标定5-15*/ temp_data.Name = "oil_5_pressure"; temp_data.Value = oil_5_rail_pressure_TextBox.Text; temp_data.Command = "0014"; data.Add(temp_data); /*轨压传感器切换-16*/ int temp_value; if (MPA_180.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Name = "rail_pressure_group"; temp_data.Value = temp_value.ToString(); temp_data.Command = "0015"; data.Add(temp_data); /*柴油目标温度-17*/ temp_data.Name = "RY_T"; temp_data.Value = RY_T_TextBox.Text; temp_data.Command = "0029"; data.Add(temp_data); /*机油目标温度-18*/ temp_data.Name = "JY_T"; temp_data.Value = JY_T_TextBox.Text; temp_data.Command = "002A"; data.Add(temp_data); /*柴油温度偏差-19*/ temp_data.Name = "RY_T_deviation"; temp_data.Value = RY_T_deviation_TextBox.Text; temp_data.Command = "0016"; data.Add(temp_data); /*机油温度偏差-20*/ temp_data.Name = "JY_T_deviation"; temp_data.Value = JY_T_deviation_TextBox.Text; temp_data.Command = "0017"; data.Add(temp_data); /*轨压控制P-21*/ temp_data.Name = "fuel_p"; temp_data.Value = fuel_P_TextBox.Text; temp_data.Command = "0023"; data.Add(temp_data); /*轨压控制I-22*/ temp_data.Name = "fuel_i"; temp_data.Value = fuel_I_TextBox.Text; temp_data.Command = "0024"; data.Add(temp_data); /*轨压控制D-23*/ temp_data.Name = "fuel_d"; temp_data.Value = fuel_D_TextBox.Text; temp_data.Command = "0025"; data.Add(temp_data); /*机油流量计K-24*/ temp_data.Name = "oil_flow_k"; temp_data.Value = Oilk_TextBox.Text; temp_data.Command = "003E"; data.Add(temp_data); /*油泵油量K-25*/ temp_data.Name = "pump_flow_k"; temp_data.Value = Pumpinjk_TextBox.Text; temp_data.Command = "0040"; data.Add(temp_data); /*泵喷油K-26*/ temp_data.Name = "pump_p_k"; temp_data.Value = PumpRek_TextBox.Text; temp_data.Command = "005D"; data.Add(temp_data); /*系统状态2-27*/ temp_data.Name = "sys_version"; temp_data.Value = Sys_version_TextBox.Text; temp_data.Command = "003C"; data.Add(temp_data); /*读取固件版本-28*/ temp_data.Name = "gu_version"; temp_data.Value = Gu_version_TextBox.Text; temp_data.Command = "005C"; data.Add(temp_data); /*0x30的指令*/ return(data); }
public void LoadConfig() { try { //iNumOfMainFram = 19;//MainFrame界面的配置条目数量 xmldocumentConfig.Load(strConfigFilePath); XmlNode nodeMainFrame = xmldocumentConfig.SelectSingleNode("Config"); #region//发动机信息、航海信息结构读取 int iTempNodeCout = nodeMainFrame.ChildNodes[0].ChildNodes.Count; for (int iFrameArry = 0; iFrameArry < llisstruRs485Frame.Length; iFrameArry++) { llisstruRs485Frame[iFrameArry] = new List <StructFrame485>(); } StructFrame485 struFrameData = new StructFrame485(); StructShowData struShowdata1 = new StructShowData(); Setting_Model struSettingMoelRead = new Setting_Model(); Setting_Model struSettingMoelWrite = new Setting_Model(); for (int i = 0; i < iTempNodeCout; i++) { struFrameData = new StructFrame485(); struShowdata1 = new StructShowData(); struSettingMoelRead = new Setting_Model(); struSettingMoelWrite = new Setting_Model(); //struFrameData.strTimeStamp = nodeMainFrame.ChildNodes[i].ChildNodes[0].InnerText; //struFrameData.strFirstByte = nodeMainFrame.ChildNodes[i].ChildNodes[0].InnerText; struFrameData.strFirstByte = "FE"; struFrameData.strReadOrWrite = nodeMainFrame.ChildNodes[i].ChildNodes[1].InnerText; //struFrameData.strBootLoader = nodeMainFrame.ChildNodes[i].ChildNodes[0].InnerText; struFrameData.strPageSelect = nodeMainFrame.ChildNodes[i].ChildNodes[2].InnerText; struFrameData.strOrder = Convert.ToInt32(nodeMainFrame.ChildNodes[i].ChildNodes[0].InnerText).ToString("X"); //struFrameData.strData = nodeMainFrame.ChildNodes[i].ChildNodes[0].InnerText; //struFrameData.strCheckSum = nodeMainFrame.ChildNodes[i].ChildNodes[0].InnerText; struFrameData.strSendTime = nodeMainFrame.ChildNodes[i].ChildNodes[3].InnerText; struFrameData.strChineseName = nodeMainFrame.ChildNodes[i].ChildNodes[4].InnerText; struFrameData.strFormat = nodeMainFrame.ChildNodes[i].ChildNodes[5].InnerText; struFrameData.strUnit = nodeMainFrame.ChildNodes[i].ChildNodes[6].InnerText; struFrameData.strResolution = nodeMainFrame.ChildNodes[i].ChildNodes[7].InnerText; struFrameData.strConvertMatherd = nodeMainFrame.ChildNodes[i].ChildNodes[8].InnerText; switch (nodeMainFrame.ChildNodes[i].ChildNodes[3].InnerText) { case "主/设置界面": llisstruRs485Frame[0].Add(struFrameData); break; case "数据库界面": llisstruRs485Frame[1].Add(struFrameData); break; case "检测界面": llisstruRs485Frame[2].Add(struFrameData); break; case "点启动按键": llisstruRs485Frame[3].Add(struFrameData); break; case "停止/急停": llisstruRs485Frame[4].Add(struFrameData); break; default: break; } struShowdata1.strData = nodeMainFrame.ChildNodes[i].ChildNodes[10].InnerText; struShowdata1.strOrderAndPageSelect = struFrameData.strPageSelect.PadLeft(2, '0') + struFrameData.strOrder.PadLeft(2, '0'); struShowdata1.strFormat = nodeMainFrame.ChildNodes[i].ChildNodes[5].InnerText; struShowdata1.strUnit = nodeMainFrame.ChildNodes[i].ChildNodes[6].InnerText; struShowdata1.strResolution = nodeMainFrame.ChildNodes[i].ChildNodes[7].InnerText; struShowdata1.strConvertMatherd = nodeMainFrame.ChildNodes[i].ChildNodes[8].InnerText; lisstruShowData.Add(struShowdata1); struSettingMoelRead.Name = nodeMainFrame.ChildNodes[i].ChildNodes[12].InnerText; struSettingMoelRead.Command = struShowdata1.strOrderAndPageSelect; struSettingMoelRead.strSendTime = struFrameData.strSendTime; lisstruSettingModelRead.Add(struSettingMoelRead); struSettingMoelWrite.Name = nodeMainFrame.ChildNodes[i].ChildNodes[12].InnerText; struSettingMoelWrite.Command = struShowdata1.strOrderAndPageSelect; struSettingMoelWrite.strSendTime = struFrameData.strSendTime; lisstruSettingModelWrite.Add(struSettingMoelWrite); //int iTempNodeCoutNMEA = nodeMainFrame.FirstChild.ChildNodes[iNumOfMainFram + 2].ChildNodes.Count - 1; #endregion } } catch (Exception e) { FunShow(e); } }
/** * 点击启动 * */ public List <Setting_Model> StartData() { List <Setting_Model> data = new List <Setting_Model>(); Setting_Model temp_data = new Setting_Model(); /*泵转向-0*/ temp_data.Name = "direction"; int temp_value; if (forward.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Value = temp_value.ToString(); temp_data.Command = "0001"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*泵转向03-1*/ temp_data.Name = "direction03"; if (forward.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Value = temp_value.ToString(); temp_data.Command = "0301"; temp_data.PageSelect = "0x30"; data.Add(temp_data); /*电机转速-2*/ /*从数据库来*/ temp_data.Name = "round_speed"; temp_data.Value = null; temp_data.Command = "0302"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*电机转速-3*/ /*从数据库来*/ temp_data.Name = "round_speed"; temp_data.Value = null; temp_data.Command = "0027"; temp_data.PageSelect = "0x30"; data.Add(temp_data); /*目标轨压-4*/ /*从数据库来*/ temp_data.Name = "rail_pressure"; temp_data.Value = null; temp_data.Command = "0028"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*喷油器1频率-5*/ /*从数据库来*/ temp_data.Name = "1_pinlv"; temp_data.Value = null; temp_data.Command = "010E"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*喷油器1脉宽-6*/ /*从数据库来*/ temp_data.Name = "1_pulse"; temp_data.Value = null; temp_data.Command = "010F"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*喷油器2频率-7*/ /*从数据库来*/ temp_data.Name = "2_pinlv"; temp_data.Value = null; temp_data.Command = "0121"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*喷油器2脉宽-8*/ /*从数据库来*/ temp_data.Name = "2_pulse"; temp_data.Value = null; temp_data.Command = "0122"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 喷油器油量系数-9*/ temp_data.Name = "flow_c2_r1"; temp_data.Value = null; temp_data.Command = "003F"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /* 喷油1使能-10*/ temp_data.Name = "penyou_1"; if (PenYou_1_ShiNeng.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Command = "0101"; temp_data.Value = temp_value.ToString(); temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 喷油2使能-11*/ temp_data.Name = "penyou_2"; if (PenYou_2_ShiNeng.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Value = temp_value.ToString(); temp_data.Command = "0102"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*柴油当前温度-12*/ /*下位机返回*/ temp_data.Name = "fuel_T"; temp_data.Value = show_fuel_T_TextBox.Text; temp_data.Command = "0032"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*喷油器流量-13*/ /*下位机返回*/ temp_data.Name = "inj_flow"; temp_data.Value = show_inj_flow_TextBox.Text; temp_data.Command = "0033"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*油泵流量-14*/ /*下位机返回*/ temp_data.Name = "pump_flow"; temp_data.Value = show_pump_flow_TextBox.Text; temp_data.Command = "0034"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*读取轨压-15*/ /*下位机返回*/ temp_data.Name = "read_pressure"; temp_data.Value = show_read_pressure_TextBox.Text; temp_data.Command = "0035"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*读取机油流量-16*/ /*下位机返回*/ temp_data.Name = "read_oil_flow"; temp_data.Value = show_read_oil_flow_TextBox.Text; temp_data.Command = "003A"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*系统状态1-17*/ /*下位机返回*/ temp_data.Name = "sys_status_1"; temp_data.Value = show_sys_status_1_TextBox.Text; temp_data.Command = "003B"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*系统状态2-18*/ /*下位机返回*/ temp_data.Name = "sys_status_2"; temp_data.Value = show_sys_status_2_TextBox.Text; temp_data.Command = "003C"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*读取机油压力-19*/ /*下位机返回*/ temp_data.Name = "read_oil_pressure"; temp_data.Value = show_read_oil_pressure_TextBox.Text; temp_data.Command = "003D"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*燃油压力电压EL-20*/ /*下位机返回*/ temp_data.Name = "el_fuel_V"; temp_data.Value = show_el_fuel_V_TextBox.Text; temp_data.Command = "002C"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*机油压力电压EL-21*/ /*下位机返回*/ temp_data.Name = "el_oil_V"; temp_data.Value = show_el_oil_V_TextBox.Text; temp_data.Command = "0051"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*燃油DRV电流EL-22*/ /*下位机返回*/ temp_data.Name = "el_fuel_drv"; temp_data.Value = show_el_fuel_drv_TextBox.Text; temp_data.Command = "0052"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*机油DRV电流EL-23*/ /*下位机返回*/ temp_data.Name = "el_oil_drv"; temp_data.Value = show_el_oil_drv_TextBox.Text; temp_data.Command = "0053"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*燃油流量计EL-24*/ /*下位机返回*/ temp_data.Name = "el_fuel_flow"; temp_data.Value = show_el_fuel_flow_TextBox.Text; temp_data.Command = "0054"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*机油流量计EL-25*/ /*下位机返回*/ temp_data.Name = "el_oil_flow"; temp_data.Value = show_el_oil_flow_TextBox.Text; temp_data.Command = "0055"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*喷油器驱动电压EL-26*/ /*下位机返回*/ temp_data.Name = "el_inj_drive_V"; temp_data.Value = show_el_inj_drive_V_TextBox.Text; temp_data.Command = "0056"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*喷油器电流EL-26*/ /*下位机返回*/ temp_data.Name = "el_inj_A"; temp_data.Value = show_el_inj_A_V_TextBox.Text; temp_data.Command = "0057"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*机油温度EL-26*/ /*下位机返回*/ temp_data.Name = "el_oil_T"; temp_data.Value = show_el_oil_T_V_TextBox.Text; temp_data.Command = "0058"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*回油温度EL-27*/ /*下位机返回*/ temp_data.Name = "el_oil_h"; temp_data.Value = show_el_oil_h_V_TextBox.Text; temp_data.Command = "0059"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /*机油温度-28*/ /*下位机返回*/ temp_data.Name = "oil_T"; temp_data.Value = show_oil_T_V_TextBox.Text; temp_data.Command = "005A"; temp_data.PageSelect = "0x00"; data.Add(temp_data); START_DATA = data; //为从曲线中获取值的变量赋值 SetDataFromCurve(GetDataFromCurve()); return(data); }
/** * 进入检测界面的数据 * */ public List <Setting_Model> IntoData() { List <Setting_Model> data = new List <Setting_Model>(); Setting_Model temp_data = new Setting_Model(); /* 测试类型-0*/ temp_data.Name = "test_type"; temp_data.Value = "1"; temp_data.Command = "0003"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /* 柴油加热使能-1*/ temp_data.Name = "fuel_heat"; int temp_value; if (fuel_heat_true.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Value = temp_data.ToString(); temp_data.Command = "0018"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /* 机油加热使能-2*/ temp_data.Name = "oil_heat"; if (oil_heat_false.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Value = temp_data.ToString(); temp_data.Command = "0019"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /* 上位机状态-3*/ temp_data.Name = "up_status"; /* 根据不同的进入方式改变*/ temp_data.Value = "1"; temp_data.Command = "0041"; temp_data.PageSelect = "0x00"; data.Add(temp_data); /* 喷油器类型-4*/ temp_data.Name = "injector_type"; temp_data.Value = "1"; temp_data.Command = "0100"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 驱动目标通道-5*/ temp_data.Name = "tongdao"; if (tongdao_1.IsChecked == true) { temp_value = 0; } else { temp_value = 1; } temp_data.Value = temp_value.ToString(); temp_data.Command = "0105"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 电磁喷油器升压电压-6*/ temp_data.Name = "v_TiSheng"; temp_data.Value = null; temp_data.Command = "0106"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 电磁喷油器脉宽最大值-7*/ temp_data.Name = "max_pulse"; temp_data.Value = max_pulse_TextBox.Text; temp_data.Command = "010D"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 电磁喷油器1开启时间1-8*/ temp_data.Name = "1_open_time_1"; temp_data.Value = "100"; temp_data.Command = "0110"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 电磁喷油器1开启时间2-9*/ /* 曲线数据库中持续吸动时间-开启时间1*/ temp_data.Name = "1_open_time_2"; temp_data.Value = null; temp_data.Command = "0111"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器1开启时间3-10*/ temp_data.Name = "1_open_time_3"; temp_data.Value = null; temp_data.Command = "0112"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器1开启电流1-11*/ /*曲线数据库--电流提升*/ temp_data.Name = "1_open_A_1"; temp_data.Value = null; temp_data.Command = "011D"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器1开启电流2-12*/ /*曲线数据库--电流吸动*/ temp_data.Name = "1_open_A_2"; temp_data.Value = null; temp_data.Command = "011E"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器1开启电流3-13*/ /*曲线数据库--电流保持*/ temp_data.Name = "1_open_A_3"; temp_data.Value = null; temp_data.Command = "011F"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 电磁喷油器2开启时间1-14*/ /*默认值*/ temp_data.Name = "2_open_time_1"; temp_data.Value = "100"; temp_data.Command = "0123"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 电磁喷油器2开启时间2-15*/ /* 曲线数据库中持续吸动时间-开启时间1*/ temp_data.Name = "2_open_time_2"; temp_data.Value = null; temp_data.Command = "0124"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器2开启时间3-16*/ /*2000-持续吸动时间*/ temp_data.Name = "2_open_time_3"; temp_data.Value = null; temp_data.Command = "0125"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器2开启电流1-17*/ /*曲线数据库--电流提升*/ temp_data.Name = "2_open_A_1"; temp_data.Value = null; temp_data.Command = "0127"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器2开启电流2-18*/ /*曲线数据库--电流吸动*/ temp_data.Name = "2_open_A_2"; temp_data.Value = null; temp_data.Command = "0128"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /*电磁喷油器2开启电流3-19*/ /*曲线数据库--电流保持*/ temp_data.Name = "2_open_A_3"; temp_data.Value = null; temp_data.Command = "0129"; temp_data.PageSelect = "0x10"; data.Add(temp_data); /* 测试类型03-20*/ temp_data.Name = "test_type"; temp_data.Value = "1"; temp_data.Command = "030C"; temp_data.PageSelect = "0x10"; data.Add(temp_data); INTO_DATA = data; return(data); }