51 lines
1.1 KiB
C
51 lines
1.1 KiB
C
#ifndef UPR
|
|
#define UPR
|
|
|
|
// Ïåðåìåííûå, êîòîðûå îïðåäåëåíû â upr.c (begin)
|
|
//#########################################################################
|
|
volatile short onceUpr;
|
|
struct SgmPar sgmPar;
|
|
struct Rf rf;
|
|
struct Rs rs;
|
|
struct Rp rp;
|
|
|
|
float IzLim;
|
|
volatile float psi;
|
|
float idZ;
|
|
float iqZ;
|
|
float iZ;
|
|
float ws;
|
|
float sinTheta;
|
|
float cosTheta;
|
|
float id1;
|
|
float iq1;
|
|
float id2;
|
|
float iq2;
|
|
struct Cc cc;
|
|
struct Cf cf;
|
|
struct Csp csp;
|
|
struct Ivc ivc;
|
|
struct Ip ip;
|
|
//#########################################################################
|
|
// Ïåðåìåííûå, êîòîðûå îïðåäåëåíû â upr.c (end)
|
|
|
|
|
|
|
|
|
|
// Ïåðåìåííûå, êîòîðûå îáúÿâëåíû â upr.c (begin)
|
|
//#########################################################################
|
|
extern volatile float wmNf;
|
|
extern volatile float wm;
|
|
extern volatile float wmAbs;
|
|
extern volatile float ix1;
|
|
extern volatile float iy1;
|
|
extern volatile float ix2;
|
|
extern volatile float iy2;
|
|
extern volatile float kMe;
|
|
extern volatile short inuWork;
|
|
extern struct Mst mst;
|
|
extern volatile short faultNo;
|
|
//#########################################################################
|
|
// Ïåðåìåííûå, êîòîðûå îáúÿâëåíû â upr.c (end)
|
|
#endif //UPR
|