|
12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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<string, DataTable> 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);
- }
- }
- }
|