Exemplo n.º 1
0
 public void TestGetDataPointsByName01()
 {
     OPCDataSelectorModel oPCDataSelectorModel = OPCDataSelectorModelFactory.CreateOPCDataSelectorModel01();
     string opcServerName          = string.Empty;
     string dataPtNameSubStr       = string.Empty;
     List <EtyDataLogDPTrend> list = oPCDataSelectorModel.GetDataPointsByName(opcServerName, dataPtNameSubStr);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Display DataPoint with that search substring in the DataPoint List.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void searchBtn_Click(object sender, EventArgs e)
 {
     if (m_currentOpcServerName == "")
     {
         return;
     }
     if (m_view.GetSearchText().Trim() != "")
     {
         m_view.SetDataPointList(m_model.GetDataPointsByName(m_currentOpcServerName, m_view.GetSearchText().ToUpper()));
     }
 }