private void SetIntensity(float value, ulong tickStamp) { value -= Threshold; value = value < 0 ? 0 : (value > 10 ? 10 : value); this.intensityATt0 = this.Intensity = value; this.tickATt0 = tickStamp; }