示例#1
0
 public Node(NodeDefinition nd, Network net, int inst)
 {
     network = net;
     instanceNumber = inst;
     setDefinition(nd);
     vpe_xpos = vpe_ypos = 0;
     labelSymbol = Symbol.zero;
     standin = null;
     cdb = null;
     moduleMessageId = null;
     nodeCacheability = nd.DefaultCacheability;
     buildParameterLists();
     marked = false;
     layout_information = null;
 }
示例#2
0
 /// <summary>
 /// Manipulate the standin for this node.
 /// </summary>
 /// <param name="w"></param>
 /// <returns></returns>
 public StandIn newStandIn(WorkSpace w)
 {
     standin = SIAllocatorDictionary.theSIAllocatorDictionary.allocate(
         getNameSymbol(), w, this);
     return standin;
 }