-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undetermined cloud layer, add automatic CB detection (#131)
* Fix undetermined cloud layer parsing * Add parsing for "radar detected C-B clouds" * Add text/voice formatting for automatic CB detection
- Loading branch information
1 parent
834564c
commit 6d00fa6
Showing
5 changed files
with
189 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
vATIS.Desktop/Profiles/AtisFormat/Nodes/AutomaticCbDetection.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// <copyright file="AutomaticCbDetection.cs" company="Justin Shannon"> | ||
// Copyright (c) Justin Shannon. All rights reserved. | ||
// Licensed under the GPLv3 license. See LICENSE file in the project root for full license information. | ||
// </copyright> | ||
|
||
namespace Vatsim.Vatis.Profiles.AtisFormat.Nodes; | ||
|
||
/// <summary> | ||
/// Represents the automatic CB detection values. | ||
/// </summary> | ||
public class AutomaticCbDetection | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="AutomaticCbDetection"/> class. | ||
/// </summary> | ||
/// <param name="text">The text ATIS value.</param> | ||
/// <param name="voice">The voice ATIS value.</param> | ||
public AutomaticCbDetection(string? text, string? voice) | ||
{ | ||
Text = text; | ||
Voice = voice; | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets the text ATIS value. | ||
/// </summary> | ||
public string? Text { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the voice ATIS value. | ||
/// </summary> | ||
public string? Voice { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters