12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- //
- // Created by lloyd on 2020/9/28.
- //
- #ifndef GTCVR_GTSECONDANALYSIZE_H
- #define GTCVR_GTSECONDANALYSIZE_H
- #include "gtbaseparamanalysize.h"
- #include "DataMapping/dgns_gtcvrparam.h"
- class gtsecondanalysize {
- private:
- /**
- * case3
- * @param oGTParam
- * @param nGTParam
- * @param param
- * @return
- */
- std::string pro_rodbreaktype_part3(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
- dgns_gtcvrparam::paramrodbreaktype param);
- /**
- * case1
- * @param oGTParam
- * @param nGTParam
- * @param param
- * @return
- */
- std::string pro_rodbreaktype_part1(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
- dgns_gtcvrparam::paramrodbreaktype param);
- private:
- /**
- * 杆断类整体算法
- * @param oGTParam
- * @param nGTParam
- * @param ngtcvresult
- * @param cal_simiwithbzt
- * @param param
- * @return
- */
- std::string
- pro_rodbreaktype_gather(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam, std::string ngtcvresult,
- double cal_simiwithbzt, dgns_gtcvrparam::paramrodbreaktype param);
- /**
- * 判断下碰上挂
- * @param gtFormate 功图数据
- * @param MinF 最小载荷
- * @param MaxF 最大载荷
- * @param MaxS 最大冲程
- * @param sgtpointnum
- * @return
- */
- std::string pro_topbottomtouch(std::vector<std::vector<double>> gtFormate, double MinF, double MaxF, double MaxS,
- int sgtpointnum);
- /**
- * 判断工作参数是否调整
- * @param oGTParam
- * @param nGTParam
- * @param param
- * @return 泵工作参数调整/""
- */
- std::string pro_worksystemchange(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
- dgns_gtcvrparam::paramworksyschange param);
- /**
- * 油井出砂或机械振动
- * @param oGTParam 旧功图参数
- * @param nGTParam 新功图参数
- * @param param 参数
- * @return
- */
- std::string pro_outsandorvibration(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam,
- dgns_gtcvrparam::paramoutsandorvibration param);
- public:
- std::string
- secondanalysize_main(dgns_gtbaseparam oGTParam, dgns_gtbaseparam nGTParam, int firstanalysizeresult_code,
- std::string firstanalysizeresult_str, double cal_simiwithbzt);
- };
- #endif //GTCVR_GTSECONDANALYSIZE_H
|