Пример #1
0
 public EDCamera(IntPtr cam, EDSDK.EdsDeviceInfo info, IProfileService profileService)
 {
     this.profileService = profileService;
     _cam = cam;
     Id   = info.szDeviceDescription;
     Name = info.szDeviceDescription;
 }
Пример #2
0
 public static EDSDK.EdsDeviceInfo[] GetDeviceInfo(IntPtr[] camera, int Count)
 {
     EDSDK.EdsDeviceInfo[] DeviceInfo = new EDSDK.EdsDeviceInfo[Count];
     EDSDK.EdsDeviceInfo   deviceInfo;
     for (int i = 0; i < Count; i++)
     {
         EDSDK.EdsGetDeviceInfo(camera[i], out deviceInfo);
         DeviceInfo[i] = deviceInfo;
     }
     return(DeviceInfo);
 }