添加添加数据库服务器表
修改扫码连接修复扫码闪退问题
This commit is contained in:
1 parent
6c0af56ea9
commit
0801e4875c
64 files changed
+3265
No files matched your search
@@ -0,0 +1,35 @@
|
||||
using SunlightAggregationTerminal.Class;
|
||||
using SunlightAggregationTerminal.Models;
|
||||
using SunlightAggregationTerminal.View;
|
||||
|
||||
namespace SunlightAggregationTerminal
|
||||
{
|
||||
public partial class AppShell : Shell
|
||||
{
|
||||
public AppShell()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.BindingContext = new AppModels();
|
||||
}
|
||||
|
||||
|
||||
private void Shell_Loaded(object sender, EventArgs e)
|
||||
{
|
||||
//打开登录
|
||||
if (!App.GlobalData.LogNo)
|
||||
{
|
||||
var logpage = new View.LogPage();
|
||||
Navigation.PushModalAsync(new NavigationPage(logpage));
|
||||
}
|
||||
else
|
||||
{//发送登录请求
|
||||
/* var dat = TcpServer.Query("");
|
||||
if (dat != null)
|
||||
{//拒绝登陆时打开登录页面
|
||||
var logpage = new View.LogPage();
|
||||
Navigation.PushModalAsync(logpage);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user