/// <summary> /// Queries the data at the current cell location and determines the colour that should be displayed there. /// </summary> /// <returns></returns> public override Color DoGetDisplayColour() { ushort value = ValueStore[east_col, north_row].MeasuredTemperature; return(value == CellPassConsts.NullMaterialTemperatureValue ? Color.Empty : Palette.ChooseColour(value)); }
/// <summary> /// Queries the data at the current cell location and determines the colour that should be displayed there. /// </summary> /// <returns></returns> public override Color DoGetDisplayColour() { var cellValue = ValueStore[east_col, north_row]; return(Palette.ChooseColour(cellValue.MeasuredCMV)); }
/// <summary> /// Queries the data at the current cell location and determines the colour that should be displayed there. /// </summary> /// <returns></returns> public override Color DoGetDisplayColour() { var value = ValueStore[east_col, north_row]; return(value.MeasuredPassCount == CellPassConsts.NullPassCountValue ? Color.Empty : Palette.ChooseColour(value.MeasuredPassCount)); }
/// <summary> /// Queries the data at the current cell location and determines the colour that should be displayed there. /// </summary> /// <returns></returns> public override Color DoGetDisplayColour() { var value = ValueStore[east_col, north_row]; return(value == CellPassConsts.NullMachineSpeed ? Color.Empty : Palette.ChooseColour(value)); }
/// <summary> /// Queries the data at the current cell location and determines the colour that should be displayed there. /// </summary> /// <returns></returns> public override Color DoGetDisplayColour() { var cellValue = ValueStore[east_col, north_row]; return(cellValue.MeasuredCCA == CellPassConsts.NullCCA || cellValue.TargetCCA == CellPassConsts.NullCCATarget ? Color.Empty : Palette.ChooseColour(cellValue)); }
/// <summary> /// Queries the data at the current cell location and determines the colour that should be displayed there. /// </summary> /// <returns></returns> public override Color DoGetDisplayColour() { var height = ValueStore[east_col, north_row]; return(height == Consts.NullHeight ? Color.Empty : Palette.ChooseColour(height)); }