private void _bProductInf_Initialize(object barcode)
        {
            _Global_C_RemoveControl(barcodeControl);
            barcodeControl.Dispose();
            barcodeControl = null;

            RESTful NetworkObj = new RESTful();
            IRestResponse <_REST_ProductInfo> Product = NetworkObj.RESTgetProductByBarCode((string)barcode);

            if (Product.Data == null)
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    _NoticeScreen_Initialize("상품정보를 찾을 수 없습니다.");
                    _bProductInf_P_LeftHandUp(null, null);
                }));
            }
            else
            {
                if (Product.Data.lookType == 0)
                {
                    if (TopLookId == 0)
                    {
                        TopLookId = Product.Data.id;
                    }
                }
                else if (Product.Data.lookType == 1)
                {
                    if (DownLookId == 0)
                    {
                        DownLookId = Product.Data.id;
                    }
                }

                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    bProductInfoControl = new BarcodeProductInfo();

                    bProductInfoControl.setProductInfo(Product);


                    _Global_C_AddControl(bProductInfoControl);
                }));
                bProductInfoControl.btnNext.Click          += new RoutedEventHandler(_bProductInf_P_RightHandUp);
                bProductInfoControl.btnReTakePicture.Click += new RoutedEventHandler(_bProductInf_P_LeftHandUp);
                bProductInfoControl.btnAddProduct.Click    += new RoutedEventHandler(_bProductInf_P_HandOverHead);
                if (CurrentBarcodeReadMode == 1)
                {
                    bProductInfoControl.hiddenUiAddProduct();
                }
                _Global_C_ShowWaitingScreen();
            }
        }
        private void _sProductInfo_P_LeftHandUp(object sender, EventArgs e)
        {
            RESTful RestObj = new RESTful();

            RestObj.RESTsetLikeStyleset(CurrentStylesetUid);
            Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
            {
                _NoticeScreen_Initialize("보고 있는 코디를 '좋아요' 하였습니다.");
                sProductInfoControl.btnLike.Visibility = System.Windows.Visibility.Hidden;
                sProductInfoControl.imgLike.Visibility = System.Windows.Visibility.Hidden;
            }));
        }
        private void _sProductExtraInfo_Initialize(_REST_StyleSetInfo MainStyleset)
        {
            CurrentStylesetUid = MainStyleset.id;
            RESTful           RestObj  = new RESTful();
            _REST_ProductInfo product1 = MainStyleset.look;
            _REST_ProductInfo product2 = null;
            IRestResponse <_REST_StyleSetInfo> SubStyleset;
            _REST_ProductInfo MainProduct = product1;
            _REST_ProductInfo SubProduct  = null;

            if (MainStyleset.matchUserLookId != 0)
            {
                SubStyleset = RestObj.RESTgetStyleSetById(MainStyleset.matchUserLookId);
                product2    = SubStyleset.Data.look;
                SubProduct  = product2;
            }

            if (MainProduct != null)
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    sProductExtraInfoControl.imgStylesetImage.Source     = new BitmapImage(new Uri(MainStyleset.imageUrl));
                    sProductExtraInfoControl.lblMainProductName.Content  = MainProduct.name;
                    sProductExtraInfoControl.imgMainProduct.Source       = new BitmapImage(new Uri(MainProduct.imageUrl));
                    sProductExtraInfoControl.lblMainProductPrice.Content = MainProduct.price;
                    if (SubProduct != null)
                    {
                        sProductExtraInfoControl.lblSubProductName.Content  = SubProduct.name;
                        sProductExtraInfoControl.imgSubProduct.Source       = new BitmapImage(new Uri(SubProduct.imageUrl));
                        sProductExtraInfoControl.lblSubProductPrice.Content = SubProduct.price;
                    }
                }));
            }
            else
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    _NoticeScreen_Initialize("코디 정보를 찾을 수 없습니다.");
                }));
                _sProductInfo_P_RightHandUp(null, null);
            }
            sProductExtraInfoControl.btnLike.Click  += new RoutedEventHandler(_sProductExtraInfo_P_LeftHandUp);
            sProductExtraInfoControl.btnClose.Click += new RoutedEventHandler(_sProductExtraInfo_P_RightHandUp);
        }
예제 #4
0
        private void _bProductInf_Initialize(string barcode)
        {
            _Global_C_RemoveControl(barcodeControl);
            barcodeControl.Dispose();
            barcodeControl = null;
            RESTful Network = new RESTful();

            //Network.RESTfulSingleParmRequest();
            bProductInfoControl = new BarcodeProductInfo();
            _Global_C_AddControl(bProductInfoControl);

            Action <string> PostureEventHandler = _bProductInf_PostureAction;

            KinectController.ChangePostureEventHandler(PostureEventHandler);
            if (CurrentBarcodeReadMode == 1)
            {
                bProductInfoControl.hiddenUiAddProduct();
            }
        }
        private void _Barcode_Initialize(object membershipId)
        {
            RESTful RestObj = new RESTful();

            IRestResponse <_REST_MembershipInfo> RESTMember = RestObj.RESTgetMember(Convert.ToInt64(membershipId));

            if (RESTMember.Data.membershipId == "0")
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    _NoticeScreen_Initialize("회원정보를 찾을 수 없습니다.");
                    _Global_C_ShowWaitingScreen();
                }));
                _Main_Initialize();
                MainPageControl = new MainPageComponent();
                _Global_C_AddControl(MainPageControl);
                _Global_C_RemoveControl(barcodeControl);
            }
            else
            {
                getCameraTS     = new ThreadStart(this._Barcode_TS_setTimer);
                getCameraThread = new Thread(getCameraTS);
                getCameraThread.Start();

                getBarcodeTS     = new ThreadStart(this._Barcode_TS_setBarcodeTimer);
                getBarcodeThread = new Thread(getBarcodeTS);
                getBarcodeThread.Start();



                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    _NoticeScreen_Initialize(RESTMember.Data.name + "님, 안녕하세요?");
                    this.txtBarcodeInput.Visibility = System.Windows.Visibility.Visible;
                    this.txtBarcodeInput.Text       = "";
                    this.txtBarcodeInput.Focus();
                    System.Windows.Input.Keyboard.Focus(this.txtBarcodeInput);
                    _Global_C_ShowWaitingScreen();
                }));
            }
        }
        private void _ViewStyleset_Control(int act)
        {
            if (act != 0)
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    ViewStylesetControl.imgGuideline.Visibility = System.Windows.Visibility.Hidden;
                }));
            }
            CurrentStylesetIdx += act;
            if (CurrentStylesetIdx < 0)
            {
                CurrentStylesetIdx = StyletIdexLast;
            }
            if (CurrentStylesetIdx > StyletIdexLast)
            {
                CurrentStylesetIdx = 0;
            }
            _Global_C_ShowWaitingScreen();
            RESTful RestObj = new RESTful();
            IRestResponse <_REST_StyleSetListInfo> RESTUserLookList = RestObj.RESTgetStyleSetListByUserId(StyleSetData[CurrentStylesetIdx].id);

            if (RESTUserLookList.Data != null)
            {
                UserLookList = RESTUserLookList.Data.ToArray();
                ViewStylesetControl.imgUserLook1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(_ViewStyleset_C_UserLook1);
                ViewStylesetControl.imgUserLook2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(_ViewStyleset_C_UserLook2);
                ViewStylesetControl.imgUserLook3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(_ViewStyleset_C_UserLook3);
            }

            Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
            {
                ViewStylesetControl.imgSelectedStyleset.Source = new BitmapImage(new Uri(StyleSetData[CurrentStylesetIdx].imageUrl));
                ViewStylesetControl.lblLikeCount.Content       = StyleSetData[CurrentStylesetIdx].likeCount;
                if (UserLookList != null)
                {
                    ViewStylesetControl.imgUserLook1.Source = new BitmapImage(new Uri(UserLookList[0].imageUrl));
                    ViewStylesetControl.imgUserLook2.Source = new BitmapImage(new Uri(UserLookList[1].imageUrl));
                    ViewStylesetControl.imgUserLook3.Source = new BitmapImage(new Uri(UserLookList[2].imageUrl));
                }
                else
                {
                    ViewStylesetControl.imgUserLook1.Source = new BitmapImage();
                    ViewStylesetControl.imgUserLook2.Source = new BitmapImage();
                    ViewStylesetControl.imgUserLook3.Source = new BitmapImage();
                }
                if (CurrentStylesetIdx + 1 > StyletIdexLast)
                {
                    ViewStylesetControl.imgimgRightStyleset.Source = new BitmapImage(new Uri(StyleSetData[0].imageUrl));
                }
                else
                {
                    ViewStylesetControl.imgimgRightStyleset.Source = new BitmapImage(new Uri(StyleSetData[CurrentStylesetIdx + 1].imageUrl));
                }
                if (CurrentStylesetIdx - 1 < 0)
                {
                    ViewStylesetControl.imgLeftStyleset.Source = new BitmapImage(new Uri(StyleSetData[0].imageUrl));
                }
                else
                {
                    ViewStylesetControl.imgLeftStyleset.Source = new BitmapImage(new Uri(StyleSetData[CurrentStylesetIdx - 1].imageUrl));
                }
            }));
            _Global_C_ShowWaitingScreen();
        }
        private void _ViewStyleset_Initialize()
        {
            IRestResponse <_REST_StyleSetListInfo> TopStyleset  = null;
            IRestResponse <_REST_StyleSetListInfo> DownStyleset = null;

            RESTful RESTObj = new RESTful();

            if (TopLookId != 0)
            {
                cuponhash = RESTObj.RESTUploadUserLook(TopLookId, DownLookId, FrontPicturePath, FrontPicturePath.Insert(FrontPicturePath.Length - 4, "_proc"), BackPicturePath, "2011003539244269");
            }
            if (DownLookId != 0)
            {
                cuponhash = RESTObj.RESTUploadUserLook(DownLookId, TopLookId, FrontPicturePath, FrontPicturePath.Insert(FrontPicturePath.Length - 4, "_proc"), BackPicturePath, "2011003539244269");
            }

            if (TopLookId != 0)
            {
                TopStyleset = RESTObj.RESTgetStyleSetListById(TopLookId);
            }
            if (DownLookId != 0)
            {
                DownStyleset = RESTObj.RESTgetStyleSetListById(DownLookId);
            }

            if (TopStyleset != null && DownStyleset != null)
            {
                if (TopStyleset.Data != null && DownStyleset.Data != null)
                {
                    StyleSetData = TopStyleset.Data.ToArray();
                    _REST_StyleSetInfo[] DownStylesetData = DownStyleset.Data.ToArray();
                    DownStylesetData.CopyTo(StyleSetData, StyleSetData.Length);
                }
            }
            else if (TopStyleset != null)
            {
                if (TopStyleset.Data != null)
                {
                    StyleSetData = TopStyleset.Data.ToArray();
                }
            }
            else if (DownStyleset != null)
            {
                if (DownStyleset.Data != null)
                {
                    StyleSetData = DownStyleset.Data.ToArray();
                }
            }

            StyletIdexLast = StyleSetData.Length - 1;
            _ViewStyleset_Control(-1);

            Action <string> RightSwipeGestureHandler = _ViewStyleset_SwipeGestureRight;
            Action <string> LeftSwipeGestureHandler  = _ViewStyleset_SwipeGestureLeft;

            KinectController.ChangeGestureEventHandler(RightSwipeGestureHandler, "R");
            KinectController.ChangeGestureEventHandler(LeftSwipeGestureHandler, "L");

            _Global_C_ShowWaitingScreen();
            ViewStylesetControl.btnProductDetail.Click += new RoutedEventHandler(_ViewStyleset_P_RightHandUp);
            ViewStylesetControl.btnRetakePicture.Click += new RoutedEventHandler(_ViewStyleset_P_LeftHandUp);
            ViewStylesetControl.btnTakeCupon.Click     += new RoutedEventHandler(_ViewStyleset_P_HeadUp);
        }
        private void _bProductInf_Initialize(string barcode)
        {
            _Global_C_RemoveControl(barcodeControl);
            barcodeControl.Dispose();
            barcodeControl = null;
            RESTful Network = new RESTful();
            //Network.RESTfulSingleParmRequest();
            bProductInfoControl = new BarcodeProductInfo();
            _Global_C_AddControl(bProductInfoControl);

            Action<string> PostureEventHandler = _bProductInf_PostureAction;
            KinectController.ChangePostureEventHandler(PostureEventHandler);
            if (CurrentBarcodeReadMode == 1)
                bProductInfoControl.hiddenUiAddProduct();
        }
 private void _sProductExtraInfo_P_LeftHandUp(object sender, EventArgs e)
 {
     RESTful RestObj = new RESTful();
     RestObj.RESTsetLikeStyleset(CurrentStylesetUid);
     Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
         {
             _NoticeScreen_Initialize("보고 있는 코디를 '좋아요' 하였습니다.");
             sProductExtraInfoControl.btnLike.Visibility = System.Windows.Visibility.Hidden;
             sProductExtraInfoControl.imgLike.Visibility = System.Windows.Visibility.Hidden;
         }));
 }
        private void _sProductExtraInfo_Initialize(_REST_StyleSetInfo MainStyleset)
        {
            CurrentStylesetUid = MainStyleset.id;
            RESTful RestObj = new RESTful();
            _REST_ProductInfo product1 = MainStyleset.look;
            _REST_ProductInfo product2 = null;
            IRestResponse<_REST_StyleSetInfo> SubStyleset;
            _REST_ProductInfo MainProduct = product1;
            _REST_ProductInfo SubProduct = null;
            if (MainStyleset.matchUserLookId != 0)
            {
                SubStyleset = RestObj.RESTgetStyleSetById(MainStyleset.matchUserLookId);
                product2 = SubStyleset.Data.look;
                SubProduct = product2;
            }

            if (MainProduct != null)
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    sProductExtraInfoControl.imgStylesetImage.Source = new BitmapImage(new Uri(MainStyleset.imageUrl));
                    sProductExtraInfoControl.lblMainProductName.Content = MainProduct.name;
                    sProductExtraInfoControl.imgMainProduct.Source = new BitmapImage(new Uri(MainProduct.imageUrl));
                    sProductExtraInfoControl.lblMainProductPrice.Content = MainProduct.price;
                    if (SubProduct != null)
                    {
                        sProductExtraInfoControl.lblSubProductName.Content = SubProduct.name;
                        sProductExtraInfoControl.imgSubProduct.Source = new BitmapImage(new Uri(SubProduct.imageUrl));
                        sProductExtraInfoControl.lblSubProductPrice.Content = SubProduct.price;
                    }
                }));
            }
            else
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    _NoticeScreen_Initialize("코디 정보를 찾을 수 없습니다.");
                }));
                _sProductInfo_P_RightHandUp(null, null);
            }
            sProductExtraInfoControl.btnLike.Click += new RoutedEventHandler(_sProductExtraInfo_P_LeftHandUp);
            sProductExtraInfoControl.btnClose.Click += new RoutedEventHandler(_sProductExtraInfo_P_RightHandUp);
        }
        private void _ViewStyleset_Control(int act)
        {
            if (act != 0)
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    ViewStylesetControl.imgGuideline.Visibility = System.Windows.Visibility.Hidden;
                }));
            }
            CurrentStylesetIdx += act;
            if (CurrentStylesetIdx < 0)
                CurrentStylesetIdx = StyletIdexLast;
            if (CurrentStylesetIdx > StyletIdexLast)
                CurrentStylesetIdx = 0;
            _Global_C_ShowWaitingScreen();
            RESTful RestObj = new RESTful();
            IRestResponse<_REST_StyleSetListInfo> RESTUserLookList = RestObj.RESTgetStyleSetListByUserId(StyleSetData[CurrentStylesetIdx].id);
            if (RESTUserLookList.Data != null)
            {
                UserLookList = RESTUserLookList.Data.ToArray();
                ViewStylesetControl.imgUserLook1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(_ViewStyleset_C_UserLook1);
                ViewStylesetControl.imgUserLook2.MouseDown += new System.Windows.Input.MouseButtonEventHandler(_ViewStyleset_C_UserLook2);
                ViewStylesetControl.imgUserLook3.MouseDown += new System.Windows.Input.MouseButtonEventHandler(_ViewStyleset_C_UserLook3);
            }

            Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
            {
                ViewStylesetControl.imgSelectedStyleset.Source = new BitmapImage(new Uri(StyleSetData[CurrentStylesetIdx].imageUrl));
                ViewStylesetControl.lblLikeCount.Content = StyleSetData[CurrentStylesetIdx].likeCount;
                if (UserLookList != null)
                {
                    ViewStylesetControl.imgUserLook1.Source = new BitmapImage(new Uri(UserLookList[0].imageUrl));
                    ViewStylesetControl.imgUserLook2.Source = new BitmapImage(new Uri(UserLookList[1].imageUrl));
                    ViewStylesetControl.imgUserLook3.Source = new BitmapImage(new Uri(UserLookList[2].imageUrl));
                }
                else
                {
                    ViewStylesetControl.imgUserLook1.Source = new BitmapImage();
                    ViewStylesetControl.imgUserLook2.Source = new BitmapImage();
                    ViewStylesetControl.imgUserLook3.Source = new BitmapImage();
                }
                if(CurrentStylesetIdx + 1 > StyletIdexLast)
                    ViewStylesetControl.imgimgRightStyleset.Source = new BitmapImage(new Uri(StyleSetData[0].imageUrl));
                else
                    ViewStylesetControl.imgimgRightStyleset.Source = new BitmapImage(new Uri(StyleSetData[CurrentStylesetIdx + 1].imageUrl));
                if (CurrentStylesetIdx -1 < 0)
                    ViewStylesetControl.imgLeftStyleset.Source = new BitmapImage(new Uri(StyleSetData[0].imageUrl));
                else
                    ViewStylesetControl.imgLeftStyleset.Source = new BitmapImage(new Uri(StyleSetData[CurrentStylesetIdx - 1].imageUrl));
            }));
            _Global_C_ShowWaitingScreen();
        }
        private void _ViewStyleset_Initialize()
        {
            IRestResponse<_REST_StyleSetListInfo> TopStyleset = null;
            IRestResponse<_REST_StyleSetListInfo> DownStyleset = null;
            
            RESTful RESTObj = new RESTful();
            if(TopLookId != 0)
                cuponhash = RESTObj.RESTUploadUserLook(TopLookId, DownLookId, FrontPicturePath, FrontPicturePath.Insert(FrontPicturePath.Length -4, "_proc"), BackPicturePath, "2011003539244269");
            if(DownLookId != 0)
                cuponhash = RESTObj.RESTUploadUserLook(DownLookId, TopLookId, FrontPicturePath, FrontPicturePath.Insert(FrontPicturePath.Length - 4, "_proc"), BackPicturePath, "2011003539244269");

            if(TopLookId != 0)
                TopStyleset = RESTObj.RESTgetStyleSetListById(TopLookId);
            if (DownLookId != 0)
                DownStyleset = RESTObj.RESTgetStyleSetListById(DownLookId);

            if (TopStyleset != null && DownStyleset != null)
            {
                if (TopStyleset.Data != null && DownStyleset.Data != null)
                {
                    StyleSetData = TopStyleset.Data.ToArray();
                    _REST_StyleSetInfo[] DownStylesetData = DownStyleset.Data.ToArray();
                    DownStylesetData.CopyTo(StyleSetData, StyleSetData.Length);
                }
            }
            else if (TopStyleset != null)
            {
                if (TopStyleset.Data != null)
                {
                    StyleSetData = TopStyleset.Data.ToArray();
                }
            }
            else if (DownStyleset != null)
            {
                if (DownStyleset.Data != null)
                {
                    StyleSetData = DownStyleset.Data.ToArray();
                }
            }

            StyletIdexLast = StyleSetData.Length -1;
            _ViewStyleset_Control(-1);

            Action<string> RightSwipeGestureHandler = _ViewStyleset_SwipeGestureRight;
            Action<string> LeftSwipeGestureHandler = _ViewStyleset_SwipeGestureLeft;
            KinectController.ChangeGestureEventHandler(RightSwipeGestureHandler, "R");
            KinectController.ChangeGestureEventHandler(LeftSwipeGestureHandler, "L");

            _Global_C_ShowWaitingScreen();
            ViewStylesetControl.btnProductDetail.Click += new RoutedEventHandler(_ViewStyleset_P_RightHandUp);
            ViewStylesetControl.btnRetakePicture.Click += new RoutedEventHandler(_ViewStyleset_P_LeftHandUp);
            ViewStylesetControl.btnTakeCupon.Click += new RoutedEventHandler(_ViewStyleset_P_HeadUp);
        }
        private void _bProductInf_Initialize(object barcode)
        {
            _Global_C_RemoveControl(barcodeControl);
            barcodeControl.Dispose();
            barcodeControl = null;
            
            RESTful NetworkObj = new RESTful();
            IRestResponse<_REST_ProductInfo> Product = NetworkObj.RESTgetProductByBarCode((string)barcode);
            if (Product.Data == null)
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                    {
                        _NoticeScreen_Initialize("상품정보를 찾을 수 없습니다.");
                        _bProductInf_P_LeftHandUp(null, null);
                    }));
            }
            else
            {
                if (Product.Data.lookType == 0)
                {
                    if (TopLookId == 0)
                        TopLookId = Product.Data.id;
                }
                else if (Product.Data.lookType == 1)
                {
                    if (DownLookId == 0)
                        DownLookId = Product.Data.id;
                }

                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                    {
                        bProductInfoControl = new BarcodeProductInfo();

                        bProductInfoControl.setProductInfo(Product);


                        _Global_C_AddControl(bProductInfoControl);
                    }));
                bProductInfoControl.btnNext.Click += new RoutedEventHandler(_bProductInf_P_RightHandUp);
                bProductInfoControl.btnReTakePicture.Click += new RoutedEventHandler(_bProductInf_P_LeftHandUp);
                bProductInfoControl.btnAddProduct.Click += new RoutedEventHandler(_bProductInf_P_HandOverHead);
                if (CurrentBarcodeReadMode == 1)
                {
                    bProductInfoControl.hiddenUiAddProduct();
                }
                _Global_C_ShowWaitingScreen();
            }
        }
        private void _Barcode_Initialize(object membershipId)
        {   
            RESTful RestObj = new RESTful();

            IRestResponse<_REST_MembershipInfo> RESTMember = RestObj.RESTgetMember(Convert.ToInt64(membershipId));

            if (RESTMember.Data.membershipId == "0")
            {
                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    _NoticeScreen_Initialize("회원정보를 찾을 수 없습니다.");
                    _Global_C_ShowWaitingScreen();
                }));
                _Main_Initialize();
                MainPageControl = new MainPageComponent();
                _Global_C_AddControl(MainPageControl);
                _Global_C_RemoveControl(barcodeControl);

            }
            else
            {
                getCameraTS = new ThreadStart(this._Barcode_TS_setTimer);
                getCameraThread = new Thread(getCameraTS);
                getCameraThread.Start();

                getBarcodeTS = new ThreadStart(this._Barcode_TS_setBarcodeTimer);
                getBarcodeThread = new Thread(getBarcodeTS);
                getBarcodeThread.Start();

               

                Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Send, new Action(delegate
                {
                    _NoticeScreen_Initialize(RESTMember.Data.name + "님, 안녕하세요?");
                    this.txtBarcodeInput.Visibility = System.Windows.Visibility.Visible;
                    this.txtBarcodeInput.Text = "";
                    this.txtBarcodeInput.Focus();
                    System.Windows.Input.Keyboard.Focus(this.txtBarcodeInput);
                    _Global_C_ShowWaitingScreen();
                }));
            }
        }