/// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="ObsFileConvertOption"></param>
 /// <param name="inPath"></param>
 public ObsFileFormater(ObsFileConvertOption ObsFileConvertOption, string inPath)
 {
     this.Option          = ObsFileConvertOption;
     this.OutputDirectory = this.Option.OutputDirectory;
     this.FilePath        = inPath;
     this.FileName        = Path.GetFileName(FilePath);
     this.IsHeaderWrited  = false;
 }
Esempio n. 2
0
        private static void Format(ObsFileConvertOption opt, string inputPath)
        {
            ObsFileFormater ObsFileFormater = new ObsFileFormater(opt, inputPath);

            // ObsFileFormater.SubDirectory = subDir;
            ObsFileFormater.Init();
            ObsFileFormater.Run();
        }
Esempio n. 3
0
 public FormatObsParam()
 {
     Option = new ObsFileConvertOption();
     Option.OutputDirectory = "./Formated";
     Type = ProcessType.F;
 }