123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- //
- // Created by lloyd on 2020/10/14.
- //
- #ifndef GTCVR_DGNS_GTCVRPARAM_H
- #define GTCVR_DGNS_GTCVRPARAM_H
- #include "string"
- class dgns_gtcvrparam {
- public:
- int paramid;
- std::string paramitemname;
- std::string paramcontent;
- //杆断类参数
- class paramrodbreaktype {
- public:
- paramrodbreaktype();
- double DLoadWave;
- double GTAreaWave;
- double SimilarOfBZT;
- double DLoadDown3;
- double case3_param1;
- double case3_param2;
- double case3_param3;
- double case3_param4;
- double case3_param5;
- double case1_param1;
- };
- //生产变化参数
- class paramworksyschange{
- public:
- paramworksyschange();
- double param1;
- double param2;
- };
- //出砂诊断参数
- class paramoutsandorvibration{
- public:
- paramoutsandorvibration();
- int WaveCrest_MinNum;
- int WaveTrough_MinNum;
- double AmplitudeMin;
- double SD_Vibration;
- double SD_Sand;
- };
- enum parammodelkind{
- paramrodbreaktype_,
- paramworksyschange_,
- paramoutsandorvibration_,
- };
- /*template<class T>
- void getparam(T paramobj);
- void getparam(std::string paramcodename);*/
- void *getParam(parammodelkind mk);
- std::string allParamToJsonTranslate();
- };
- #endif //GTCVR_DGNS_GTCVRPARAM_H
|