コード例 #1
0
        /// <summary>
        /// Registers each concrete camera builder.
        /// </summary>
        /// <returns></returns>
        public static CameraFactory RegisterAllCameraClasses()
        {
            CameraFactory factory = new CameraFactory();

            factory.RegisterBuilder("Vstarcam_C7823WIP", new Vstarcam_C7823WIPCameraBuilder());
            //factory.register_builder("easyN_A110", easyN_A110CameraBuilder());
            //factory.register_builder("HIKVISION_camera", HIKVISION_cameraCameraBuilder());

            return(factory);
        }
コード例 #2
0
 public static void RegisterAllCameraClasses(CameraFactory factory)
 {
     factory.RegisterBuilder("vstarcam_C7823WIP", new Vstarcam_C7823WIPCameraBuilder());
     //factory.register_builder("easyN_A110", easyN_A110CameraBuilder());
     //factory.register_builder("HIKVISION_camera", HIKVISION_cameraCameraBuilder());
 }