gtsecondanalysize.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. //
  2. // Created by lloyd on 2020/9/28.
  3. //
  4. #ifndef GTCVR_GTSECONDANALYSIZE_H
  5. #define GTCVR_GTSECONDANALYSIZE_H
  6. #include "gtbaseparamanalysize.h"
  7. #include "DataMapping/dgns_gtcvrparam.h"
  8. class gtsecondanalysize {
  9. private:
  10. /**
  11. * case3
  12. * @param oGTParam
  13. * @param nGTParam
  14. * @param param
  15. * @return
  16. */
  17. std::string pro_rodbreaktype_part3(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
  18. dgns_gtcvrparam::paramrodbreaktype param);
  19. /**
  20. * case1
  21. * @param oGTParam
  22. * @param nGTParam
  23. * @param param
  24. * @return
  25. */
  26. std::string pro_rodbreaktype_part1(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
  27. dgns_gtcvrparam::paramrodbreaktype param);
  28. private:
  29. /**
  30. * 杆断类整体算法
  31. * @param oGTParam
  32. * @param nGTParam
  33. * @param ngtcvresult
  34. * @param cal_simiwithbzt
  35. * @param param
  36. * @return
  37. */
  38. std::string
  39. pro_rodbreaktype_gather(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam, std::string ngtcvresult,
  40. double cal_simiwithbzt, dgns_gtcvrparam::paramrodbreaktype param);
  41. /**
  42. * 判断下碰上挂
  43. * @param gtFormate 功图数据
  44. * @param MinF 最小载荷
  45. * @param MaxF 最大载荷
  46. * @param MaxS 最大冲程
  47. * @param sgtpointnum
  48. * @return
  49. */
  50. std::string pro_topbottomtouch(std::vector<std::vector<double>> gtFormate, double MinF, double MaxF, double MaxS,
  51. int sgtpointnum);
  52. /**
  53. * 判断工作参数是否调整
  54. * @param oGTParam
  55. * @param nGTParam
  56. * @param param
  57. * @return 泵工作参数调整/""
  58. */
  59. std::string pro_worksystemchange(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
  60. dgns_gtcvrparam::paramworksyschange param);
  61. /**
  62. * 油井出砂或机械振动
  63. * @param oGTParam 旧功图参数
  64. * @param nGTParam 新功图参数
  65. * @param param 参数
  66. * @return
  67. */
  68. std::string pro_outsandorvibration(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
  69. dgns_gtcvrparam::paramoutsandorvibration param);
  70. public:
  71. std::string
  72. secondanalysize_main(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam, int firstanalysizeresult_code,
  73. std::string firstanalysizeresult_str, double cal_simiwithbzt);
  74. };
  75. #endif //GTCVR_GTSECONDANALYSIZE_H