Пример #1
0
 public static void SetWriter(AdditionalInfo addiInfo)
 {
     if (_abandonmentWriter == null)
     {
         _addiInfo          = addiInfo;
         _abandonmentWriter = new AbandonmentWriter(_addiInfo.outPath + "\\");
     }
 }
Пример #2
0
        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;
        }