// // Created by lloyd on 2020/10/14. // #ifndef GTCVR_DGNS_GTBASEPARAM_H #define GTCVR_DGNS_GTBASEPARAM_H #include "vector" class dgns_gtbaseparam { public: /** * Constructure */ dgns_gtbaseparam(); public: std::string id; std::string createtime; std::string recivetime; std::string wellname; std::vector> sgt; double s_max; double s_min; double l_max; double l_min; //载荷中线值 double l_mid; //功图第一拐点载荷 double l_fistdownturnpoint; //计算出来的冲程 double s; //读过来的冲程 一手源数据 double s_pre; //冲次 double n; // 载荷差值 double l; double s_effect; double area; //上行载荷均值 double upload; //下行载荷均值 double download; //0: not legal ;1: in legal ;default:-1 int islegal; std::string remark; int sgtpointnum; //对应[ s_max ]的在array中的 index int s_max_point_location; //对应[ s_min ]的在array中的 index int s_min_point_location; //对应[ l_max ]的在array中的 index int l_max_point_location; //对应[ l_min ]的在array中的 index int l_min_point_location; /*-----------------------------------*/ public: /** * trans gt formate str to obj * @param sgt * @return */ std::vector> gt_trans_strtoarray(std::string sgt); std::string gt_trans_arraytostr(std::vector> sgt); }; #endif //GTCVR_DGNS_GTBASEPARAM_H