예제 #1
0
        public bool Run()
        {
            bool result = true;

            CreateBillValidator();
            CreateCoinAcceptor();
            cp     = new ComPort(null, new Dictionary <byte, Func <byte[], byte[]> >(register));
            result = cp.TryOpen();

            return(result);
        }
예제 #2
0
 public bool IsDA2AdapterInstalled()
 {
     return(ComPort.CheckDA2Adapter());
 }
예제 #3
0
 public List <string> GetInstalledVirtualPorts()
 {
     return(ComPort.GetInstalledVirtualPorts());
 }