public static void SetWriter(AdditionalInfo addiInfo) { if (_abandonmentWriter == null) { _addiInfo = addiInfo; _abandonmentWriter = new AbandonmentWriter(_addiInfo.outPath + "\\"); } }
public static void Output() { _fileName += "_" + _addiInfo.rvtFileName + ".txt"; string head = _addiInfo.bldgName + "\t" + _addiInfo.bldgUse + "\t" + _addiInfo.builtYear + "\r\n"; _abandonment = head + _abandonment; IOHelper.Output(_abandonment, _fileName, _directory); _abandonmentWriter = null; }