public void ClearArray() { try { if (ValidateData.ArrayIsNullOrZero(TheConvertingStation)) { TheConvertingStation.Clear(); } if (ValidateData.ArrayIsNullOrZero(TheGeneratrix)) { TheGeneratrix.Clear(); } if (ValidateData.ArrayIsNullOrZero(TheCircuit)) { TheCircuit.Clear(); } if (ValidateData.ArrayIsNullOrZero(TheDetection)) { TheDetection.Clear(); } if (ValidateData.ArrayIsNullOrZero(TheDeviceDataSetting)) { TheDeviceDataSetting.Clear(); } if (ValidateData.ArrayIsNullOrZero(TheTimeSetting)) { TheTimeSetting.Clear(); } } catch (Exception msg) { Log.LogWrite(msg); } }
public void AddCircuitToArray(Circuit theCircuit) { TheCircuit.Add(theCircuit); }