//Constructor public StockItem(int R, string M, string MID, int S, string LOC, string BN, CheckMiss C) { RosID = R; Manufacturer = M; ManufacturerID = MID; Stock = S; Location = LOC; BoxName = BN; Whereis = C; }
//For a Bolt public StockItem(int R, string S, string SZ, int L, BoltType BT, BoltAmount BA, string LOC, string BN, CheckMiss C) { RosID = R; Supplier = S; Size = SZ; Length = L; Bolt_Type = BT; Bolt_Amount = BA; Location = LOC; BoxName = BN; Whereis = C; Length = L; Item = ItemType.Bolt; }