예제 #1
0
        public void Test02Sale()
        {
            POS pos = new POS(PORT);

            pos.POSPrints = true;

            if (pos.Connect())
            {
                SaleResult saleResult;
                saleResult = pos.Sale(12345);
                Assert.IsTrue(saleResult.Success);
            }
            else
            {
                Assert.Fail();
            }
            pos.Disonnect();
        }