/// <summary> /// Export current IOmap in subConfig to a <c>Excel</c>. You should notice that /// you have to call "SaveIOmapConfig" before this method if you changed /// the iomap. Otherwise, the saved result will be the old info. /// </summary> public void SaveIOmapToExcel() { using (IoMapConfigOperator op = (IoMapConfigOperator)configOperator) { op.saveIOmapToExcel(Config); } }
public Config RefreshIOInfo(DataTable dt) { using (IoMapConfigOperator op = new IoMapConfigOperator()) { this.Config.IomapInfo.IoMapTable = dt; op.RefreshMap(Config); } return(Config); }
public string SetIoMap() { string path = null; using (IoMapConfigOperator op = new IoMapConfigOperator()) { path = op.SetIoMap(Config); } return(path); }
public Config RefreshIOInfo(DataTable dt, string fileName) { using (IoMapConfigOperator op = new IoMapConfigOperator()) { this.Config.IomapInfo.IoMapTable = dt; this.Config.IomapInfo.FileName = fileName; op.RefreshMap(Config); } return(Config); }