| | 1 | | namespace Morpho25.Settings |
| | 2 | | { |
| | 3 | | /// <summary> |
| | 4 | | /// Facades class. |
| | 5 | | /// </summary> |
| | 6 | | public class Facades |
| | 7 | | { |
| | 8 | | /// <summary> |
| | 9 | | /// FacadeMode for wind resistance model at facede. |
| | 10 | | /// </summary> |
| 6 | 11 | | public FacadeMod FacadeMode { get; set; } |
| | 12 | |
|
| | 13 | | /// <summary> |
| | 14 | | /// Create new Facade settings. |
| | 15 | | /// </summary> |
| | 16 | | /// <param name="facadeMode"> FacadeMode for |
| | 17 | | /// wind resistance model at facede.</param> |
| 2 | 18 | | public Facades() |
| 2 | 19 | | { |
| 2 | 20 | | FacadeMode = FacadeMod.DIN6946; |
| 2 | 21 | | } |
| | 22 | |
|
| | 23 | | /// <summary> |
| | 24 | | /// Title of the XML section |
| | 25 | | /// </summary> |
| 1 | 26 | | public string Title => "Facades"; |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Values of the XML section |
| | 30 | | /// </summary> |
| 1 | 31 | | public string[] Values => new[] { |
| 1 | 32 | | ((int) FacadeMode).ToString() |
| 1 | 33 | | }; |
| | 34 | |
|
| | 35 | | /// <summary> |
| | 36 | | /// Tags of the XML section |
| | 37 | | /// </summary> |
| 1 | 38 | | public string[] Tags => new[] { |
| 1 | 39 | | "FacadeMode" |
| 1 | 40 | | }; |
| | 41 | |
|
| | 42 | | /// <summary> |
| | 43 | | /// String representation of the Facades settings. |
| | 44 | | /// </summary> |
| | 45 | | /// <returns>String representation.</returns> |
| 0 | 46 | | public override string ToString() => "Config::Facades"; |
| | 47 | | } |
| | 48 | |
|
| | 49 | | } |