public override object PublishClone(AutomaticSubtotalContext context)
        {
            Thermometer thermometer = (Thermometer)base.PublishClone(context);

            if (this.m_bulbOffset != null)
            {
                thermometer.m_bulbOffset = (ExpressionInfo)this.m_bulbOffset.PublishClone(context);
            }
            if (this.m_bulbSize != null)
            {
                thermometer.m_bulbSize = (ExpressionInfo)this.m_bulbSize.PublishClone(context);
            }
            if (this.m_thermometerStyle != null)
            {
                thermometer.m_thermometerStyle = (ExpressionInfo)this.m_thermometerStyle.PublishClone(context);
            }
            return(thermometer);
        }
        public override void Deserialize(IntermediateFormatReader reader)
        {
            base.Deserialize(reader);
            reader.RegisterDeclaration(LinearPointer.m_Declaration);
            while (reader.NextMember())
            {
                switch (reader.CurrentMember.MemberName)
                {
                case MemberName.Type:
                    this.m_type = (ExpressionInfo)reader.ReadRIFObject();
                    break;

                case MemberName.Thermometer:
                    this.m_thermometer = (Thermometer)reader.ReadRIFObject();
                    break;

                default:
                    Global.Tracer.Assert(false);
                    break;
                }
            }
        }
 public Thermometer(AspNetCore.ReportingServices.ReportIntermediateFormat.Thermometer defObject, GaugePanel gaugePanel)
 {
     this.m_defObject  = defObject;
     this.m_gaugePanel = gaugePanel;
 }