| | |
| | | public object GetFormatParas() |
| | | { |
| | | object obj = null; |
| | | switch (this.FormatType) |
| | | switch (FormatType) |
| | | { |
| | | case eFormatType.Numeric: obj = GetNumericFormatParas(); break; |
| | | case eFormatType.Enum: obj = GetEnumFormatParas(); break; |
| | |
| | | /// </summary> |
| | | public NumericFormatParas GetNumericFormatParas() |
| | | { |
| | | return NumericFormatParas.ToModel(this.FormatParas); |
| | | return NumericFormatParas.ToModel(FormatParas); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public EnumFormatParas GetEnumFormatParas() |
| | | { |
| | | return EnumFormatParas.ToModel(this.FormatParas); |
| | | return EnumFormatParas.ToModel(FormatParas); |
| | | } |
| | | |
| | | |