public override void Init()
    {
        synchronizationExecutor = new SynchronizationExecutor();
        synchronizationExecutor.Init();

        sendIdDistributionChunk = new IdDistributionChunk();
        sendIdDistributionChunk.Init();
        sendIdDistributionChunk.SetInterval(2);

        sendSynchroValueRepList = new List <SynchroValueRep>();
        receiveSynchroValueRsp  = new List <SynchroValueRsp>();


        executeSystemUnit = GlobalUnion.GetUnit <ExecuteSystemUnit>();
    }
Exemplo n.º 2
0
    public override void Init()
    {
        entityOperation = new Operation();
        entityOperation.Init();
        entityOperation.SetName("Entity");

        componentOperation = new Operation();
        componentOperation.Init();
        componentOperation.SetName("Component");

        copyComponentIdDistributionChunk = new IdDistributionChunk();
        copyComponentIdDistributionChunk.Init();
        copyComponentIdDistributionChunk.SetFirstId(-1);
        copyComponentIdDistributionChunk.SetInterval(-1);
    }
Exemplo n.º 3
0
    public override void Init()
    {
        SynchroValueRepOperation = new Operation();
        SynchroValueRepOperation.Init();
        SynchroValueRepOperation.SetName("SynchroValueRep");

        SynchroValueRspOperation = new Operation();
        SynchroValueRspOperation.Init();
        SynchroValueRspOperation.SetName("SynchroValueRsp");

        synchroValueIdDistributionChunk = new IdDistributionChunk();
        synchroValueIdDistributionChunk.Init();
        synchroValueIdDistributionChunk.SetInterval(2);

        InitSystemFunctionTypePriority();
        InitFunction2SystemTypeDict();

        executeSystemUnit = GlobalUnion.GetUnit <ExecuteSystemUnit>();
        commandUnit       = GlobalUnion.GetUnit <CommandUnit>();
    }