예제 #1
0
 public override msgs.BlinkActionGoal GetGoal()
 {
     msgs.BlinkActionGoal message         = new msgs.BlinkActionGoal();
     msgs.BlinkGoal       message_content = new msgs.BlinkGoal();
     message_content.bg_color        = bg_color;
     message_content.colors          = colors;
     message_content.blink_duration  = blink_duration;
     message_content.blink_rate_mean = blink_rate_mean;
     message_content.blink_rate_sd   = blink_rate_sd;
     message.goal = message_content;
     return(message);
 }
예제 #2
0
 public BlinkActionGoal()
 {
     header  = new Header();
     goal_id = new GoalID();
     goal    = new BlinkGoal();
 }