Added Current/Max Power to Network Tool.

Added Current/Max Power to Spatial IO Port.
Added Required/Efficiency to Spatial IO Port.
Added Power Unit Button / Setting.
Fixed bug with Meteorite and Spatial IO.
Removed Random Logging in Spatial IO.
This commit is contained in:
AlgorithmX2
2014-03-05 23:45:14 -06:00
parent 040e948d8e
commit adb03c45c6
13 changed files with 262 additions and 62 deletions
+7 -1
View File
@@ -23,6 +23,7 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
{
long powerRequired = 0;
double effiency = 0.0;
DimensionalCoord captureMin;
DimensionalCoord captureMax;
@@ -76,7 +77,6 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
int reqZ = 0;
int requirePylongBlocks = 1;
double effiency = 0.0;
double minPower = 0;
double maxPower = 0;
@@ -181,6 +181,12 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache
}
}
@Override
public float currentEffiency()
{
return (float) effiency * 100;
}
@MENetworkEventSubscribe
public void bootingRender(MENetworkBootingStatusChange c)
{