public InputItem(string productName, string borx, string type, string size, string position, string room, string unitLength = null, string applydirection = null) { ProductName = productName; BorX = borx; Type = type; Size = size; Position = position; Room = room; UnitLength = unitLength; ApplyDirection = applydirection; SummedUpSize = CalculationService.CalculateSummedUpSize(Size); Quantity = CalculationService.CalculateInputItemQuantity(this); }