private void stopProgramResponse(stop_program_response_t res) { if (res.status_code == status_codes_t.OK) { stop(); } }
public void MessageReceived(LCM.LCM.LCM lcm, string channel, LCMDataInputStream data_stream) { if (channel == Channels.stop_program_res_channel) { stop_program_response_t response = new stop_program_response_t(data_stream); var _ea = Notification.Instance; _ea.GetEvent <ProgramStopResponseEvent>().Publish(response); } }