public void setAppliance(SenseGuardAppliance appliance) { this.appliance = appliance; }
public ApplianceCommand(SenseGuardAppliance forAppliance) { this.appliance = forAppliance; this.applianceId = forAppliance.getApplianceId(); }