public void TestInsertDPListToGrp_Get_Delete_01() { List <EtyDataPoint> datapointList = new List <EtyDataPoint>(); EtyDataPoint dp = new EtyDataPoint(); dp.DisplayName = "test_DispName"; dp.Description = "test_desc"; dp.DPName = "test_DP_Name"; string grpName = "test_grpName"; dp.DPServer = "TransActiveDataSource"; dp.DPHost = TestDBInit.HOST_NAME; dp.DPLblName = "LblName"; datapointList.Add(dp); dataPointDao.SaveDPListToGrp(datapointList, grpName); //dataPointDao.InsertDPListToGrp(datapointList, grpName); dataPointDao.GetDPByCfgName(grpName); dataPointDao.DeleteAllDPInGrp(grpName); }
public List <EtyDataPoint> GetDPListByGrp(string grpName) { DataPointDAO dpDAO = new DataPointDAO(); return(dpDAO.GetDPByCfgName(grpName)); }