Example #1
0
 public CRF_Network(string Name, CRF_ResourceList aResourceList, CRF_ConsumerList aConsumerList, NetworkResetDelegate Callback)
     : base()
 {
     FResources = aResourceList;
     FConsumers = aConsumerList;
     FCallback  = Callback;
 }
Example #2
0
        //-----------------------------------------------------------

        public void SetNetwork(CRF_ResourceList aResourceList, CRF_ConsumerList aConsumerList)
        {
            FResources = aResourceList;
            FConsumers = aConsumerList;
            if (FCallback != null)
            {
                FCallback();
            }
        }
Example #3
0
 public CRF_Network()
     : base()
 {
     FResources = new CRF_ResourceList();
     FConsumers = new CRF_ConsumerList();
 }