public void TestStationBLL() { StationBLL bll = new StationBLL(new StationsDAL()); Station station1 = new Station("stationA1", new SensorAddress("aa.bb1"), "description", 3); bll.Add(station1); bll.Delete(station1); Station station2 = new Station("stationB3", new SensorAddress("aa.bb7"), "description", 3); Station station3 = new Station("stationB3", new SensorAddress("aa.bb8"), "description", 3); bll.Add(station2); bll.Modify(station2, station3); bll.Delete(station3); Station station4 = (Station)bll.GetObjById(station3.Name); bll.ExcuteSqlStr("select * from station"); List <object> list1 = bll.GetAllObjs(); List <object> list2 = bll.GetObjsBySQL("select * from station", null); List <Station> list3 = bll.GetStationsByUser(new User("aa")); }