20260122
zhaoaomin 2 years ago
parent 6be6e7cf83
commit b66ef34504

2
.gitignore vendored

@ -0,0 +1,2 @@
shangjian/.vs/
shangjian/XGL/obj/

Binary file not shown.

@ -17,7 +17,7 @@ namespace CommonFunc
public static string ThriftConfigIp = "";
public static string ThriftConfigPort = "";
public static string thriftBoxPort = "";
public static string FormBoardThriftPort = "";
public static string LocatHostMac = "";
public static string HostIp = "";
@ -28,7 +28,7 @@ namespace CommonFunc
public static int noticeserch = 0;
public static int downloadPDF = 0;
public static int stoplineset = 0;
/// <summary>
/// 默认工位
/// </summary>
@ -422,5 +422,15 @@ namespace CommonFunc
return null;
}
}
/// <summary>
/// 获取32位随机码
/// </summary>
/// <param name="strVarName">名称</param>
/// <returns></returns>
public static string GetUUID()
{
return Guid.NewGuid().ToString().Replace("-", "").Substring(0, 32);
}
}
}

@ -637,10 +637,14 @@ select a.TrayCode,a.ProductBarNo,a.carcode,a.createtime,a.lineno,b.HadNumber
public DataTable GetWetPlanInfo()
{
string sql = $@"select wet.id,wet.factory_code,wet.prod_code, wet.sync_flag,wet.plan_time, workorder_id,bucket_id,bucket_code,material_code,material_name,product_name,wet.shift_desc
from pro_wet_material_plan wet
LEFT JOIN pro_wet_material_plan_detail wetDetail
on wet.id = wetDetail.wet_material_plan_id "; //where wet.plan_time = '{}'
string sql = $@"select wet.id,wet.factory_code,wet.prod_code, wet.sync_flag,wet.plan_time,
wetDetail.workorder_id,bucket_id,bucket_code,material_code,material_name,
wetDetail.product_name,wet.shift_desc,prod_line_code
from pro_wet_material_plan wet
LEFT JOIN pro_wet_material_plan_detail wetDetail
on wet.id = wetDetail.wet_material_plan_id
left join pro_order_workorder workorder on workorder.workorder_id = wetDetail.workorder_id
"; //where CONVERT(VARCHAR(10), wet.plan_time , 120)= '2023-08-08'
DataSet dtset = Utils.netClientDBHelper.getDataSet(sql);
if (dtset != null && dtset.Tables.Count > 0 && dtset.Tables[0].Rows.Count > 0)
{

@ -24,6 +24,7 @@ namespace XGL.Models.Model.OrderPrepare
public string material_name { get; set; }
public string product_name { get; set; }
public string shift_desc { get; set; }
public string prod_line_code { get; set; }
}
}

@ -109,6 +109,7 @@
<Compile Include="Model\OffProductInfo.cs" />
<Compile Include="Model\Orderplan.cs" />
<Compile Include="Model\OrderPrepare\MaterialPlanModel.cs" />
<Compile Include="Model\OrderPrepare\WetMaterialModel.cs" />
<Compile Include="Model\PlcSetting.cs" />
<Compile Include="Model\Productinfo.cs" />
<Compile Include="Model\ResultJson.cs" />

@ -1 +1 @@
a3981fa2e653446165b1e6d8b53c95e2b7255b1f
00bbabdd01c605bce5f2d3e47dd2c7484c0442ea

@ -365,52 +365,51 @@
Width="1920"
Height=" 83"
HorizontalAlignment="Left"
Background="#00479D"
Orientation="Horizontal">
<Image
Width="250"
Orientation="Horizontal" Background="AliceBlue">
<StackPanel Width="210" Orientation="Horizontal" Background="#1C6BCC">
<Image
Height="83"
Margin="0,0,0,0"
Source="F:\KHD\230620\shangjian\LanJu\Resources\banner.png" />
<Label
Canvas.Left="174"
Canvas.Top="19"
Source="/Resources/logo.png" />
</StackPanel>
<StackPanel Width="1720" Orientation="Horizontal">
<Label
Width="300"
Height="55"
Margin="5,-20,-5,-20"
Margin="100,0,0,0"
Content="榄菊生产操作系统"
FontSize="36"
FontWeight="Bold"
Foreground="White" />
<Image
Foreground="White"/>
<Image
Width="40"
Height="40"
Margin="450,-20,-1042,-20"
Height="40" Margin="500,0,0,0"
Source="..\Resources\riqi.png" />
<Label
x:Name="LabDate"
Canvas.Left="174"
Canvas.Top="19"
Height="55"
Margin="800,-20,-1042,-20"
Content=""
<Label Margin="15"
x:Name="LabDate"
Height="49"
Content="2023-08-30"
FontSize="30"
Foreground="White" />
<Image
Foreground="White" VerticalAlignment="Bottom" />
<Image
Width="40"
Height="40"
Margin="1100,-20,-1042,-20"
Height="40" Margin="200,0,0,0"
Source="..\Resources\shijian.png" />
<Label
x:Name="LabTime"
Canvas.Left="174"
Canvas.Top="19"
Height="55"
Margin="1050,-20,-1184,-20"
Content=""
<Label
x:Name="LabTime"
Height="49"
Content="14:53:50"
FontSize="30"
Foreground="White" />
Foreground="White" />
<StackPanel.Background>
<ImageBrush ImageSource="..\Resources\topblank.png"></ImageBrush>
</StackPanel.Background>
</StackPanel>
</StackPanel>
<!--<StackPanel
x:Name="InventoryAreaDown"

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
@ -21,6 +22,7 @@ namespace XGL.FormItem
{
public static Main main;
Frame frame1 = new Frame() { Content = new Views.LanJu_Index()};
Timer timer = new Timer();
public enum WindowID
{
frame1
@ -31,6 +33,17 @@ namespace XGL.FormItem
main = this;
WindowChange(WindowID.frame1);
CommonFunc.Common.ReadConfig();//读取配置文件
timer.Interval = 1000;
timer.Elapsed += Timer_Elapsed;
timer.Start();
}
private void Timer_Elapsed(object sender, ElapsedEventArgs e)
{
this.Dispatcher.Invoke(
new Action(() => { LabDate.Content = DateTime.Now.ToString("yyyy-MM-dd"); LabTime.Content = DateTime.Now.ToString("HH:mm:ss"); }
),
System.Windows.Threading.DispatcherPriority.Render) ;
}
public void WindowChange(WindowID windowID)

@ -18,9 +18,9 @@
</Rectangle.Fill>
</Rectangle>
<!--<Image Source="Images/home.png" Width="100" Height="100" VerticalAlignment="Top" Margin="20"></Image>-->
<Label Foreground="White" FontSize="30" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,30,0,0">
<Label.Content>
<Image Source="/Resources/logo.jpg" Width="160" Height="50"/>
<Label Foreground="White" FontSize="30" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,10,0,0">
<Label.Content>
<Image Source="/Resources/logo.png" Width="160" Height="50"/>
</Label.Content>
</Label>
<Rectangle Width="280" Height="240" Fill="White" VerticalAlignment="Bottom" Margin="0,100" RadiusY="19.112" RadiusX="19.112">

@ -153,41 +153,41 @@ namespace XGL
this.Close();
break;
case 0:
//CustomMessageBox.Show("登录失败", CustomMessageBoxIcon.Error);
this.Dispatcher.Invoke(
new Action(() => { zzdl.Content = "登录失败"; zzdl.Foreground = Brushes.Red; }
),
System.Windows.Threading.DispatcherPriority.Render) ;
CustomMessageBox.Show("登录失败", CustomMessageBoxIcon.Error);
//this.Dispatcher.Invoke(
//new Action(() => { zzdl.Content = "登录失败"; zzdl.Foreground = Brushes.Red; }
//),
//System.Windows.Threading.DispatcherPriority.Render) ;
break;
case -1:
this.Dispatcher.Invoke(
new Action(() => { zzdl.Content = "账号或密码错误"; zzdl.Foreground = Brushes.Red; }
),
System.Windows.Threading.DispatcherPriority.Render);
//CustomMessageBox.Show("账号或密码错误", CustomMessageBoxIcon.Error);
//this.Dispatcher.Invoke(
//new Action(() => { zzdl.Content = "账号或密码错误"; zzdl.Foreground = Brushes.Red; }
//),
//System.Windows.Threading.DispatcherPriority.Render);
CustomMessageBox.Show("账号或密码错误", CustomMessageBoxIcon.Error);
break;
case -2:
zzdl.Content = "请输入密码";
zzdl.Foreground = Brushes.Red;
//CustomMessageBox.Show("请输入密码", CustomMessageBoxIcon.Error);
//zzdl.Content = "请输入密码";
//zzdl.Foreground = Brushes.Red;
CustomMessageBox.Show("请输入密码", CustomMessageBoxIcon.Error);
break;
case -3:
zzdl.Content = "请输入账号";
zzdl.Foreground = Brushes.Red;
//CustomMessageBox.Show("请输入账号", CustomMessageBoxIcon.Error);
//zzdl.Content = "请输入账号";
//zzdl.Foreground = Brushes.Red;
CustomMessageBox.Show("请输入账号", CustomMessageBoxIcon.Error);
break;
case -4:
zzdl.Content = "加载菜单异常,请重试";
zzdl.Foreground = Brushes.Red;
//CustomMessageBox.Show("加载菜单异常,请重试", CustomMessageBoxIcon.Error);
//zzdl.Content = "加载菜单异常,请重试";
//zzdl.Foreground = Brushes.Red;
CustomMessageBox.Show("加载菜单异常,请重试", CustomMessageBoxIcon.Error);
break;
case -5:
this.Dispatcher.Invoke(
new Action(() => zzdl.Content = "登录异常,请重试"
),
System.Windows.Threading.DispatcherPriority.Render);
//CustomMessageBox.Show("登录异常,请重试", CustomMessageBoxIcon.Error);
// this.Dispatcher.Invoke(
//new Action(() => zzdl.Content = "登录异常,请重试"
//),
//System.Windows.Threading.DispatcherPriority.Render);
CustomMessageBox.Show("登录异常,请重试", CustomMessageBoxIcon.Error);
break;
}
dldh.IsActive = false;

@ -254,6 +254,6 @@
<value>..\Resources\app.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\logo.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<value>..\Resources\logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -23,9 +23,9 @@
StrokeThickness="1" >
<Ellipse.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF2281D1"></GradientStop>
<GradientStop Color="#FF34268A" Offset="1"></GradientStop>
<GradientStop Color="#FF34268A" Offset="0.1"></GradientStop>
<GradientStop Color="#FF33288B" Offset="0.5"></GradientStop>
<GradientStop Color="#FF2281D1" Offset="0.9"></GradientStop>
</LinearGradientBrush>
</Ellipse.Fill>
</Ellipse>
@ -110,12 +110,19 @@
<DataGridTextColumn Width="300" Header="完成时间" />
</DataGrid.Columns>
</DataGrid>
<Button Grid.Row="1" Grid.Column="1" Click="btnStartOrders_Click">
<Button.Template>
<ControlTemplate>
<Image Width="250" Height="250" Margin="0,0,0,0" Source="/Resources/startOrder.jpg" />
</ControlTemplate>
</Button.Template>
</Button>
<Button
<!--<Button
x:Name="btnStartOrders"
Grid.Row="1"
Foreground="White"
FontSize="18"
FontSize="28"
Grid.Column="1"
Width="250"
Height="250"
@ -124,7 +131,7 @@
Content="开始工单"
Style="{StaticResource RoundButton}" Click="btnStartOrders_Click">
</Button>
</Button>-->
<Label
Grid.Row="2"
@ -250,7 +257,11 @@
<DataGridTextColumn
Width="*"
Binding="{Binding shift_desc}"
Header="班次" />
Header="班次" />
<DataGridTextColumn
Width="*"
Binding="{Binding prod_line_code}"
Header="成型机" />
</DataGrid.Columns>
</DataGrid>
</ScrollViewer>

@ -38,6 +38,7 @@ namespace XGL.Views
List<WetMaterialModel> wetList = new List<WetMaterialModel>();
WetMaterialModel wet = new WetMaterialModel();
string messageOrderCode = "";
DataTable dt;
/// <summary>
/// <summary>
/// 获取主页显示订单
@ -50,8 +51,8 @@ namespace XGL.Views
{
//modelWareHouse = new List<WorkOrder>();
//userDbWareHouse = new DBService();
var Items = userDbWareHouse.GetWetPlanInfo();
foreach (DataRow i in Items.Rows)
dt = userDbWareHouse.GetWetPlanInfo();
foreach (DataRow i in dt.Rows)
{
wet.id = i["id"].ToString();
wet.workorder_id = i["workorder_id"].ToString();
@ -61,6 +62,7 @@ namespace XGL.Views
wet.plan_time = Convert.ToDateTime(i["plan_time"].ToString());
wet.bucket_code = i["bucket_code"].ToString();
wet.shift_desc = i["shift_desc"].ToString();
wet.prod_line_code = i["prod_line_code"].ToString();
wetList.Add(wet);
// list_modelWareHouse.WorkOrderCode = i["WorkOrderCode"].ToString();
// list_modelWareHouse.OrderCode = i["OrderCode"].ToString();
@ -103,11 +105,31 @@ namespace XGL.Views
CustomMessageBox.Show("该工单未准备好,请稍后再试!", CustomMessageBoxIcon.Warning);
return;
}
string apiUrl = "http://example.com/api/endpoint";
string jsonContent = "{\"key1\":\"value1\",\"key2\":\"value2\"}";
MaterialPlanModel materialPlanModel = new MaterialPlanModel();
//materialPlanModel.reqCode = CommonFunc.Common.
skuInfo sku = new skuInfo();
List<WetMaterialModel> listWetMaterial = Utils.ToDataList<WetMaterialModel>(dt);
List<unloadNoInfo> unloadNoInfoList = new List<unloadNoInfo>();
//根据湿料计划、成型机分组
var listChengXingji = listWetMaterial.GroupBy(a => new { a.id,a.prod_line_code});
var list = listWetMaterial.GroupBy(a=>a.prod_line_code);
foreach (var item in listChengXingji)
{
unloadNoInfo unloadNoInfo = new unloadNoInfo();
unloadNoInfo.unloadNo = (WorkOrder.SelectedItem as WetMaterialModel).bucket_code;
unloadNoInfoList.Add(unloadNoInfo);
}
materialPlanModel.reqCode = CommonFunc.Common.GetUUID();
materialPlanModel.reqTime = DateTime.Now.ToString();
materialPlanModel.planNo = orderID;
sku.sku = "";
sku.loadNo = "";
RestHelper restClient = new RestHelper();
var response = restClient.PostAsync(apiUrl, jsonContent);

@ -921,7 +921,13 @@
<Resource Include="Resources\zaijubianma.png" />
<Resource Include="Resources\zaijudaoweizhuangtai.png" />
<Resource Include="Resources\上件操作.png" />
<Resource Include="Resources\logo.jpg" />
<Resource Include="Resources\alert.png" />
<Resource Include="Resources\Error.png" />
<Resource Include="Resources\question.png" />
<Resource Include="Resources\Success.png" />
<Resource Include="Resources\logo.png" />
<Resource Include="Resources\topblank.png" />
<Resource Include="Resources\startOrder.jpg" />
<Content Include="snap7.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>

@ -0,0 +1,128 @@
【时间】:2023-08-30 10:23:24,512
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 30840
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第403行
【日志内容】:==========>变量取值出错:给定关键字不在字典中。 [loginUser]
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 10:23:24,570
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 30840
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第403行
【日志内容】:==========>变量取值出错:给定关键字不在字典中。 [loginpwd]
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:36,930
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 65168
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第403行
【日志内容】:==========>变量取值出错:给定关键字不在字典中。 [loginUser]
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:36,997
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 65168
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第403行
【日志内容】:==========>变量取值出错:给定关键字不在字典中。 [loginpwd]
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:46,100
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 65168
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第364行
【日志内容】:在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginUser
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:46,111
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 65168
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第364行
【日志内容】:在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginpwd
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:46,552
【级别】:WARN
【类名】:CommonFunc.SqlServerDBHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\SqlServerDbHelper.cs 第54行
【日志内容】:连接数据库时发生异常:客户端无法建立连接,因为在登录前连接初始化进程中发生错误。可能的原因包括: 客户端尝试连接的 SQL Server 的版本不受支持; 服务器过忙,无法接受新连接; 或者,服务器上存在资源限制(内存不足或已达到允许的连接最大数量)。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。)
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:46,577
【级别】:WARN
【类名】:CommonFunc.SqlServerDBHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\SqlServerDbHelper.cs 第110行
【日志内容】:执行查询操作异常:客户端无法建立连接,因为在登录前连接初始化进程中发生错误。可能的原因包括: 客户端尝试连接的 SQL Server 的版本不受支持; 服务器过忙,无法接受新连接; 或者,服务器上存在资源限制(内存不足或已达到允许的连接最大数量)。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。)
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:46,585
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\LoginPage.xaml.cs 第123行
【日志内容】:登录异常:无法找到表 0。
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:40:46,586
【级别】:INFO
【类名】:CommonFunc.LogHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\LoginPage.xaml.cs 第127行
【日志内容】:登录时间差0
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:41:09,805
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 65168
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第364行
【日志内容】:在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginUser
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:41:09,806
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 65168
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\Common.cs 第364行
【日志内容】:在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginpwd
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:41:10,468
【级别】:WARN
【类名】:CommonFunc.SqlServerDBHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\SqlServerDbHelper.cs 第54行
【日志内容】:连接数据库时发生异常:已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: TCP Provider, error: 0 - 指定的网络名不再可用。)
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:41:10,477
【级别】:WARN
【类名】:CommonFunc.SqlServerDBHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\CommonFunc\SqlServerDbHelper.cs 第110行
【日志内容】:执行查询操作异常:已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: TCP Provider, error: 0 - 指定的网络名不再可用。)
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:41:10,484
【级别】:ERROR
【类名】:CommonFunc.LogHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\LoginPage.xaml.cs 第123行
【日志内容】:登录异常:无法找到表 0。
【日记详细】:
---------------------------------------------------------------------------------------------------------------
【时间】:2023-08-30 16:41:10,485
【级别】:INFO
【类名】:CommonFunc.LogHelper
【线程ID】: 32836
【文件地址】:D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\LoginPage.xaml.cs 第127行
【日志内容】:登录时间差0
【日记详细】:
---------------------------------------------------------------------------------------------------------------

@ -0,0 +1,10 @@
[2023-08-30 10:23:24,512][ERROR] ==========>变量取值出错:给定关键字不在字典中。 [loginUser]
[2023-08-30 10:23:24,570][ERROR] ==========>变量取值出错:给定关键字不在字典中。 [loginpwd]
[2023-08-30 16:40:36,930][ERROR] ==========>变量取值出错:给定关键字不在字典中。 [loginUser]
[2023-08-30 16:40:36,997][ERROR] ==========>变量取值出错:给定关键字不在字典中。 [loginpwd]
[2023-08-30 16:40:46,100][ERROR] 在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginUser
[2023-08-30 16:40:46,111][ERROR] 在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginpwd
[2023-08-30 16:40:46,585][ERROR] 登录异常:无法找到表 0。
[2023-08-30 16:41:09,805][ERROR] 在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginUser
[2023-08-30 16:41:09,806][ERROR] 在D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\bin\x86\Debug\\System.ini中已经存在相同的配置项loginpwd
[2023-08-30 16:41:10,484][ERROR] 登录异常:无法找到表 0。

@ -0,0 +1,4 @@
[2023-08-30 16:40:46,552] 连接数据库时发生异常:客户端无法建立连接,因为在登录前连接初始化进程中发生错误。可能的原因包括: 客户端尝试连接的 SQL Server 的版本不受支持; 服务器过忙,无法接受新连接; 或者,服务器上存在资源限制(内存不足或已达到允许的连接最大数量)。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。)
[2023-08-30 16:40:46,577] 执行查询操作异常:客户端无法建立连接,因为在登录前连接初始化进程中发生错误。可能的原因包括: 客户端尝试连接的 SQL Server 的版本不受支持; 服务器过忙,无法接受新连接; 或者,服务器上存在资源限制(内存不足或已达到允许的连接最大数量)。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。)
[2023-08-30 16:41:10,468] 连接数据库时发生异常:已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: TCP Provider, error: 0 - 指定的网络名不再可用。)
[2023-08-30 16:41:10,477] 执行查询操作异常:已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: TCP Provider, error: 0 - 指定的网络名不再可用。)

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "517FA39B851EB2D816E9F37D2B5DE6F6045B3C7898F5907DD695601BC0E3F056"
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "37C438E1EAF0683518728F4D4D56C558F66FDFE8AAD314B65D85A076FD054124"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
@ -65,7 +65,7 @@ namespace XGL.FormItem {
#line hidden
#line 391 "..\..\..\..\FormItem\Main.xaml"
#line 390 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabDate;
@ -73,7 +73,7 @@ namespace XGL.FormItem {
#line hidden
#line 405 "..\..\..\..\FormItem\Main.xaml"
#line 401 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabTime;
@ -81,7 +81,7 @@ namespace XGL.FormItem {
#line hidden
#line 452 "..\..\..\..\FormItem\Main.xaml"
#line 451 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel DownStart;
@ -89,7 +89,7 @@ namespace XGL.FormItem {
#line hidden
#line 474 "..\..\..\..\FormItem\Main.xaml"
#line 473 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnFault;
@ -155,7 +155,7 @@ namespace XGL.FormItem {
case 8:
this.btnFault = ((System.Windows.Controls.Button)(target));
#line 479 "..\..\..\..\FormItem\Main.xaml"
#line 478 "..\..\..\..\FormItem\Main.xaml"
this.btnFault.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
#line default

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "517FA39B851EB2D816E9F37D2B5DE6F6045B3C7898F5907DD695601BC0E3F056"
#pragma checksum "..\..\..\..\FormItem\Main.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "37C438E1EAF0683518728F4D4D56C558F66FDFE8AAD314B65D85A076FD054124"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
@ -65,7 +65,7 @@ namespace XGL.FormItem {
#line hidden
#line 391 "..\..\..\..\FormItem\Main.xaml"
#line 390 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabDate;
@ -73,7 +73,7 @@ namespace XGL.FormItem {
#line hidden
#line 405 "..\..\..\..\FormItem\Main.xaml"
#line 401 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label LabTime;
@ -81,7 +81,7 @@ namespace XGL.FormItem {
#line hidden
#line 452 "..\..\..\..\FormItem\Main.xaml"
#line 451 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel DownStart;
@ -89,7 +89,7 @@ namespace XGL.FormItem {
#line hidden
#line 474 "..\..\..\..\FormItem\Main.xaml"
#line 473 "..\..\..\..\FormItem\Main.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnFault;
@ -155,7 +155,7 @@ namespace XGL.FormItem {
case 8:
this.btnFault = ((System.Windows.Controls.Button)(target));
#line 479 "..\..\..\..\FormItem\Main.xaml"
#line 478 "..\..\..\..\FormItem\Main.xaml"
this.btnFault.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);
#line default

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\LoginPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3B55C34DBCEC4FCB00DB74F17B3838B08AA108F2A66222C8C100083A4FE01020"
#pragma checksum "..\..\..\LoginPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8E1E2B77B64905595950267B326E43AFC69E8ABE897825376C0C09897F849D97"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\LoginPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3B55C34DBCEC4FCB00DB74F17B3838B08AA108F2A66222C8C100083A4FE01020"
#pragma checksum "..\..\..\LoginPage.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8E1E2B77B64905595950267B326E43AFC69E8ABE897825376C0C09897F849D97"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save