📄 varable.cpp
字号:
//===========================================================================
// Power Class Implement Functions for EMS
//
// EMS高级应用软件
//===========================================================================
// 声明系统的全局变量.
// rev 0.0 7-1-2004 initial release Qwbin
// 版本 0.0 7-1-2004 第一次发布 齐文斌
//===========================================================================
//createed by qwbin 2004-7-1
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
//mc
#include "mctypes.h"
#include "mccomp.str"
#include "mcsubst.str"
#include "mcsect.str"
#include "mcnode.str"
#include "mcbreak.str"
#include "mccoupl.str"
#include "mcldarea.str"
#include "mcload.str"
#include "mcgen.str"
#include "mcsvc.str"
#include "mcbranch.str"
#include "mcresid.str"
#include "mcshunt.str"
#include "mcscseg.str"
#include "mcscap.str"
#include "mctie.str"
#include "mcvxfmr.str"
#include "mcpxfmr.str"
#include "mciface.str"
#include "mcifcomp.str"
#include "mcvolt.str"
#include "mcanalog.str"
#include "mctapt.str"
#include "mccntrl.str"
#include "mccase.str"
#include "mcswbus.str"
#include "emstable.str"
#include "secntrl.str"
#include "tpanalog.str"
#include "tpbrlink.str"
#include "tpbusint.str"
#include "tpisland.str"
#include "tplfbus.str"
#include "tpshunt.str"
//se
#include "setypes.h"
#include "secntrl.str"
#include "seitrlog.str"
#include "sebad.str"
#include "sebsvolt.str"
#include "sedpoint.str"
#include "sejacob.str"
#include "sezijac.str"
#include "sezstate.str"
//lf
#include "lftypes.h"
#include "lfcntrl.str"
#include "lfbus.str"
#include "lfadmit.str"
#include "lfsync.str"
#include "lfitrlog.str"
#include "lfwork.str"
//ma
#include "matypes.h"
#include "mastate.str"
#include "maorder.str"
#include "maamtrx.str"
#include "magmtrx.str"
#include "maparm.str"
#include "matmtrx.str"
//
struct emstablest mccomp_tb;
struct emstablest mcsubst_tb;
struct emstablest mcsect_tb;
struct emstablest mcnode_tb;
struct emstablest mcbreak_tb;
struct emstablest mccoupl_tb;
struct emstablest mcload_tb;
struct emstablest mcldarea_tb;
struct emstablest mcgen_tb;
struct emstablest mcsvc_tb;
struct emstablest mcbranch_tb;
struct emstablest mcresid_tb;
struct emstablest mcshunt_tb;
struct emstablest mcvxfmr_tb;
struct emstablest mcpxfmr_tb;
struct emstablest mcvolt_tb;
struct emstablest mcscap_tb;
struct emstablest mcscseg_tb;
struct emstablest mciface_tb;
struct emstablest mcifcomp_tb;
struct emstablest mcanalog_tb;
struct emstablest mctapt_tb;
struct emstablest mccntrl_tb;
struct emstablest mccase_tb;
struct emstablest mctie_tb;
struct emstablest mcswbus_tb;
struct emstablest secntrl_tb;
struct emstablest tpanalog_tb;
struct emstablest tpbrlink_tb;
struct emstablest tpbusint_tb;
struct emstablest tpisland_tb;
struct emstablest tplfbus_tb;
struct emstablest tpshunt_tb;
struct mccompst *mccomppt;
struct mcsubstst *mcsubstpt;
struct mcldareast *mcldareapt;
struct mcsectst *mcsectpt;
struct mcnodest *mcnodept;
struct mcbreakst *mcbreakpt;
struct mccouplst *mccouplpt;
struct mcloadst *mcloadpt;
struct mcgenst *mcgenpt;
struct mcsvcst *mcsvcpt;
struct mcbranchst *mcbranchpt;
struct mcresidst *mcresidpt;
struct mcshuntst *mcshuntpt;
struct mcvxfmrst *mcvxfmrpt;
struct mcpxfmrst *mcpxfmrpt;
struct mcvoltst *mcvoltpt;
struct mcscapst *mcscappt;
struct mcscsegst *mcscsegpt;
struct mcifacest *mcifacept;
struct mcifcompst *mcifcomppt;
struct mcanalogst *mcanalogpt;
struct mctaptst *mctaptpt;
struct mccntrlst *mccntrlpt;
struct mccasest *mccasept;
struct mctiest *mctiept;
struct mcswbusst *mcswbuspt;
struct secntrlst *secntrlpt;
struct tpanalogst *tpanalogpt;
struct tpbrlinkst *tpbrlinkpt;
struct tpbusintst *tpbusintpt;
struct tpislandst *tpislandpt;
struct tplfbusst *tplfbuspt;
struct tpshuntst *tpshuntpt;
//from lf
struct emstablest lfcntrl_tb;
struct emstablest bus_tb;
struct emstablest admit_tb;
struct emstablest sync_tb;
struct emstablest lfitrlog_tb;
struct lfcntrlst *lfcntrlpt;
struct lfbusst *buspt;
struct lfadmitst *admitpt;
struct lfsyncst *syncpt;
struct lfitrlogst *lfitrlogpt;
struct lfworkst work;
int cur_island;
//for se
struct emstablest seitrlog_tb;
struct emstablest sebad_tb;
struct emstablest bsvolt_tb;
struct emstablest dpoint_tb;
struct emstablest jacob_tb;
struct emstablest zijac_tb;
struct emstablest zstate_tb;
//struct secntrlst *secntrlpt;
struct seitrlogst *seitrlogpt;
struct sebadst *sebadpt;
struct sebsvoltst *bsvoltpt;
struct sedpointst *dpointpt;
struct sejacobst *jacobpt;
struct sezijacst *zijacpt;
struct sezstatest *zstatept;
int sw_angle_col;
bool tap_on;
//ma
struct emstablest mastate_tb;
struct emstablest maorder_tb;
struct emstablest maorder1_tb;
struct emstablest maorder2_tb;
struct emstablest maamtrx_tb;
struct emstablest cmtrx_tb;
struct emstablest magmtrx_tb;
struct emstablest magmtr1_tb;
struct emstablest magmtr2_tb;
struct emstablest maparm_tb;
struct emstablest matmtrx_tb;
struct mastatest *mastatept;
struct maorderst *maorderpt;
struct maorderst *maorder1pt;
struct maorderst *maorder2pt;
struct maamtrxst *maamtrxpt;
struct maamtrxst *cmtrxpt;
struct magmtrxst *magmtrxpt;
struct magmtrxst *magmtr1pt;
struct magmtrxst *magmtr2pt;
struct maparmst *maparmpt;
struct maparmst maparm; //只一条记录,无需开辟内存
//
int meas_count=0;
struct generator *gen_pt,*gen_point;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -