예제 #1
0
 public Bolt(float diameter, float length, HeadType headType, int stock)
     : base(stock, "B-" + headType.ToString() + "-D" + diameter.ToString() + "-L" + length.ToString())
 {
     this.Diameter        = diameter;
     this.Length          = length;
     this.CurrentHeadType = headType;
 }
예제 #2
0
 public static string GetFilePath(HeadType type)
 {
     return(HEAD_PATHS + type.ToString());
 }