示例#1
0
 public void Async_WriteData(MCS.GuiHub.GuiCommand nCmd, string sVal)
 {
     try
     {
         remote.begin_WriteData(nCmd, sVal, m_nSession);
     }
     catch (System.Exception /*ex*/)
     {
     }
 }
示例#2
0
        public int WriteData(MCS.GuiHub.GuiCommand nCmd, string sVal, int nSession)
        {
            int nRet = -1;

            try
            {
                nRet = remote.WriteData(nCmd, sVal, nSession);
            }
            catch (System.Exception /*ex*/)
            {
            }

            return(nRet);
        }
示例#3
0
        public string ReadData(MCS.GuiHub.GuiCommand nCmd, int nSession)
        {
            string strRet = "";

            try
            {
                strRet = remote.ReadData(nCmd, nSession);
            }
            catch (System.Exception /*ex*/)
            {
            }

            return(strRet);
        }