Example #1
0
        private void MainFrm_Load(object sender, EventArgs e)
        {

            // reader is our handle to the physical reader.
            //reader = new RFIDReader(this);
            handleTags = new WispHandleTags();
            readerMgr = new ReaderManager(this, handleTags);

            log = new WispLoggingManager();

            // init the saturn object.
            saturn = new SaturnDemo.Saturn();

            // Init midi config
            midi = new MIDI_Control_Demo.Midi();

            // Init bink bonk
            binkBonk = new BinkBonk.BinkBonk_Demo();
            handleTags.setBinkBonkCallback(binkBonk);

            // Setup axis labels for the various graphs.
            InitSOCGraph();
            InitTempGraph();

            // Other init code
            InitTagStats();

            // Grab initial component sizes for easy resize
            formInitialHeight = this.Height;
            pnlTagListInitialHeight = dgvTagStats.Height;

            // Init GUI operational mode to idle (disconnected)
            SetMode(ReaderManager.GuiModes.Idle);
        }
Example #2
0
 public void setBinkBonkCallback(BinkBonk_Demo o)
 {
     binkBonkCallback = o;
 }
Example #3
0
        private void MainFrm_Load(object sender, EventArgs e)
        {
            // reader is our handle to the physical reader.
            //reader = new RFIDReader(this);
            handleTags = new WispHandleTags();
            readerMgr = new ReaderManager(this, handleTags);

            log = new WispLoggingManager();

            // init the saturn object.
            saturn = new SaturnDemo.Saturn();

            // Init midi config
            midi = new MIDI_Control_Demo.Midi();

            // Init bink bonk
            binkBonk = new BinkBonk.BinkBonk_Demo();
            handleTags.setBinkBonkCallback(binkBonk);

            // Setup axis labels for the various graphs.
            InitSOCGraph();
            InitTempGraph();

            // Other init code
            InitTagStats();

            // Grab initial component sizes for easy resize
            formInitialHeight = this.Height;
            pnlTagListInitialHeight = dgvTagStats.Height;

            // Init GUI operational mode to idle (disconnected)
            SetMode(ReaderManager.GuiModes.Idle);
        }