private void init_csv(string carID) { vmas_csv = new CSVcontrol.CSVHelper(); vmas_csv.CreateCsv(@"C:\jcdatatxt\" + carID + ".csv"); vmas_csv.openCsv(); vmas_csv.writeField(1, 1, "全程时序"); vmas_csv.writeField(1, 2, "时序类别"); vmas_csv.writeField(1, 3, "采样时序"); vmas_csv.writeField(1, 4, "HC实时值"); vmas_csv.writeField(1, 5, "CO实时值"); vmas_csv.writeField(1, 6, "CO2实时值"); vmas_csv.writeField(1, 7, "NO实时值"); vmas_csv.writeField(1, 8, "环境O2浓度"); vmas_csv.writeField(1, 9, "分析仪O2实时值"); vmas_csv.writeField(1, 10, "流量计O2实时值"); vmas_csv.writeField(1, 11, "HC排放质量"); vmas_csv.writeField(1, 12, "CO排放质量"); vmas_csv.writeField(1, 13, "NO排放质量"); vmas_csv.writeField(1, 14, "标准时速"); vmas_csv.writeField(1, 15, "实时车速"); vmas_csv.writeField(1, 16, "加载功率"); vmas_csv.writeField(1, 17, "环境温度"); vmas_csv.writeField(1, 18, "相对湿度"); vmas_csv.writeField(1, 19, "大气压力"); vmas_csv.writeField(1, 20, "流量计温度"); vmas_csv.writeField(1, 21, "流量计压力"); vmas_csv.writeField(1, 22, "实际体积流量"); vmas_csv.writeField(1, 23, "标准体积流量"); vmas_csv.writeField(1, 24, "湿度修正系数"); vmas_csv.writeField(1, 25, "稀释修正系数"); vmas_csv.writeField(1, 26, "稀释比"); vmas_csv.writeField(1, 27, "分析仪管路压力"); vmas_csv.writeField(1, 28, "分析仪实时流量"); vmas_csv.closeCsv(); }
private void init_csv(string carID) { jzjs_csv = new CSVcontrol.CSVHelper(); jzjs_csv.CreateCsv(@"C:\jcdatatxt\" + carID + ".csv"); jzjs_csv.openCsv(); jzjs_csv.writeField(1, 1, "全程时序"); jzjs_csv.writeField(1, 2, "时序类别"); jzjs_csv.writeField(1, 3, "采样时序"); jzjs_csv.writeField(1, 4, "车速"); jzjs_csv.writeField(1, 5, "功率"); jzjs_csv.writeField(1, 6, "光吸收系数K"); jzjs_csv.closeCsv(); }
private void init_csv(string carID) { jzjs_csv = new CSVcontrol.CSVHelper(); jzjs_csv.CreateCsv(@"C:\jcdatatxt\" + carID + ".csv"); jzjs_csv.openCsv(); jzjs_csv.writeField(1, 1, "全程时序"); jzjs_csv.writeField(1, 2, "时序类别"); jzjs_csv.writeField(1, 3, "采样时序"); jzjs_csv.writeField(1, 4, "HC"); jzjs_csv.writeField(1, 5, "CO"); jzjs_csv.writeField(1, 6, "O2"); jzjs_csv.writeField(1, 7, "CO2"); jzjs_csv.writeField(1, 8, "过量空气系数"); jzjs_csv.writeField(1, 9, "转速"); jzjs_csv.writeField(1, 10, "油温"); jzjs_csv.writeField(1, 11, "环境温度"); jzjs_csv.writeField(1, 12, "相对湿度"); jzjs_csv.writeField(1, 13, "大气压力"); jzjs_csv.closeCsv(); }