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; } }
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; } }