public int set_move(YServoMove newval) { string rest_val; rest_val = (newval.target).ToString() + ":" + (newval.ms).ToString(); return(_setAttr("move", rest_val)); }
public YServo(string func) : base("Servo", func) { _logicalName = YServo.LOGICALNAME_INVALID; _advertisedValue = YServo.ADVERTISEDVALUE_INVALID; _position = YServo.POSITION_INVALID; _range = YServo.RANGE_INVALID; _neutral = YServo.NEUTRAL_INVALID; _move = new YServoMove(); }
public int set_move(YServoMove newval) { string rest_val; rest_val = (newval.target).ToString() + ":" + (newval.ms).ToString(); return _setAttr("move", rest_val); }
public YServo(string func) : base("Servo", func) { _logicalName = YServo.LOGICALNAME_INVALID; _advertisedValue = YServo.ADVERTISEDVALUE_INVALID; _position = YServo.POSITION_INVALID; _range = YServo.RANGE_INVALID; _neutral = YServo.NEUTRAL_INVALID; _move = new YServoMove(); }