public static bool Initialize(LogicEntry logic) { logicEntry = logic; if (logicEntry.Initialize() == false) { return(false); } return(true); }
public static bool DestroyLogic() { if (logicEntry == null) { return(false); } logicEntry.Dispose(); logicEntry = null; return(true); }
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); }
public static void SetLogic(LogicEntry logic) { logicEntry = logic; }
public abstract bool CreateLogicSystem(LogicEntry logicEntry);