资源简介

----------------------------------------------------------------------------------- EDSDK Library README File ----------------------------------------------------------------------------------- This Readme file contains the latest information about the EDSDK Library. Please read this file before using the EDSDK Library. ----------------------------------------------------------------------------------- Contents 1. Acknowledgments 2. Copyrights 1. Acknowledgments ------------------ This software is based in part on the work of the Independent JPEG Group. 2. Copyrights ------------- IJG: Permission is hereby granted to use, copy, modify, and distribute this software (or portions thereof) for any purpose, without fee, subject to these conditions: 1. If any part of the source code for this software is distributed, then this README file must be included, with this copyright and no-warranty notice unaltered; and any additions, deletions, or changes to the original files must be clearly indicated in accompanying documentation. 2. If only executable code is distributed, then the accompanying documentation must state that "this software is based in part on the work of the Independent JPEG Group". 3. Permission for use of this software is granted only if the user accepts full responsibility for any undesirable consequences; the authors accept NO LIABILITY for damages of any kind. These conditions apply to any software derived from or based on the IJG code, not just to the unmodified library. If you use our work, you ought to acknowledge us. Permission is NOT granted for the use of any IJG author's name or company name in advertising or publicity relating to this software or products derived from it. This software may be referred to only as "the Independent JPEG Group's software". We specifically permit and encourage the use of this software as the basis of commercial products, provided

资源截图

代码片段和文件信息

/******************************************************************************
*                                                                             *
*   PROJECT : Eos Digital camera Software Development Kit EDSDK               *
*                                                                             *
*   Description: This is the Sample code to show the usage of EDSDK.          *
*                                                                             *
*                                                                             *
*******************************************************************************
*                                                                             *
*   Written and developed by Canon Inc.                                       *
*   Copyright Canon Inc. 2018 All Rights Reserved                             *
*                                                                             *
*******************************************************************************/

using System;

namespace CameraControl
{
    public class ActionEvent
    {
        public enum Command
        {
            NONE
            DOWNLOAD
            TAKE_PICTURE
            SET_CAMERASETTING
            PRESS_COMPLETELY
            PRESS_HALFWAY
            PRESS_OFF
            START_EVF
            END_EVF
            GET_PROPERTY
            GET_PROPERTYDESC
            DOWNLOAD_EVF
            SET_AE_MODE
            SET_DRIVE_MODE
            SET_WHITE_BALANCE
            SET_METERING_MODE
            SET_EXPOSURE_COMPENSATION
            SET_IMAGEQUALITY
            SET_AV
            SET_TV
            SET_ISO_SPEED
            SET_EVF_AFMODE
            SET_ZOOM
            SET_AF_MODE
            SET_FLASH_MODE
            EVF_AF_ON
            EVF_AF_OFF
            FOCUS_NEAR1
            FOCUS_NEAR2
            FOCUS_NEAR3
            FOCUS_FAR1
            FOCUS_FAR2
            FOCUS_FAR3
            ZOOM_FIT
            ZOOM_ZOOM
            POSITION_UP
            POSITION_LEFT
            POSITION_RIGHT
            POSITION_DOWN
            REMOTESHOOTING_START
            REMOTESHOOTING_STOP
            SHUT_DOWN
            CLOSING
        }

        private Command _command = Command.NONE;
        private IntPtr _arg;

        public ActionEvent(Command command IntPtr arg)
        {
            _command = command;
            _arg = arg;
        }

        public Command GetActionCommand() { return _command; }
        public IntPtr GetArg() { return _arg; }

    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-16 05:16  EDSDK\
     目录           0  2019-07-16 05:16  EDSDK\Dll\
     文件      509440  2019-05-15 14:48  EDSDK\Dll\EDSDK.dll
     文件      406016  2019-05-15 14:48  EDSDK\Dll\EdsImage.dll
     目录           0  2019-07-16 05:16  EDSDK\Header\
     文件       52091  2019-05-15 14:48  EDSDK\Header\EDSDK.h
     文件       12172  2019-05-15 14:48  EDSDK\Header\EDSDKErrors.h
     文件       52019  2019-05-15 14:48  EDSDK\Header\EDSDKTypes.h
     目录           0  2019-07-16 05:16  EDSDK\Library\
     文件       25240  2019-05-15 14:48  EDSDK\Library\EDSDK.lib
     目录           0  2019-07-16 05:16  EDSDK_64\
     目录           0  2019-07-16 05:16  EDSDK_64\Dll\
     文件      658944  2019-05-15 14:48  EDSDK_64\Dll\EDSDK.dll
     文件      468480  2019-05-15 14:48  EDSDK_64\Dll\EdsImage.dll
     目录           0  2019-07-16 05:16  EDSDK_64\Library\
     文件       23274  2019-05-15 14:48  EDSDK_64\Library\EDSDK.lib
     目录           0  2019-07-16 05:16  Sample\
     目录           0  2019-07-16 05:16  Sample\CSharp\
     目录           0  2019-07-16 05:16  Sample\CSharp\CameraControl\
     目录           0  2019-07-16 05:16  Sample\CSharp\CameraControl\CameraControl\
     文件        2693  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\ActionEvent.cs
     文件        1198  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\ActionListener.cs
     文件        1813  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\ActionSource.cs
     文件         184  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\App.config
     文件       12878  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\CameraControl.csproj
     文件       12816  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\CameraController.cs
     文件        1857  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\CameraEvent.cs
     文件        3663  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\CameraEventListener.cs
     文件       10039  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\CameraModel.cs
     文件       15622  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\CameraSetting.cs
     文件        6045  2019-05-15 14:48  Sample\CSharp\CameraControl\CameraControl\CameraSetting.Designer.cs
............此处省略175个文件信息

评论

共有 条评论