public void testGetZBcpid() { Model.ChannelProgram mcp = new Model.ChannelProgram(); mcp.DataTypeID = 1; BLL.DataBLL dbll = new BLL.DataBLL(); //int done = sbll.setStationsInfo(msr, "insert"); Label1.Text = dbll.getZBcpid(mcp).CP_ID.ToString(); }
public void testGetDataType() { BLL.DataBLL dbll = new BLL.DataBLL(); Model.RecordeData[] mrd2 = dbll.getDataType(null); for (int i = 0; i < mrd2.Length; i++) { al.Add(mrd2[i]); } }
public void changePage(string cpid) { BLL.DataBLL dbll = new BLL.DataBLL(); Model.RecordeData[] mrd = dbll.getRealStations(cpid); for (int i = 0; i < mrd.Length; i++) { al.Add(mrd[i]); } }
public void testSearchStationInfo2() { Model.StationRelation msr = new Model.StationRelation(); msr.StationID = 54511; msr.StationName = "北xx京"; BLL.DataBLL dbll = new BLL.DataBLL(); Model.StationRelation msr2 = dbll.searchStationInfo2(msr); //Label1.Text = msr2.SelectID + "|" + msr2.StationID + "|" + msr2.StationName + "|" + msr2.StationTableID; }
public void testGetTimeType() { Model.RecordeData mrd = new Model.RecordeData(); mrd.DataType = 1; BLL.DataBLL dbll = new BLL.DataBLL(); Model.RecordeData[] mrd2 = dbll.getTimeType(mrd); for (int i = 0; i < mrd2.Length; i++) { al.Add(mrd2[i]); } }
public void testGetAllElement() { Model.ElementRelation mer = new Model.ElementRelation(); mer.DataTypeID = 2; BLL.DataBLL dbll = new BLL.DataBLL(); Model.ElementRelation[] mer2 = dbll.getAllElement(mer); for (int i = 0; i < mer2.Length; i++) { al.Add(mer2[i]); } }
public void testSearchStationInfo() { Model.StationRelation msr = new Model.StationRelation(); msr.StationID = 54511; //msr.StationName = "北"; BLL.DataBLL dbll = new BLL.DataBLL(); Model.StationRelation[] msr2 = dbll.searchStationInfo(msr); for (int i = 0; i < msr2.Length; i++) { al.Add(msr2[i]); } }
public void testGetZBSX() { Model.RecordeData mrd = new Model.RecordeData(); mrd.TimeType = 6; mrd.DataType = 1; BLL.DataBLL dbll = new BLL.DataBLL(); Model.RecordeData[] msr2 = dbll.getZBSX(mrd); for (int i = 0; i < msr2.Length; i++) { al.Add(msr2[i]); } Label1.Text = msr2.Length.ToString(); }
public void testGetZBstations() { Model.ChannelProgram mcp = new Model.ChannelProgram(); mcp.DataTypeID = 1; mcp.TimeTypeID = 6; BLL.DataBLL dbll = new BLL.DataBLL(); Model.StationRelation[] msr2 = dbll.getZBStations(mcp); for (int i = 0; i < msr2.Length; i++) { al.Add(msr2[i]); } Label1.Text = msr2.Length.ToString(); }
public void testGetData() { //public Model.RecordeData[] getData(String cpid) //Model.StationRelation msr = new Model.StationRelation(); //msr.StationID = 54511; //msr.StationName = "北"; BLL.DataBLL dbll = new BLL.DataBLL(); Model.RecordeData[] msr2 = dbll.getData("75"); for (int i = 0; i < msr2.Length; i++) { al.Add(msr2[i]); } }