Event announcing an energy source operation. This event notifies subscribers of energy sources trying to push energy into an energy grid. The amount field indicates the maximum amount of energy left to be distributed. You have to substract the amount of energy you accepted from 'amount'. The IEnergySource posting this event has to check 'amount' to see how much energy has not been used up and adjust its output buffer accordingly (usually buffer -= 'initial amount' - 'amount after posting the event')
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.