예제 #1
0
        public static bool Initialize(LogicEntry logic)
        {
            logicEntry = logic;

            if (logicEntry.Initialize() == false)
            {
                return(false);
            }

            return(true);
        }
예제 #2
0
        public static bool DestroyLogic()
        {
            if (logicEntry == null)
            {
                return(false);
            }

            logicEntry.Dispose();
            logicEntry = null;

            return(true);
        }
예제 #3
0
        public override bool CreateLogicSystem(LogicEntry logicEntry)
        {
            if (LogicHandler.Initialize(logicEntry) == false)
            {
                return(false);
            }

            IsLogicEnd = false;

            Task.Factory.StartNew(new Action(LogicThreadProcess));
            Task.Factory.StartNew(new Action(RPCThreadProcess));

            return(true);
        }
예제 #4
0
 public static void SetLogic(LogicEntry logic)
 {
     logicEntry = logic;
 }
예제 #5
0
 public abstract bool CreateLogicSystem(LogicEntry logicEntry);