Compare commits
1 Commits
release_2.
...
Dev
Author | SHA1 | Date | |
---|---|---|---|
496458f00e |
@ -9,6 +9,8 @@ namespace Plane.Windows.Messages
|
||||
{
|
||||
private static Action<string> ShowAction { get; set; }
|
||||
private static Action<bool> ConnectAction { get; set; }
|
||||
private static Action<bool> BoardportAction { get; set; }
|
||||
|
||||
private static Action<string> StatusAction { get; set; }
|
||||
|
||||
public static void Configure(Action<string> showAction)
|
||||
@ -41,5 +43,18 @@ namespace Plane.Windows.Messages
|
||||
{
|
||||
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