⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pnwavsum.h

📁 PQDIF软件包(SDK,Software Development Kit),它能转换、生成并且显示PQDIF文件.对于开发电力系统的数据输出非常有用。
💻 H
字号:
/*
**
**
**
**
**
*/

#ifndef PNWAVSUM_INC
#define PNWAVSUM_INC

/*
**  manifest constants used to describe the type of rms disturbance that is
**  summarized.
*/
#define  WAVESUM_UNCAT   0
#define  WAVESUM_SAG     1
#define  WAVESUM_SWELL   2


class PQNodeWaveSum
    {
    private:
        int iChannel;
        float fMinVal;
        float fMaxVal;
        float fMinRMSVal;
        float fMaxRMSVal;
        float fAveRMSVal;
        float fMaxExcur;
        float fDuration;
        float fArea;
        BOOL bIsTrigger;
        int iCategory;

    protected:


    public:

        /*
        ** Main form of the constructor usually called by one of the 
        ** disturbance decoder modules.  Not normally called by an app
        ** directly since app doesn't have direct access to some of the info.
        */
        PQNodeWaveSum(int iChan,int iCat,float fMin, float fMax,
                      float fMinRMS, float fMaxRMS,float fMaxEx,
                      float fDur,BOOL bIsTrig,
                      float fDistArea = 0.0,
                      float fAveRMS = 0.0);

        virtual ~PQNodeWaveSum();

        int GetChannel() {return iChannel;}

        BOOL IsTrigger() {return bIsTrigger;}

        float GetMin() {return fMinVal;}

        float GetMax() {return fMaxVal;}

        float GetMinRMS() {return fMinRMSVal;}

        float GetMaxRMS() {return fMaxRMSVal;}

        float GetAveRMS() {return fAveRMSVal;}

        float GetDuration() {return fDuration;}

        int  GetCategory() {return iCategory;}
    
        float GetDistArea() {return fArea;}

        float GetMaxExcursion() {return fMaxExcur;}

    };

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -