open ParasitemiaCore.UnitsOfMeasure
-let healthyRBColor = Color.FromRgb(255uy, 255uy, 0uy) // Yellow-green.
-let infectedRBColor = Color.FromRgb(255uy, 0uy, 40uy) // Red with a bit of blue.
+let healthyRBColor = Color.FromRgb (255uy, 255uy, 0uy) // Yellow-green.
+let infectedRBColor = Color.FromRgb (255uy, 0uy, 40uy) // Red with a bit of blue.
type RBC =
{
member this.HealthyRBCColor : SolidColorBrush =
let mutable color = healthyRBColor * this.healthyRBCBrightness
color.A <- 255uy
- SolidColorBrush(color)
+ SolidColorBrush (color)
member this.InfectedRBCColor : SolidColorBrush =
let mutable color = infectedRBColor * this.infectedRBCBrightness
color.A <- 255uy
- SolidColorBrush(color)
+ SolidColorBrush (color)
type PredefinedPPI =
{
label : string
}
with
- override this.ToString() =
+ override this.ToString () =
sprintf "%s: %d" this.label this.ppi
type SensorSize =