public param_model_t_value_t m_CJC; //!< B-C zero-bias depletion capacitance public bjt_model_t(param_model_t model) { m_type = (model.type() == "NPN") ? bjt_type.BJT_NPN : bjt_type.BJT_PNP; m_IS = new param_model_t_value_t(model, "IS"); m_BF = new param_model_t_value_t(model, "BF"); m_NF = new param_model_t_value_t(model, "NF"); m_BR = new param_model_t_value_t(model, "BR"); m_NR = new param_model_t_value_t(model, "NR"); m_CJE = new param_model_t_value_t(model, "CJE"); m_CJC = new param_model_t_value_t(model, "CJC"); }
//NETLIB_RESETI(); //bjt_type qtype() const noexcept { return m_qtype; } //bool is_qtype(bjt_type atype) const noexcept { return m_qtype == atype; } protected void set_qtype(bjt_type atype) { m_qtype = atype; }
//NETLIB_CONSTRUCTOR_EX(QBJT, const pstring &model = "NPN") public nld_QBJT(object owner, string name, string model = "NPN") : base(owner, name) { m_model = new param_model_t(this, "MODEL", model); m_qtype = bjt_type.BJT_NPN; }