public IndTest() { _index = 0; _comment = string.Empty; _valMin = 0; _valMax = 0; _valUnit = string.Empty; _errordescription = string.Empty; Input = new Contact[7]; VoltSupply = new VoltSupply(); }
public IndTest(int inputCount, int inputCount2) { _index = 0; _comment = string.Empty; _valMin = 0; _valMax = 0; _valUnit = string.Empty; _errordescription = string.Empty; VoltSupply = new VoltSupply(); Input = new Contact[inputCount]; for (int i = 0; i < Input.Length; i++) { Input[i] = new Contact(); } CurrSource = new currSource[inputCount2]; for (int i = 0; i < CurrSource.Length; i++) { CurrSource[i] = new currSource(); } }