修改时间为2022-6-10日
This commit is contained in:
parent
7dfe36a7f8
commit
cb2a672c44
@ -25,7 +25,7 @@ namespace Plane.FormationCreator.Formation
|
|||||||
public class CopterCollection : ObservableCollection<ICopter>
|
public class CopterCollection : ObservableCollection<ICopter>
|
||||||
{
|
{
|
||||||
//软件过期时间---过期将无法添加飞机,并自动退出
|
//软件过期时间---过期将无法添加飞机,并自动退出
|
||||||
public static DateTime Expire_App = DateTime.Parse("2021-06-01");
|
public static DateTime Expire_App = DateTime.Parse("2022-06-10");
|
||||||
//超级用户过期时间--过期将无法使用内置超级用户登录
|
//超级用户过期时间--过期将无法使用内置超级用户登录
|
||||||
public static DateTime Expire_SuperUser = Expire_App;
|
public static DateTime Expire_SuperUser = Expire_App;
|
||||||
//允许飞行的飞机数量
|
//允许飞行的飞机数量
|
||||||
|
@ -138,6 +138,8 @@ namespace Plane.FormationCreator
|
|||||||
{
|
{
|
||||||
|
|
||||||
case Key.LeftCtrl:
|
case Key.LeftCtrl:
|
||||||
|
case Key.RightCtrl:
|
||||||
|
case Key.LeftAlt:
|
||||||
{
|
{
|
||||||
var copters = _copterManager.AcceptingControlCopters;
|
var copters = _copterManager.AcceptingControlCopters;
|
||||||
Shiftkeydown = true;
|
Shiftkeydown = true;
|
||||||
@ -422,6 +424,8 @@ namespace Plane.FormationCreator
|
|||||||
switch (e.Key)
|
switch (e.Key)
|
||||||
{
|
{
|
||||||
case Key.LeftCtrl:
|
case Key.LeftCtrl:
|
||||||
|
case Key.RightCtrl:
|
||||||
|
case Key.LeftAlt:
|
||||||
{
|
{
|
||||||
Shiftkeydown = false;
|
Shiftkeydown = false;
|
||||||
_copterManager.shiftkeydown = false;
|
_copterManager.shiftkeydown = false;
|
||||||
|
@ -166,7 +166,7 @@ namespace Plane.FormationCreator.ViewModels
|
|||||||
{
|
{
|
||||||
if ((!showch) &&(minVol>0.00) && (kv.Value<=minVol))
|
if ((!showch) &&(minVol>0.00) && (kv.Value<=minVol))
|
||||||
{
|
{
|
||||||
Message.Show(string.Format("以下飞机电压低于[{0}V]更换值:", minVol));
|
Message.Show(string.Format("以下飞机电压低于[{0}V,单节{1:F2}]", minVol, minVol/4));
|
||||||
showch = true;
|
showch = true;
|
||||||
}
|
}
|
||||||
Message.Show(string.Format("{0} --> 5秒平均电压:{1:F2},单节{2:F2}", kv.Key, kv.Value, kv.Value/4));
|
Message.Show(string.Format("{0} --> 5秒平均电压:{1:F2},单节{2:F2}", kv.Key, kv.Value, kv.Value/4));
|
||||||
|
Loading…
Reference in New Issue
Block a user