コード例 #1
0
        private static void NewMethod()
        {
            PayPoint pim = new PayPoint();

            var ip       = "192.168.10.131";
            int logLevel = 1;

            pim.setPayPointListener(new TestListner());


            pim.open(ip, 0, "point_", 3);



            //pim.startTestCom();


            int res = 0;
            int amtTotal = 200, amtPurchase = 200;

            pim.startTransaction((byte)transTypes.TRANS_TEST, amtTotal, amtPurchase, (byte)transModes.MODE_NORMAL);
            if (res != 0)
            {
            }
        }
コード例 #2
0
 public MainPage()
 {
     InitializeComponent();
     try
     {
         PayPoint test = new PayPoint();
         test.startTestCom();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.StackTrace);
     }
 }
コード例 #3
0
        private static void NewMethod()
        {
            try
            {
                PayPoint pim = new PayPoint();

                var ip       = "192.168.10.131";
                int logLevel = 1;
                pim.setPayPointListener(new TestListner());


                pim.open(ip, 0, "point_", 3);

                pim.startTestCom();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.StackTrace);
            }
        }