C# Class Spontaneous.WebApp.Services.CarbohydratesVerification.BaseInsulineFormulas

ファイルを表示 Open project: pashkov/Spontaneous

Public Methods

Method Description
CalculateMealCarbs ( int targerSugar, int currentSugar, UnitReductionUnits unitReductionUnits, double unitReductionValue, double insulinCarbohydrateRatio, DosageUnits dosageUnits, double insulinDosage ) : double
CalculatingInsulinDose ( int targerSugar, int currentSugar, UnitReductionUnits unitReductionUnits, double unitReductionValue, double insulinCarbohydrateRatio, DosageUnits dosageUnits, double mealCarbs ) : double

Method Details

CalculateMealCarbs() public static method

public static CalculateMealCarbs ( int targerSugar, int currentSugar, UnitReductionUnits unitReductionUnits, double unitReductionValue, double insulinCarbohydrateRatio, DosageUnits dosageUnits, double insulinDosage ) : double
targerSugar int
currentSugar int
unitReductionUnits UnitReductionUnits
unitReductionValue double
insulinCarbohydrateRatio double
dosageUnits DosageUnits
insulinDosage double
return double

CalculatingInsulinDose() public static method

public static CalculatingInsulinDose ( int targerSugar, int currentSugar, UnitReductionUnits unitReductionUnits, double unitReductionValue, double insulinCarbohydrateRatio, DosageUnits dosageUnits, double mealCarbs ) : double
targerSugar int
currentSugar int
unitReductionUnits UnitReductionUnits
unitReductionValue double
insulinCarbohydrateRatio double
dosageUnits DosageUnits
mealCarbs double
return double