Exemple #1
0
        public Holon(icehms.IceManager app, string name, bool activate = true)
        {
            //The name must be unique!!
            Name   = name;
            IceApp = app;
            logger = log4net.LogManager.GetLogger(this.GetType().Name + "::" + Name);

            if (activate)
            {
                register((Ice.Object) new hms.HolonTie_(this));
            }
        }
        public Holon(icehms.IceManager app, string name, bool activate = true)
        {
            //The name must be unique!!
            Name = name;
            IceApp = app;
            logger = log4net.LogManager.GetLogger(this.GetType().Name + "::" + Name);

            if (activate)
            {
                register((Ice.Object)new hms.HolonTie_(this));
            }
        }
Exemple #3
0
 { // THis is just an example class inheriting holon and implementing another interface
     public Robot(IceManager app, string name)
         : base(app, name, false)
     {
         register((Ice.Object) new hms.GenericRobotTie_(this));
     }
 // THis is just an example class inheriting holon and implementing another interface
 public Robot(IceManager app, string name)
     : base(app, name, false)
 {
     register((Ice.Object)new hms.GenericRobotTie_(this));
 }