public override object PublishClone(AutomaticSubtotalContext context) { ScalePin scalePin = (ScalePin)base.PublishClone(context); if (this.m_location != null) { scalePin.m_location = (ExpressionInfo)this.m_location.PublishClone(context); } if (this.m_enable != null) { scalePin.m_enable = (ExpressionInfo)this.m_enable.PublishClone(context); } if (this.m_pinLabel != null) { scalePin.m_pinLabel = (PinLabel)this.m_pinLabel.PublishClone(context); } return(scalePin); }
public override void Deserialize(IntermediateFormatReader reader) { base.Deserialize(reader); reader.RegisterDeclaration(GaugeScale.m_Declaration); while (reader.NextMember()) { switch (reader.CurrentMember.MemberName) { case MemberName.Action: this.m_action = (Action)reader.ReadRIFObject(); break; case MemberName.Name: this.m_name = reader.ReadString(); break; case MemberName.ScaleRanges: this.m_scaleRanges = reader.ReadGenericListOfRIFObjects <ScaleRange>(); break; case MemberName.CustomLabels: this.m_customLabels = reader.ReadGenericListOfRIFObjects <CustomLabel>(); break; case MemberName.Interval: this.m_interval = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.IntervalOffset: this.m_intervalOffset = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Logarithmic: this.m_logarithmic = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.LogarithmicBase: this.m_logarithmicBase = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.MaximumValue: this.m_maximumValue = (GaugeInputValue)reader.ReadRIFObject(); break; case MemberName.MinimumValue: this.m_minimumValue = (GaugeInputValue)reader.ReadRIFObject(); break; case MemberName.Multiplier: this.m_multiplier = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Reversed: this.m_reversed = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.GaugeMajorTickMarks: this.m_gaugeMajorTickMarks = (GaugeTickMarks)reader.ReadRIFObject(); break; case MemberName.GaugeMinorTickMarks: this.m_gaugeMinorTickMarks = (GaugeTickMarks)reader.ReadRIFObject(); break; case MemberName.MaximumPin: this.m_maximumPin = (ScalePin)reader.ReadRIFObject(); break; case MemberName.MinimumPin: this.m_minimumPin = (ScalePin)reader.ReadRIFObject(); break; case MemberName.ScaleLabels: this.m_scaleLabels = (ScaleLabels)reader.ReadRIFObject(); break; case MemberName.TickMarksOnTop: this.m_tickMarksOnTop = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ToolTip: this.m_toolTip = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Hidden: this.m_hidden = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.Width: this.m_width = (ExpressionInfo)reader.ReadRIFObject(); break; case MemberName.ExprHostID: this.m_exprHostID = reader.ReadInt32(); break; case MemberName.ID: this.m_id = reader.ReadInt32(); break; default: Global.Tracer.Assert(false); break; } } }
public ScalePin(AspNetCore.ReportingServices.ReportIntermediateFormat.ScalePin defObject, GaugePanel gaugePanel) : base(defObject, gaugePanel) { base.m_defObject = defObject; base.m_gaugePanel = gaugePanel; }