コード例 #1
0
 public void VisionAction(VisionActionType Action)
 {
     try
     {
         this.Invoke(visionActionDelegate, Action);
     }
     catch { }
 }
コード例 #2
0
        private void VisionActionDelegateFunc(VisionActionType Action)
        {
            try
            {
                switch (Action)
                {
                case VisionActionType.ImageAcquisition:
                    cmdImageAcquisitionNewImageCommand_Click(null, null);
                    break;

                case VisionActionType.RunTool:
                    Subject_Ran(null, null);
                    break;
                }
            }
            catch { }
        }