示例#1
0
        public DisplayCameraBasler(ref MilApp milApp, Id id,
                                   Form form,
                                   ref Panel pnlBorder,
                                   ref Label lbModel, ref Label lbName, ref Label lbIp,
                                   ref Panel pnlCam,
                                   ref Label lbIntensity, ref Label lbPosX, ref Label lbPosY, ref Label lbFps,
                                   ref TextBox textBox)
        {
            this.milApp = milApp;

            this.IdCam = new Id(id.DevNSys, id.DevNCam);

            this.form = form;

            this.pnlBorder = pnlBorder;
            this.lbModel   = lbModel;
            this.lbName    = lbName;
            this.lbIp      = lbIp;

            this.pnlCam = pnlCam;

            this.lbValue = lbIntensity;

            this.lbPosX = lbPosX;
            this.lbPosY = lbPosY;
            this.lbFps  = lbFps;

            this.txBoxName = textBox;
        }
示例#2
0
        public DisplayCameraBaslerForm(ref MilApp milApp, Id id)
        {
            InitializeComponent();

            DisplayCamera = new DisplayCameraBasler(ref milApp, id,
                                                    this,
                                                    ref pnlBorder, ref lbModel, ref lbName, ref lbIp,
                                                    ref pnlCam, ref lbIntensity, ref lbPosX, ref lbPosY, ref lbFps, ref txBoxName);

            DisplayCamera.AllocCamera();
        }
示例#3
0
        public DisplayCameraFlirForm(ref MilApp milApp, Id id)
        {
            InitializeComponent();

            //DisplayCamera = new DisplayCameraFlir(ref milApp, id, this,
            //    ref pnlBorder, ref lbModel, ref lbName, ref lbIp,
            //    ref pnlCam, ref pnlLut,
            //    ref lbTemperature, ref lbMinTemperature, ref lbMaxTemperature,
            //    ref lbPosX, ref lbPosY, ref lbFps,
            //    ref btnAuto, ref numericUpDownLutLow, ref numericUpDownLutHight,
            //    ref txBoxName);

            DisplayCamera.AllocCamera();
        }