添加项目文件。
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using JY.Model.Excel;
|
||||
using JY.Utility;
|
||||
using MetroFramework.Forms;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace JY.Inspection.Frm
|
||||
{
|
||||
public partial class FrmTest : MetroForm
|
||||
{
|
||||
public FrmTest()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void btn_readCollectItemCfg_Click(object sender, EventArgs e)
|
||||
{
|
||||
string fileName = @"Config/采集项参照表.xlsx";
|
||||
//string fileName = @"Config/Device.xlsx";
|
||||
List<CollectItemCfg> list = ExcelImporter.Import<CollectItemCfg>(fileName);
|
||||
}
|
||||
|
||||
private void btn_stationArrival_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
private void btn_stationArrival_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user