示例#1
0
            public override string ToString()
            {
                string flagsString = "[";

                for (int i = 0; i < _flags.Count; i++)
                {
                    flagsString = flagsString + _flags[i].ToString();
                    if (_flags.Count - i > 1)
                    {
                        flagsString += ",";
                    }
                }
                flagsString += "]";

                return("InterfaceState [interface_id=" + _interface_id +
                       ", system_state=" + (Int16)_system_state +
                       ", timestamp=" + _timestamp.ToString() +
                       ", program_id=" + _program_id +
                       ", block_id=" + _block_id +
                       ", program_current_item=" + _program_current_item.ToString() +
                       ", flags=" + flagsString +
                       ", edit_enabled=" + _edit_enabled.ToString().ToLower() +
                       ", error_severity=" + (Int32)_error_severity +
                       ", error_code=" + (Int32)_error_code + "]");
            }
 public override string ToString()
 {
     return("LookupTransformGoal: " +
            "\ntarget_frame: " + target_frame.ToString() +
            "\nsource_frame: " + source_frame.ToString() +
            "\nsource_time: " + source_time.ToString() +
            "\ntimeout: " + timeout.ToString() +
            "\ntarget_time: " + target_time.ToString() +
            "\nfixed_frame: " + fixed_frame.ToString() +
            "\nadvanced: " + advanced.ToString());
 }
示例#3
0
 public override string ToString()
 {
     return("TopicStatisticsMsg: " +
            "\ntopic: " + topic.ToString() +
            "\nnode_pub: " + node_pub.ToString() +
            "\nnode_sub: " + node_sub.ToString() +
            "\nwindow_start: " + window_start.ToString() +
            "\nwindow_stop: " + window_stop.ToString() +
            "\ndelivered_msgs: " + delivered_msgs.ToString() +
            "\ndropped_msgs: " + dropped_msgs.ToString() +
            "\ntraffic: " + traffic.ToString() +
            "\nperiod_mean: " + period_mean.ToString() +
            "\nperiod_stddev: " + period_stddev.ToString() +
            "\nperiod_max: " + period_max.ToString() +
            "\nstamp_age_mean: " + stamp_age_mean.ToString() +
            "\nstamp_age_stddev: " + stamp_age_stddev.ToString() +
            "\nstamp_age_max: " + stamp_age_max.ToString());
 }
示例#4
0
 public override string ToString()
 {
     return "ClockMsg: " +
     "\nclock: " + clock.ToString();
 }
 public override string ToString()
 {
     return("MapMetaData [map_load_time=" + _map_load_time.ToString() + ",  resolution=" + _resolution.ToString("F", System.Globalization.CultureInfo.InvariantCulture) + ",  width=" + _width + ",  height=" + _height + ",  origin=" + _origin.ToString() + "]");
 }
示例#6
0
 public override string ToString()
 {
     return("GoalID [stamp=" + _stamp.ToString() +
            ", id=" + _id + "]");
 }