Ejemplo n.º 1
0
 /// <summary>
 /// Will tell u if in this building there is work to do
 ///
 /// For a docker for ex will be if are orders available
 /// For a insider if all inputs are available
 /// </summary>
 /// <returns></returns>
 internal bool ThereIsWorkToDo(Person pers)
 {
     if (HType == H.Dock)
     {
         //var order = Dispatch1.GiveMeOrderDocker(pers);
         //return order != null;
         return(Dispatch1.ThereIsWorkAtDock(Inventory));
     }
     return(true);
 }
Ejemplo n.º 2
0
 public Zen1()
 {
     monitoringConfigs    = new MonitoringConfig[6];
     monitoringConfigs[0] = new BpuMonitoringConfig(this);
     monitoringConfigs[1] = new DCMonitoringConfig(this);
     monitoringConfigs[2] = new FPUPipeUtil(this);
     monitoringConfigs[3] = new Dispatch1(this);
     monitoringConfigs[4] = new Dispatch2(this);
     monitoringConfigs[5] = new OpCache(this);
     architectureName     = "Zen 1";
 }