Ejemplo n.º 1
0
        /// <summary>
        /// POSDevice 초기화
        /// </summary>
        /// <param name="initializeHandler"></param>
        public static void Initialize(POSDeviceInitializeEventHandler initializeHandler)
        {
            s_initializeHandler = initializeHandler;

            // 순서대로 오픈한다
            s_initializeHandler(POSDeviceTypes.CashDrawer, false);
            CashDrawer           = new POSCashDrawer();
            CashDrawer.OnOpened += new EventHandler(CashDrawer_OnOpened);
            CashDrawer.Open();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initialize w/o keyboard
        /// </summary>
        public static void Initialize()
        {
            CashDrawer = new POSCashDrawer();
            CashDrawer.Open();

            LineDisplay = new POSLineDisplay();
            LineDisplay.Open();

            Printer = new POSPrinter();
            Printer.Open();

            SignPad = new POSSignPad();
        }