Override ToString method on upper and lower tools
This commit is contained in:
@@ -94,5 +94,10 @@ namespace CincyLib.PressBrake
|
||||
Console.WriteLine(" Type: {0}", Type);
|
||||
Console.WriteLine(" Bend Radius: {0}", DevelopedRadius());
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{ToolName}, {Length} LG";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,6 +87,11 @@ namespace CincyLib.PressBrake
|
||||
Console.WriteLine(" Offset: {0}", Offset);
|
||||
Console.WriteLine(" Type: {0}", Type);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{ToolName}, {Length} LG";
|
||||
}
|
||||
}
|
||||
|
||||
public class ToolSegment
|
||||
|
||||
Reference in New Issue
Block a user