예제 #1
0
        public Ut001_002_004_005()
        {
            try
            {
                DrawerKeys      = HalDrawerExtends.DrawerKeys;
                DrawerLocations = HalDrawerExtends.DrawerLocations;

                PositionInstance.Load(); // 在這裏載入所有(Boxtransfer 及 Masktransfer)的路徑點位資料
                pathFileObj = new BoxrobotTransferPathFile(PositionInstance.BTR_Path);

                HalContext = MacHalContextExtends.Create_MacHalContext_Instance();

                HalUniversal   = HalContext.GetUniversalAssembly();
                HalOpenStage   = HalContext.GetOpenStageAssembly();
                HalBoxTransfer = HalContext.GetBoxTransferAssembly();

                HalUniversal.HalConnect();
                HalOpenStage.HalConnect();
                HalBoxTransfer.HalConnect();


                // Initial
                //    HalOpenStage.ReadRobotIntrude(false, false);
                HalOpenStage.Initial();
                HalBoxTransfer.Initial();
                HalBoxTransfer.TurnOffCameraLight();
            }
            catch (Exception ex)
            {
                InitialError        = true;
                InitialErrorMessage = ex.Message;
            }
            // HalBoxTransfer.TurnToCB1Home();
        }
예제 #2
0
        BoxrobotTransferPathFile pathFileObj;//= new BoxrobotTransferPathFile(PositionInstance.BTR_Path);
        public Ut001_BT()
        {
            DrawerKeys      = HalDrawerExtends.DrawerKeys;
            DrawerLocations = HalDrawerExtends.DrawerLocations;

            PositionInstance.Load(); // 在這裏載入所有(Boxtransfer 及 Masktransfer)的路徑點位資料
            pathFileObj = new BoxrobotTransferPathFile(PositionInstance.BTR_Path);
        }
예제 #3
0
        public void TestFilePath()
        {
            PositionInstance.Load(); // 在這裏載入所有(Boxtransfer 及 Masktransfer)的路徑點位資料
            pathFileObj = new BoxrobotTransferPathFile(PositionInstance.BTR_Path);
            var path00 = pathFileObj.GetFromCabinetHomeToDrawerGetPath(BoxrobotTransferLocation.Drawer_01_01);
            var path01 = pathFileObj.GetFromCabinetHomeToDrawerPutPath(BoxrobotTransferLocation.Drawer_01_01);
            var path02 = pathFileObj.GetFromCabinetHomeToDrawerGetPath(BoxrobotTransferLocation.Drawer_04_01);
            var path03 = pathFileObj.GetFromCabinetHomeToDrawerPutPath(BoxrobotTransferLocation.Drawer_04_01);

            //pathFileObj = new BoxrobotTransferPathFile(PositionInstance.BTR_Path);
            var path04 = pathFileObj.GetFromDrawerToCabitnetHomeGetPath(BoxrobotTransferLocation.Drawer_01_01);
            var path05 = pathFileObj.GetFromDrawerToCabitnetHomePutPath(BoxrobotTransferLocation.Drawer_01_01);
            var path06 = pathFileObj.GetFromDrawerToCabitnetHomeGetPath(BoxrobotTransferLocation.Drawer_04_01);
            var path07 = pathFileObj.GetFromDrawerToCabitnetHomePutPath(BoxrobotTransferLocation.Drawer_04_01);
        }
예제 #4
0
 MaskrobotTransferPathFile pathFileObj;//= new BoxrobotTransferPathFile(PositionInstance.BTR_Path);
 public Ut019_MT()
 {
     PositionInstance.Load(); // 在這裏載入所有(Boxtransfer 及 Masktransfer)的路徑點位資料
     pathFileObj = new MaskrobotTransferPathFile(PositionInstance.MTR_Path);
 }
예제 #5
0
 BoxrobotTransferPathFile pathFileObj;//= new BoxrobotTransferPathFile(PositionInstance.BTR_Path);
 public Ut023_OS()
 {
     PositionInstance.Load(); // 在這裏載入所有(Boxtransfer 及 Masktransfer)的路徑點位資料
     pathFileObj = new BoxrobotTransferPathFile(PositionInstance.BTR_Path);
 }