Xcos MVC: implement firing / dep_ut / label / nzcross / nmode
[scilab.git] / scilab / modules / scicos / src / cpp / Model_setObjectProperties.cpp
index 774b7aa..b1f1695 100644 (file)
@@ -67,6 +67,8 @@ update_status_t Model::setObjectProperty(ScicosID uid, kind_t k, object_properti
         model::Port* o = static_cast<model::Port*>(getObject(uid));
         switch (p)
         {
+            case FIRING:
+                return o->setFiring(v);
             default:
                 break;
         }
@@ -95,6 +97,10 @@ update_status_t Model::setObjectProperty(ScicosID uid, kind_t k, object_properti
                 return o->setSimFunctionApi(v);
             case SIM_BLOCKTYPE:
                 return o->setSimBlocktype(v);
+            case NZCROSS:
+                return o->setNZcross(v);
+            case NMODE:
+                return o->setNMode(v);
             default:
                 break;
         }
@@ -374,6 +380,8 @@ update_status_t Model::setObjectProperty(ScicosID uid, kind_t k, object_properti
         model::Block* o = static_cast<model::Block*>(getObject(uid));
         switch (p)
         {
+            case SIM_DEP_UT:
+                return o->setSimDepUT(v);
             default:
                 break;
         }