예제 #1
0
        internal override object PublishClone(AutomaticSubtotalContext context)
        {
            Thermometer thermometer = (Thermometer)base.PublishClone(context);

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

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

                default:
                    Global.Tracer.Assert(condition: false);
                    break;
                }
            }
        }
예제 #3
0
 internal Thermometer(Microsoft.ReportingServices.ReportIntermediateFormat.Thermometer defObject, GaugePanel gaugePanel)
 {
     m_defObject  = defObject;
     m_gaugePanel = gaugePanel;
 }