yantian yue
2023-12-28 fd5f7c86beec35f6b7cde3f16f23c6cf1279a447
更新
已修改25个文件
16 ■■■■ 文件已修改
.vs/YX/v16/.suo 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/System_Bll.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/bin/Debug/YX.BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/bin/Debug/YX.BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/bin/Debug/YX.DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/bin/Debug/YX.DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/obj/Debug/YX.BLL.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/obj/Debug/YX.BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
YX.BLL/obj/Debug/YX.BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX.DAL/System_Dal.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
YX.DAL/bin/Debug/YX.DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
YX.DAL/bin/Debug/YX.DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX.DAL/obj/Debug/YX.DAL.csproj.AssemblyReference.cache 补丁 | 查看 | 原始文档 | blame | 历史
YX.DAL/obj/Debug/YX.DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
YX.DAL/obj/Debug/YX.DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX/bin/Debug/YX.BLL.dll 补丁 | 查看 | 原始文档 | blame | 历史
YX/bin/Debug/YX.BLL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX/bin/Debug/YX.DAL.dll 补丁 | 查看 | 原始文档 | blame | 历史
YX/bin/Debug/YX.DAL.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX/bin/Debug/YX.exe 补丁 | 查看 | 原始文档 | blame | 历史
YX/bin/Debug/YX.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX/obj/Debug/YX.exe 补丁 | 查看 | 原始文档 | blame | 历史
YX/obj/Debug/YX.pdb 补丁 | 查看 | 原始文档 | blame | 历史
YX/wt/FrmExpress.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
YX/wt/Frmwt.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.vs/YX/v16/.suo
Binary files differ
YX.BLL/System_Bll.cs
@@ -79,12 +79,12 @@
                throw ex;
            }
        }
        public static DataTable GetSystemLog(string ip)
        public static DataTable GetSystemLog(string ip,string type)
        {
            DataTable dt = new DataTable();
            try
            {
                return System_Dal.GetSystemLog(ip);
                return System_Dal.GetSystemLog(ip, type);
            }
            catch (Exception ex)
YX.BLL/bin/Debug/YX.BLL.dll
Binary files differ
YX.BLL/bin/Debug/YX.BLL.pdb
Binary files differ
YX.BLL/bin/Debug/YX.DAL.dll
Binary files differ
YX.BLL/bin/Debug/YX.DAL.pdb
Binary files differ
YX.BLL/obj/Debug/YX.BLL.csproj.AssemblyReference.cache
Binary files differ
YX.BLL/obj/Debug/YX.BLL.dll
Binary files differ
YX.BLL/obj/Debug/YX.BLL.pdb
Binary files differ
YX.DAL/System_Dal.cs
@@ -134,14 +134,14 @@
            }
        }
        public static DataTable GetSystemLog(string ip)
        public static DataTable GetSystemLog(string ip ,string type)
        {
            DataTable dt = new DataTable();
            try
            {
                using (Sam_DBEntities db = new Sam_DBEntities()) 
                {
                    var sql = @"SELECT top 35 LogMessage,CreateTime FROM Base_Log where type='称重' and LocalIP= '" + ip+ "'  ORDER BY CreateTime DESC ";
                    var sql = @"SELECT top 35 LogMessage,CreateTime FROM Base_Log where type='" + type + "' and LocalIP= '" + ip+ "'  ORDER BY CreateTime DESC ";
                    dt = SqlHelper.ExecuteDataset(db.Database.Connection.ConnectionString, CommandType.Text, sql).Tables[0];
                }
            }
YX.DAL/bin/Debug/YX.DAL.dll
Binary files differ
YX.DAL/bin/Debug/YX.DAL.pdb
Binary files differ
YX.DAL/obj/Debug/YX.DAL.csproj.AssemblyReference.cache
Binary files differ
YX.DAL/obj/Debug/YX.DAL.dll
Binary files differ
YX.DAL/obj/Debug/YX.DAL.pdb
Binary files differ
YX/bin/Debug/YX.BLL.dll
Binary files differ
YX/bin/Debug/YX.BLL.pdb
Binary files differ
YX/bin/Debug/YX.DAL.dll
Binary files differ
YX/bin/Debug/YX.DAL.pdb
Binary files differ
YX/bin/Debug/YX.exe
Binary files differ
YX/bin/Debug/YX.pdb
Binary files differ
YX/obj/Debug/YX.exe
Binary files differ
YX/obj/Debug/YX.pdb
Binary files differ
YX/wt/FrmExpress.cs
@@ -50,7 +50,7 @@
            {
                Console.WriteLine($"发生错误:{ex}");
            }
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP);
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP, "称重");
            macBox.Text = GetMacByNetworkInterface();
        }
        private void ReceiveSerialData()
@@ -268,7 +268,7 @@
                    }
                }
            }
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP);
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP, "称重");
            Refresh();
        }
YX/wt/Frmwt.cs
@@ -49,7 +49,7 @@
            {
                Console.WriteLine($"发生错误:{ex}");
            }
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP);
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP, "称重");
            macBox.Text = GetMacByNetworkInterface();
        }
@@ -268,7 +268,7 @@
                    }
                }
            }
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP);
            dataGridView1.DataSource = System_Bll.GetSystemLog(FrmLogin.LocalIP, "称重");
            Refresh();
        }