package org.ulti.dev.powermeter;
import org.ulti.dev.powermeter.PowerMeterActions.VariableType;
public class CreateNewVariable {
/**
* Creates a new powermeter variable. This won't use the variable in the config file but the user id / hash should be set there first.
*
* @param args
*/
public static void main(String[] args) {
PowerMeterActions pma = new PowerMeterActions();
String varId = "currentcost.envi.12g";
String title = "title";
String description = "description";
String location = "Waterloo, ON";
VariableType kind = PowerMeterActions.VariableType.DURATIONAL;
pma.createNewVariable(varId, description, title, location, kind);
}
}