public string ToString(string prependString) { string retstr = prependString + ".selectedFeedbackSensor = " + FeedbackDeviceRoutines.ToString(selectedFeedbackSensor) + ";\n"; retstr += base.ToString(ref prependString); return(retstr); }
public new string ToString(string prependString) { string retstr = primaryPID.ToString(prependString + ".primaryPID"); retstr += auxilaryPID.ToString(prependString + ".auxilaryPID"); retstr += prependString + ".forwardLimitSwitchSource = " + LimitSwitchRoutines.ToString(forwardLimitSwitchSource) + ";\n"; retstr += prependString + ".reverseLimitSwitchSource = " + LimitSwitchRoutines.ToString(reverseLimitSwitchSource) + ";\n"; retstr += prependString + ".sum_0 = " + FeedbackDeviceRoutines.ToString(sum_0) + ";\n"; retstr += prependString + ".sum_1 = " + FeedbackDeviceRoutines.ToString(sum_1) + ";\n"; retstr += prependString + ".diff_0 = " + FeedbackDeviceRoutines.ToString(diff_0) + ";\n"; retstr += prependString + ".diff_1 = " + FeedbackDeviceRoutines.ToString(diff_1) + ";\n"; retstr += base.ToString(prependString); return(retstr); }