// Path: 1.0/src/main/java/jalen/sensors/disk/DiskSensorsInterface.java
// public interface DiskSensorsInterface {
// 
// 	/**
// 	 * Get number of bytes read and written by pid
// 	 * @return An array with number of bytes read and written
// 	 * double[0] = read
// 	 * double[1] = write
// 	 */
// 	public Double[] getProcesDiskReadWriteBytes();
// 
// }


import jalen.sensors.disk.DiskSensorsInterface;
/*
 * Copyright (c) 2014, Inria, University Lille 1.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Affero General Public License v3.0
 * which accompanies this distribution, and is available at
 * https://www.gnu.org/licenses/agpl-3.0.html
 *
 * Author : Adel Noureddine
 */

package jalen.formulas.disk;


public class DiskFormulasProc implements DiskFormulasInterface {

	/**
	 * Disk read and write power, and read and write rate
	 * Data from configuration file (from hardware specifications)
	 */
	private Double diskReadPower, diskReadRate, diskWritePower, diskWriteRate;

	/**
	 * Power for reading/writing one byte
	 */
	private Double powerPerReadByte, powerPerWriteByte;

	/**
	 * Disk sensor
	 */
// Path: 1.0/src/main/java/jalen/sensors/disk/DiskSensorsInterface.java
// public interface DiskSensorsInterface {
// 
// 	/**
// 	 * Get number of bytes read and written by pid
// 	 * @return An array with number of bytes read and written
// 	 * double[0] = read
// 	 * double[1] = write
// 	 */
// 	public Double[] getProcesDiskReadWriteBytes();
// 
// }


// Path: trunk/src/main/java/jalen/formulas/disk/DiskFormulasProc.java
import jalen.sensors.disk.DiskSensorsInterface;

/*
 * Copyright (c) 2014, Inria, University Lille 1.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Affero General Public License v3.0
 * which accompanies this distribution, and is available at
 * https://www.gnu.org/licenses/agpl-3.0.html
 *
 * Author : Adel Noureddine
 */

package jalen.formulas.disk;


public class DiskFormulasProc implements DiskFormulasInterface {

	/**
	 * Disk read and write power, and read and write rate
	 * Data from configuration file (from hardware specifications)
	 */
	private Double diskReadPower, diskReadRate, diskWritePower, diskWriteRate;

	/**
	 * Power for reading/writing one byte
	 */
	private Double powerPerReadByte, powerPerWriteByte;

	/**
	 * Disk sensor
	 */
	private DiskSensorsInterface diskSensor;