public bool Run() { bool result = true; CreateBillValidator(); CreateCoinAcceptor(); cp = new ComPort(null, new Dictionary <byte, Func <byte[], byte[]> >(register)); result = cp.TryOpen(); return(result); }
public bool IsDA2AdapterInstalled() { return(ComPort.CheckDA2Adapter()); }
public List <string> GetInstalledVirtualPorts() { return(ComPort.GetInstalledVirtualPorts()); }