Beispiel #1
0
 private void startProgramResponse(start_program_response_t res)
 {
     if (res.status_code == status_codes_t.ERR)
     {
         stop();
         MessageBox.Show("Message: " + res.response_message, "Error");
     }
 }
 public void MessageReceived(LCM.LCM.LCM lcm, string channel, LCMDataInputStream data_stream)
 {
     if (channel == Channels.start_program_res_channel)
     {
         start_program_response_t response = new start_program_response_t(data_stream);
         var _ea = Notification.Instance;
         _ea.GetEvent <ProgramStartResponseEvent>().Publish(response);
     }
 }