chenluhua1980
2026-01-19 44360bc2cdeee16be72f9cc4bfb42e0ac26b5b44
SourceCode/Bond/BondEq/Model.cpp
@@ -175,6 +175,7 @@
      }
   };
   m_bonder.setListener(bonderListener);
   m_bonder.setModel(this);
   m_bonder.init();
@@ -290,6 +291,39 @@
   return 0;
}
int CModel::notifyInt2(int code, int exCode, int exCode2)
{
   if (m_pObservableEmitter != NULL) {
      IAny* pAny = RX_AllocaAny();
      if (pAny != NULL) {
         pAny->addRef();
         pAny->setCode(code);
         pAny->setIntValue("exCode", exCode);
         pAny->setIntValue("exCode2", exCode2);
         m_pObservableEmitter->onNext(pAny);
         pAny->release();
      }
   }
   return 0;
}
int CModel::notifyDouble(int code, double dValue)
{
   if (m_pObservableEmitter != NULL) {
      IAny* pAny = RX_AllocaAny();
      if (pAny != NULL) {
         pAny->addRef();
         pAny->setCode(code);
         pAny->setDoubleValue("value", dValue);
         m_pObservableEmitter->onNext(pAny);
         pAny->release();
      }
   }
   return 0;
}
int CModel::notifyObjAndInt(int code, IRxObject* pObj1, IRxObject* pObj2, int exCode)
{
   if (m_pObservableEmitter != NULL) {