예제 #1
0
파일: icehms.cs 프로젝트: martin-ly/icehms
        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));
            }
        }
예제 #2
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));
            }
        }
예제 #3
0
파일: icehms.cs 프로젝트: martin-ly/icehms
 { // 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));
     }
예제 #4
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));
 }