Ejemplo n.º 1
0
 public AutoFocusing(smbStage stage, smbCCD ccd, frmTIRF frm, ImageDrawer imgdrawer, int selectedchannel)
 {
     m_frm = frm;
     m_stage = stage;
     m_ccd = ccd;
     m_imgdrawer = imgdrawer;
     m_selectedchannel = selectedchannel;
 }
Ejemplo n.º 2
0
        public ImageDrawer(string colormappath, frmTIRF f, smbCCD ccd)
        {
            m_frm = f;
            m_ccd = ccd;
            m_auto = false;
            m_scaler = 1;

            LoadColors(colormappath);
            m_buf = new int[m_ccd.m_imagewidth * m_ccd.m_imageheight];

            dump_array = new byte[m_ccd.m_imageheight, m_ccd.m_imagewidth];
            display_array = new int[m_ccd.m_imagewidth * m_ccd.m_imageheight];
        }
Ejemplo n.º 3
0
        public AutoFlow(smbCCD ccd, ImageDrawer imgdrawer, frmTIRF frm)
        {
            m_imgdrawer = imgdrawer;
            m_ccd = ccd;
            m_frm = frm;

            string[] ports = SerialPort.GetPortNames();
            foreach (string port in ports)
            {
                try
                {
                    m_pumps.Add(new smbPump(smbPump.pumpType.CHEMYX_FUSION, port));
                }
                catch
                {
                    try
                    {
                        m_pumps.Add(new smbPump(smbPump.pumpType.HARVARD_2000, port));
                    } catch {}
                }
            }
        }
Ejemplo n.º 4
0
 public AutoMove(ImageDrawer imgdrawer, frmTIRF frm)
 {
     m_imgdrawer = imgdrawer;
     m_frm = frm;
     m_amstage = new smbStage(smbStage.StageType.ASI_MS2000);
 }