Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }
Esempio n. 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));
        }