C# Class RightpointLabs.Pourcast.Domain.Models.Keg

Inheritance: Entity
Datei anzeigen Open project: RightpointLabs/Pourcast Class Usage Examples

Public Methods

Method Description
Keg ( string id, string beerId, double capacity ) : System
PouringFromTap ( string tapId, double volume ) : void
StartPourFromTap ( string tapId ) : void
StopPourFromTap ( string tapId, double volume ) : void
UpdateCapacityAndPoured ( double capacity, double amountOfBeerPoured ) : void
UpdateTemperature ( string id, double temperatureF ) : void

Private Methods

Method Description
Keg ( ) : System

Method Details

Keg() public method

public Keg ( string id, string beerId, double capacity ) : System
id string
beerId string
capacity double
return System

PouringFromTap() public method

public PouringFromTap ( string tapId, double volume ) : void
tapId string
volume double
return void

StartPourFromTap() public method

public StartPourFromTap ( string tapId ) : void
tapId string
return void

StopPourFromTap() public method

public StopPourFromTap ( string tapId, double volume ) : void
tapId string
volume double
return void

UpdateCapacityAndPoured() public method

public UpdateCapacityAndPoured ( double capacity, double amountOfBeerPoured ) : void
capacity double
amountOfBeerPoured double
return void

UpdateTemperature() public method

public UpdateTemperature ( string id, double temperatureF ) : void
id string
temperatureF double
return void