CNAS取数仪器端升级
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

73 行
2.1KB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Data;
  6. using CnasSynchrousModel;
  7. namespace CnasLocalIDAL
  8. {
  9. public interface ILaboratoryTest
  10. {
  11. /// <summary>
  12. /// 获取所有数据
  13. /// </summary>
  14. /// <returns></returns>
  15. List<LaboratoryTest> GetAllLaboratoryTests();
  16. /// <summary>
  17. /// 根据类型获取数据
  18. /// </summary>
  19. /// <param name="strType"></param>
  20. /// <returns></returns>
  21. List<LaboratoryTest> GetLaboratoryTestsByType(string strType);
  22. /// <summary>
  23. /// 获取没有上传过的数据
  24. /// </summary>
  25. /// <returns></returns>
  26. List<LaboratoryTest> GetLaboratoryTestsByNoUpLoad();
  27. /// <summary>
  28. /// 根据类型和上次上传的最大时间获取数据
  29. /// </summary>
  30. /// <param name="dictType"></param>
  31. /// <returns></returns>
  32. List<LaboratoryTest> GetLaboratoryTestsByTypeAndDate(Dictionary<string, string> dictType);
  33. /// <summary>
  34. /// 获取所有数据,返回dataTable
  35. /// </summary>
  36. /// <returns></returns>
  37. DataTable GetAllLaboratoryTestsToDT();
  38. /// <summary>
  39. /// 根据类型获取所有数据,返回dataTable
  40. /// </summary>
  41. /// <param name="strType"></param>
  42. /// <returns></returns>
  43. DataTable GetLaboratoryTestsByTypeToDT(string strType);
  44. /// <summary>
  45. /// 插入一条数据,成功返回1
  46. /// </summary>
  47. /// <param name="test"></param>
  48. /// <returns></returns>
  49. int InsertLaboratory(LaboratoryTest test);
  50. /// <summary>
  51. /// 更新一条数据,成功返回1
  52. /// </summary>
  53. /// <param name="test"></param>
  54. /// <returns></returns>
  55. int UpdateLaboratory(LaboratoryTest test);
  56. /// <summary>
  57. /// 删除一条数据,成功返回1
  58. /// </summary>
  59. /// <param name="test"></param>
  60. /// <returns></returns>
  61. int DeleteLaboratory(LaboratoryTest test);
  62. }
  63. }