コード例 #1
0
        private void OnDataCollected(object sender, CommunicationHandlerEventArgs e)
        {
            string status = "CH0: " + e.GetCH0 + ", " +
                            "CH1: " + e.GetCH1 + ", " +
                            "CH2: " + e.GetCH2 + ", " +
                            "CH3: " + e.GetCH3;

            status_update(status);
            Int16[] power = { e.GetCH0, e.GetCH1, e.GetCH2, e.GetCH3 };
            draw_soundmap(power);
        }
コード例 #2
0
 protected virtual void OnReceived(CommunicationHandlerEventArgs e)
 {
     received?.Invoke(this, e);
 }