using CnasSynchronusIDAL; using CnasSynchrousModel; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace CnasSynchronusDAL { public class FoxProDBService : IFoxProService { public Dictionary GetInstrumentData(FoxProOpenParams t) { return FoxProDAL.ReadFoxProTables(t); } public DataTable GetInstrumentDataByDate(FoxProOpenParams t, ConditionParams u) { return FoxProDAL.ReadFoxProTablesByDate(t,u); } public DataTable GetInstrumentDataByTableName(FoxProOpenParams t, ConditionParams u) { return FoxProDAL.ReadFoxProTablesByTableName( t.StrPath, t.StrUser, t.StrPwd, t.autosql.FoxProViewName, t.autosql.FoxProViewSql, u.TableName ); } public DataTable GetInstrumentDataStruct(FoxProOpenParams t, ConditionParams u) { return FoxProDAL.ReadFoxProTableStruct(t, u); } } }