示例#1
0
 public PurchaseAbroad(string name, Market market) : base(name)
 {
     SetPriorityLevel(PLGasPowerPlant);
     OutputLine.SetPriorityLevel(GetPriorityLevel);
     OutputLine.SetIsMarketLine(true);
     //OutputLine.GetInputNode.SetHasMarket(true);
     //OutputLine.GetOutputeNode.SetHasMarket(true);
     OutPutNode.SetHasMarket(true);
     //OutputLine.GetInputNode.SetMyMarket(this);
     OutPutNode.SetMyMarket(this);
     this.market = market;
     Start();
 }