示例#1
0
        public void command(string cmd, uint maxChar = 255)
        {
            StringBuilder strResponse = new StringBuilder();

            PMAC.PmacGetResponseA(_DeviceId, strResponse, maxChar,
                                  new StringBuilder(Convert.ToString(cmd)));

            WriteLog(cmd);

            if (strResponse.ToString() != "")
            {
                //int aaa = 0;
            }
        }
示例#2
0
文件: Form1.cs 项目: djKim0828/GitHub
        private void command(string cmd)
        {
            StringBuilder strResponse = new StringBuilder();

            PMAC.PmacGetResponseA(m_dwDevice, strResponse, 255,
                                  new StringBuilder(Convert.ToString(cmd)));

            WriteLog(cmd);

            if (strResponse.ToString() != "")
            {
                int aaa = 0;
            }
        }