All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mn.foreman.api.endpoints.csp.cpower.CPower Maven / Gradle / Ivy

There is a newer version: 1.78.0
Show newest version
package mn.foreman.api.endpoints.csp.cpower;

import java.util.Optional;

/** Endpoints for CPower-related processing. */
public interface CPower {

    /**
     * Updates the state in Foreman.
     *
     * @param sixSecondBasePoint  The 6 second base point.
     * @param fiveMinuteBasePoint The 5 minute base point.
     * @param realtimeLoad        The realtime load.
     *
     * @return The current load.
     */
    Optional updateState(
            double sixSecondBasePoint,
            double fiveMinuteBasePoint,
            double realtimeLoad);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy