Exemple #1
0
        public override void OneShot(Command command)
        {
            try
            {
                HOperatorSet.CountSeconds(out startTime);
                if (IsContinuousShot || IsExtTrigger)
                {
                    ContinuousShotStop();
                }
                Command = command;
                int nRet;

                //触发命令
                nRet = m_pOperator.CommandExecute("TriggerSoftware");
                if (CameraOperator.CO_OK != nRet)
                {
                    Util.Notify("相机软触发异常");
                }
            }
            catch
            {
                IsLink = false;
                Util.Notify("相机软触发异常");
            }
        }