Beispiel #1
0
        /// <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));
        }
Beispiel #2
0
        /// <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));
        }
Beispiel #3
0
        /// <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));
        }
Beispiel #4
0
        /// <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));
        }
Beispiel #5
0
        /// <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));
        }
Beispiel #6
0
        /// <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));
        }