Exemple #1
0
 public ColorimeterResult(Bitmap bitmap, ColorPanel panel)
 {
     this.m_bitmap = bitmap;
     this.m_panel  = panel;
     m_pipeline    = new imagingpipeline();
     CIE1931xyY    = new CIE1931Value();
 }
Exemple #2
0
        public Engine(string scriptName)
        {
            colorimeter  = new Colorimeter();
            xml          = new XMLManage(scriptName);
            dut          = new Hodor();
            ip           = new imagingpipeline();
            args         = new DataChangeEventArgs();
            log          = new testlog();
            fixture      = new Fixture("COM1");
            SerialNumber = "";

            if (!System.IO.Directory.Exists(IMAGE_SAVE_PATH))
            {
                System.IO.Directory.CreateDirectory(IMAGE_SAVE_PATH);
            }
        }