Compare commits
No commits in common. "Dev" and "release_2.1" have entirely different histories.
Dev
...
release_2.
@ -9,8 +9,6 @@ namespace Plane.Windows.Messages
|
|||||||
{
|
{
|
||||||
private static Action<string> ShowAction { get; set; }
|
private static Action<string> ShowAction { get; set; }
|
||||||
private static Action<bool> ConnectAction { get; set; }
|
private static Action<bool> ConnectAction { get; set; }
|
||||||
private static Action<bool> BoardportAction { get; set; }
|
|
||||||
|
|
||||||
private static Action<string> StatusAction { get; set; }
|
private static Action<string> StatusAction { get; set; }
|
||||||
|
|
||||||
public static void Configure(Action<string> showAction)
|
public static void Configure(Action<string> showAction)
|
||||||
@ -43,18 +41,5 @@ namespace Plane.Windows.Messages
|
|||||||
{
|
{
|
||||||
ConnectAction?.Invoke(isConnected);
|
ConnectAction?.Invoke(isConnected);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Configureboard(Action<bool> boardportAction)
|
|
||||||
{
|
|
||||||
BoardportAction = boardportAction;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void BoardOpen(bool isOpened)
|
|
||||||
{
|
|
||||||
BoardportAction?.Invoke(isOpened);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user