Esempio n. 1
0
 public void TestGetAllOPCDataPoints01()
 {
     OPCDataSelectorModel oPCDataSelectorModel = OPCDataSelectorModelFactory.CreateOPCDataSelectorModel01();
     string opcServerName          = string.Empty;
     string filterString           = string.Empty;
     List <EtyDataLogDPTrend> list = oPCDataSelectorModel.GetAllOPCDataPoints(opcServerName, filterString);
 }
Esempio n. 2
0
 /// <summary>
 /// Returns DataPoints of the selected server name
 /// </summary>
 /// <param name="opcServerName">datapoint server name</param>
 /// <param name="filterString">filter string - such as datapoint name</param>
 public void GetDataPointList(string opcServerName, string filterString)
 {
     // m_view.TotalDTRecord = m_model.GetTotalDataPointCount(opcServerName, filterString);
     m_view.SetDataPointList(m_model.GetAllOPCDataPoints(opcServerName, filterString));
 }