view topology/node/CreateConnectionList.cs @ 59:c4f8630b7822

topology manager fix
author KaitoMaeshiro <aosskaito@cr.ie.u-ryukyu.ac.jp>
date Thu, 27 Jan 2022 01:19:51 +0900
parents
children 1a42115e51bb
line wrap: on
line source

using System;
using Christie_net.annotation;
using Christie_net.codegear;
using Christie_net.topology;


namespace Christie_net.topology.node
{
    public class CreateConnectionList : CodeGear
    {
        [Take] public String cMember;
        [Take] public TopologyDataGear topoDG;

        public override void Run(CodeGearManager cgm) {
            topoDG.addConnection(cMember);
            GetLocalDgm().Put("topoDG", topoDG);
        }
    }
}