CNAS取数仪器端升级
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
752B

  1. using CnasSynchronusIDAL;
  2. using CnasSynchrousModel;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. namespace CnasSynchronusDAL
  9. {
  10. public class TXTService : ITXTService
  11. {
  12. public Dictionary<string, DataTable> GetInstrumentData(TXTOpenParams t)
  13. {
  14. return new Dictionary<string, DataTable>() { { "txt", TXTDAL.ReadTxtFileColumn(t) } };
  15. }
  16. public DataTable GetInstrumentDataByDate(TXTOpenParams t, ConditionParams u)
  17. {
  18. return TXTDAL.ReadTxtFileData(t);
  19. }
  20. public DataTable GetInstrumentDataStruct(TXTOpenParams t, ConditionParams u)
  21. {
  22. return TXTDAL.ReadTxtFileColumn(t);
  23. }
  24. }
  25. }