添加项目文件。
29
EleBox.App/App.config
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/>
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="connecting2" value="Data Source=20.20.30.200;user instance=false;Initial Catalog=SCRLine;User ID=sa;Password=DAIKIN@123"/>
|
||||
<add key="connecting1" value="Data Source=192.168.40.2;user instance=false;Initial Catalog=FrontLineMachine;User ID=sa;Password=ABCabc123"/>
|
||||
<add key="connecting" value="Data Source=CT-PC;user instance=false;Initial Catalog=GroupLine;User ID=sa;Password=12345678"/>
|
||||
<add key="PLCScan" value="600"/>
|
||||
<add key="ProofEnable" value="True"/>
|
||||
<add key="IsDebug" value="True"/>
|
||||
<add key="Location" value="G"/>
|
||||
<add key="RegiterCode" value="VCYVCYVUVTQPYQTUYQPQPPAP"/>
|
||||
<add key="CurrentProLineNo" value="UI"/>
|
||||
<add key="MinLowThreshold" value="3"/>
|
||||
<add key="GPLCIp" value="127.0.0.1"/>
|
||||
<add key="KPPLCIp" value="127.0.0.1"/>
|
||||
<add key="GPLCPort" value="6000"/>
|
||||
<add key="KPPLCPort" value="6000"/>
|
||||
<add key="KPSerialPort" value="COM10"/>
|
||||
<add key="KPSerialRate" value="9600"/>
|
||||
<add key="GroupStandSdPLCPort" value="6004"/>
|
||||
<add key="ServerIP" value="20.20.32.100"/>
|
||||
<add key="MdStation" value="1"/>
|
||||
<add key="Model" value="手动模式"/>
|
||||
<add key="ClientSettingsProvider.ServiceUri" value=""/>
|
||||
</appSettings>
|
||||
</configuration>
|
||||
28
EleBox.App/Com/BitStateSgl.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DynStatDisk.App.Com
|
||||
{
|
||||
public class BitStateSgl
|
||||
{
|
||||
public BitStateSgl(string sglName, bool state)
|
||||
{
|
||||
SglName = sglName;
|
||||
State = state;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 信号名称
|
||||
/// </summary>
|
||||
public string SglName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信号状态
|
||||
/// </summary>
|
||||
public bool State { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
59
EleBox.App/Com/ConfigHelper.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DynStatDisk.App.Com
|
||||
{
|
||||
public class ConfigHelper
|
||||
{
|
||||
Configuration cfa = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
|
||||
/// <summary>
|
||||
/// 根据Key取Value值
|
||||
/// </summary>
|
||||
/// <param name="key"></param>
|
||||
public static string GetValue(string key)
|
||||
{
|
||||
return ConfigurationManager.AppSettings[key].ToString().Trim();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据Key修改Value
|
||||
/// </summary>
|
||||
/// <param name="key">要修改的Key</param>
|
||||
/// <param name="value">要修改为的值</param>
|
||||
public static void SetValue(string key, string value)
|
||||
{
|
||||
//ConfigurationManager.AppSettings.Set(key, value);
|
||||
//cfa.AppSettings.Settings[key].Value = value;
|
||||
//cfa.Save();
|
||||
|
||||
Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
|
||||
configuration.AppSettings.Settings[key].Value = value;
|
||||
configuration.Save();
|
||||
ConfigurationManager.RefreshSection("appSettings");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加新的Key ,Value键值对
|
||||
/// </summary>
|
||||
/// <param name="key">Key</param>
|
||||
/// <param name="value">Value</param>
|
||||
public static void Add(string key, string value)
|
||||
{
|
||||
ConfigurationManager.AppSettings.Add(key, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据Key删除项
|
||||
/// </summary>
|
||||
/// <param name="key">Key</param>
|
||||
public static void Remove(string key)
|
||||
{
|
||||
ConfigurationManager.AppSettings.Remove(key);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
34
EleBox.App/Com/IntStateSgl.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DynStatDisk.App.Com
|
||||
{
|
||||
public class IntStateSgl
|
||||
{
|
||||
public IntStateSgl(string sglName, int state, int standardState)
|
||||
{
|
||||
SglName = sglName;
|
||||
State = state;
|
||||
StandardState = standardState;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 信号名称
|
||||
/// </summary>
|
||||
public string SglName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信号状态 标准
|
||||
/// </summary>
|
||||
public int StandardState { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 信号状态
|
||||
/// </summary>
|
||||
public int State { get; set; }
|
||||
}
|
||||
}
|
||||
36
EleBox.App/Com/OpActionState.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DynStatDisk.App.Com
|
||||
{
|
||||
/// <summary>
|
||||
/// 操作状态
|
||||
/// </summary>
|
||||
public class OpActionState
|
||||
{
|
||||
public OpActionState(string name, string currentCategory)
|
||||
{
|
||||
Name = name;
|
||||
CurrentCategory = currentCategory;
|
||||
CurrentResult = false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前部品类型
|
||||
/// </summary>
|
||||
public string CurrentCategory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前结果数据
|
||||
/// </summary>
|
||||
public bool CurrentResult { get; set; }
|
||||
}
|
||||
}
|
||||
107
EleBox.App/Com/PLCSglModel.cs
Normal file
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DynStatDisk.App.Com
|
||||
{
|
||||
public class PLCSglModel
|
||||
{
|
||||
public delegate void CylinderNoSglDelegate(bool UpdateValue, string UpdateName);
|
||||
public event CylinderNoSglDelegate CylinderNoSglEvent;
|
||||
|
||||
public delegate void PalletPassSglDelegate(bool UpdateValue, string UpdateName);
|
||||
public event PalletPassSglDelegate PalletPassSglEvent;
|
||||
|
||||
public delegate void TongZhiGuiSglDelegate(bool UpdateValue, string UpdateName);
|
||||
public event TongZhiGuiSglDelegate TongZhiGuiSglEvent;
|
||||
|
||||
public PLCSglModel()
|
||||
{
|
||||
_CodeEnable = false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
private bool _CodeEnable;
|
||||
/// <summary>
|
||||
/// 条码准备完毕信号
|
||||
/// </summary>
|
||||
public bool CodeEnable
|
||||
{
|
||||
get
|
||||
{
|
||||
return _CodeEnable;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != _CodeEnable && value == true)
|
||||
{
|
||||
_CodeEnable = value;
|
||||
CylinderNoSglEvent(true, "CodeReadOK");//开始动作
|
||||
}
|
||||
else if (value != _CodeEnable && value == false)
|
||||
{
|
||||
_CodeEnable = false;
|
||||
//PLCCodeEnableEvent(false, "记录和计算信号OFF");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private bool _PalletPassEnable;
|
||||
/// <summary>
|
||||
/// 托盘放行信号
|
||||
/// </summary>
|
||||
public bool PalletPassEnable
|
||||
{
|
||||
get
|
||||
{
|
||||
return _PalletPassEnable;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != _PalletPassEnable && value == true)
|
||||
{
|
||||
_PalletPassEnable = value;
|
||||
PalletPassSglEvent(true, "PalletPass");//开始动作
|
||||
}
|
||||
else if (value != _PalletPassEnable && value == false)
|
||||
{
|
||||
_PalletPassEnable = false;
|
||||
//PLCCodeEnableEvent(false, "记录和计算信号OFF");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private bool _TongZhiGuiEnable;
|
||||
/// <summary>
|
||||
/// 通止规信号
|
||||
/// </summary>
|
||||
public bool TongZhiGuiEnable
|
||||
{
|
||||
get
|
||||
{
|
||||
return _TongZhiGuiEnable;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != _TongZhiGuiEnable && value == true)
|
||||
{
|
||||
_TongZhiGuiEnable = value;
|
||||
//TongZhiGuiSglEvent(false, "Off");//开始动作
|
||||
TongZhiGuiSglEvent(true, "ON");//开始动作
|
||||
}
|
||||
else if (value != _TongZhiGuiEnable && value == false)
|
||||
{
|
||||
//从On到Off是通止规的启用的信号
|
||||
_TongZhiGuiEnable = value;
|
||||
//TongZhiGuiSglEvent(true, "ON");//开始动作
|
||||
TongZhiGuiSglEvent(false, "Off");//开始动作
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
10
EleBox.App/Com/PhotoImage.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace DynStatDisk.App.Com
|
||||
{
|
||||
public class PhotoImage
|
||||
{
|
||||
public string MachineModel { get; set; }
|
||||
public Image ImageInfo { get; set; }
|
||||
}
|
||||
}
|
||||
89
EleBox.App/Com/StateModel.cs
Normal file
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DynStatDisk.App.Com
|
||||
{
|
||||
public class StateModel
|
||||
{
|
||||
public delegate void StateSglDelegate(bool UpdateValue, string Name, string Category);
|
||||
public event StateSglDelegate StateSglSglEvent;
|
||||
|
||||
public StateModel(string name, string category, List<BitStateSgl> listBitStateSgl)
|
||||
{
|
||||
Name = name;
|
||||
Category = category;
|
||||
ListBitStateSgl = listBitStateSgl;
|
||||
}
|
||||
|
||||
public StateModel(string name, string category, List<IntStateSgl> listIntStateSgl)
|
||||
{
|
||||
Name = name;
|
||||
Category = category;
|
||||
ListIntStateSgl = listIntStateSgl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
public string Category { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 复位状态
|
||||
/// </summary>
|
||||
public void ResetResult()
|
||||
{
|
||||
_Result = false;
|
||||
}
|
||||
|
||||
private bool _Result;
|
||||
/// <summary>
|
||||
/// 结果判断
|
||||
/// </summary>
|
||||
public bool Result
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Result;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != _Result && value == true)
|
||||
{
|
||||
_Result = value;
|
||||
StateSglSglEvent(true, Name, Category);//开始动作
|
||||
}
|
||||
else if (value != _Result && value == false)
|
||||
{
|
||||
_Result = false;
|
||||
//StateSglSglEvent(false, Name, Category);//开始动作
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 临时暂存的结果
|
||||
/// </summary>
|
||||
public bool TempBitValue { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 信号状态集合 Bool
|
||||
/// </summary>
|
||||
public List<BitStateSgl> ListBitStateSgl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 信号状态集合 Int
|
||||
/// </summary>
|
||||
public List<IntStateSgl> ListIntStateSgl { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
500
EleBox.App/DynStatDisk.App.csproj
Normal file
@@ -0,0 +1,500 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{0C0004E9-1CE3-43A3-BAE6-16547AFB1CA8}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>DynStatDisk.App</RootNamespace>
|
||||
<AssemblyName>DynStatDisk.App</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Images\P0.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Arction.WinForms.Charting.LightningChart, Version=10.3.2.4003, Culture=neutral, PublicKeyToken=6484d7bb14b95dd3" />
|
||||
<Reference Include="Arction.WinForms.TradingCharts, Version=2.3.2.3, Culture=neutral, PublicKeyToken=6484d7bb14b95dd3, processorArchitecture=MSIL" />
|
||||
<Reference Include="BouncyCastle.Crypto, Version=1.8.6.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Portable.BouncyCastle.1.8.6\lib\net40\BouncyCastle.Crypto.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FreeSql, Version=3.2.693.0, Culture=neutral, PublicKeyToken=a33928e5d4a4b39c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FreeSql.3.2.693\lib\net451\FreeSql.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FreeSql.Provider.SqlServer, Version=3.2.693.0, Culture=neutral, PublicKeyToken=d313b98af285bd88, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FreeSql.Provider.SqlServer.3.2.693\lib\net451\FreeSql.Provider.SqlServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HslCommunication, Version=12.0.3.0, Culture=neutral, PublicKeyToken=3d72ad3b6b5ec0e3, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\HslCommunication.12.0.3\lib\net451\HslCommunication.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.1.9, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpZipLib.1.3.1\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.5.1.3\lib\net46\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OOXML, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.OOXML.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OpenXml4Net, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.OpenXml4Net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NPOI.OpenXmlFormats, Version=2.5.4.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NPOI.2.5.4\lib\net45\NPOI.OpenXmlFormats.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.SqlClient, Version=4.6.1.5, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Data.SqlClient.4.8.5\lib\net461\System.Data.SqlClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Compression" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Com\BitStateSgl.cs" />
|
||||
<Compile Include="Com\ConfigHelper.cs" />
|
||||
<Compile Include="Com\IntStateSgl.cs" />
|
||||
<Compile Include="Com\OpActionState.cs" />
|
||||
<Compile Include="Com\PhotoImage.cs" />
|
||||
<Compile Include="Com\PLCSglModel.cs" />
|
||||
<Compile Include="Com\StateModel.cs" />
|
||||
<Compile Include="frmMachineModelConfig.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmMachineModelConfig.Designer.cs">
|
||||
<DependentUpon>frmMachineModelConfig.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmHistoryData.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmHistoryData.Designer.cs">
|
||||
<DependentUpon>frmHistoryData.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FrmUserManage.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FrmUserManage.Designer.cs">
|
||||
<DependentUpon>FrmUserManage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="FSqlContext.cs" />
|
||||
<Compile Include="Main.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Main.Designer.cs">
|
||||
<DependentUpon>Main.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Model\GDynStaticMach.cs" />
|
||||
<Compile Include="Model\KPDynStaticMach.cs" />
|
||||
<Compile Include="Model\DynStatDiskModel.cs" />
|
||||
<Compile Include="Model\GapData.cs" />
|
||||
<Compile Include="Model\LastStateInfo.cs" />
|
||||
<Compile Include="Model\MachineLocation.cs" />
|
||||
<Compile Include="Model\TbUser.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<None Include="Resources\图片1.png" />
|
||||
<None Include="Resources\注销用户.png" />
|
||||
<None Include="Resources\用户管理.png" />
|
||||
<EmbeddedResource Include="frmMachineModelConfig.resx">
|
||||
<DependentUpon>frmMachineModelConfig.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmHistoryData.resx">
|
||||
<DependentUpon>frmHistoryData.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="FrmUserManage.resx">
|
||||
<DependentUpon>FrmUserManage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Main.resx">
|
||||
<DependentUpon>Main.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<Content Include="Images\2.wav">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\29.wav">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\About.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\alert_128px_1082676_easyicon.net.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\alert_on_128px_581757_easyicon.net.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button10.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button11.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button13.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button2.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button3.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button4.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button5.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button6.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button7.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button8.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\button9.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\cz1.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Falut.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\flux_128px_1157201_easyicon.net.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\hand1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\hand2.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\handauto.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\icontexto_message_types_alert_red_128px_505529_easyicon.net.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Input.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\IPQC制程检验 %281%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\IPQC制程检验.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\ip_address_512px_1169699_easyicon.net.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Load.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Log.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\logo.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Main.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\name.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\NG.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\no name.wav">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\no.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\ok.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Output.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\P0.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\P1.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\P2.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\P3.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\P4.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\putput1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\putput2.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\putput3.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Question.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Quit.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\red_alert_128px_569416_easyicon.net.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\RunState 1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\RunState 2.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\RunState 3.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\RunState 4.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\RunState 5.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\RunState.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\set1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\set2.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\set3.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\time_128px_1195887_easyicon.net.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Tool.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\user_853px_1149308_easyicon.net.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\vrcologo_01.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\vrcologo_01.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Wait.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\Well.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\不合格.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\任务完成数量.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\关闭.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\分类.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\切换.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\切换1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\包装 %281%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\包装.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\压缩机.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\双手自动.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\合格.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\圆Off.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\圆On.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\垫付费核销.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\工单 %281%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\工单.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\工单信息.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\时间.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\条码 %281%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\条码.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\次品1 %281%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\次品1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\次品报表.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\注销.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\用户 管理.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\登录 %281%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\登录 %282%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\登录.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\箱子.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\编码.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\编码1.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\裕同包装.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\警告.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\质检 %281%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\质检 %282%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\质检 %283%29.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\质检.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\进度.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\选择.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Images\错误.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="NLog.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="NLog.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
17
EleBox.App/FSqlContext.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using DynStatDisk.App.Com;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DynStatDisk.App
|
||||
{
|
||||
public class FSqlContext
|
||||
{
|
||||
public static IFreeSql FDb = new FreeSql.FreeSqlBuilder()
|
||||
.UseConnectionString(FreeSql.DataType.SqlServer, ConfigHelper.GetValue("connecting"))
|
||||
.UseAutoSyncStructure(true) //自动同步实体结构到数据库
|
||||
.Build(); //请务必定义成 Singleton 单例模式
|
||||
}
|
||||
}
|
||||
229
EleBox.App/FrmUserManage.Designer.cs
generated
Normal file
@@ -0,0 +1,229 @@
|
||||
namespace DynStatDisk.App
|
||||
{
|
||||
partial class FrmUserManage
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmUserManage));
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
this.btnDelete = new System.Windows.Forms.Button();
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.btnEdit = new System.Windows.Forms.Button();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.cbxLevel = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.lblPwd = new System.Windows.Forms.Label();
|
||||
this.txtPwd = new System.Windows.Forms.TextBox();
|
||||
this.txtName = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.listView1 = new System.Windows.Forms.ListView();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.btnClose);
|
||||
this.groupBox1.Controls.Add(this.btnDelete);
|
||||
this.groupBox1.Controls.Add(this.btnAdd);
|
||||
this.groupBox1.Controls.Add(this.btnEdit);
|
||||
this.groupBox1.Controls.Add(this.panel3);
|
||||
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox1.Location = new System.Drawing.Point(3, -1);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(710, 157);
|
||||
this.groupBox1.TabIndex = 7;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "操作";
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnClose.Location = new System.Drawing.Point(597, 21);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(94, 47);
|
||||
this.btnClose.TabIndex = 30;
|
||||
this.btnClose.Text = "关闭";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
||||
//
|
||||
// btnDelete
|
||||
//
|
||||
this.btnDelete.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnDelete.Location = new System.Drawing.Point(497, 21);
|
||||
this.btnDelete.Name = "btnDelete";
|
||||
this.btnDelete.Size = new System.Drawing.Size(94, 47);
|
||||
this.btnDelete.TabIndex = 29;
|
||||
this.btnDelete.Text = "删除";
|
||||
this.btnDelete.UseVisualStyleBackColor = true;
|
||||
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAdd.Location = new System.Drawing.Point(297, 20);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(94, 47);
|
||||
this.btnAdd.TabIndex = 27;
|
||||
this.btnAdd.Text = "增加";
|
||||
this.btnAdd.UseVisualStyleBackColor = true;
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// btnEdit
|
||||
//
|
||||
this.btnEdit.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnEdit.Location = new System.Drawing.Point(397, 20);
|
||||
this.btnEdit.Name = "btnEdit";
|
||||
this.btnEdit.Size = new System.Drawing.Size(94, 47);
|
||||
this.btnEdit.TabIndex = 28;
|
||||
this.btnEdit.Text = "修改";
|
||||
this.btnEdit.UseVisualStyleBackColor = true;
|
||||
this.btnEdit.Click += new System.EventHandler(this.btnEdit_Click);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.panel3.Controls.Add(this.cbxLevel);
|
||||
this.panel3.Controls.Add(this.label2);
|
||||
this.panel3.Controls.Add(this.lblPwd);
|
||||
this.panel3.Controls.Add(this.txtPwd);
|
||||
this.panel3.Controls.Add(this.txtName);
|
||||
this.panel3.Controls.Add(this.label5);
|
||||
this.panel3.Location = new System.Drawing.Point(0, 77);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(710, 74);
|
||||
this.panel3.TabIndex = 26;
|
||||
//
|
||||
// cbxLevel
|
||||
//
|
||||
this.cbxLevel.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbxLevel.FormattingEnabled = true;
|
||||
this.cbxLevel.Location = new System.Drawing.Point(409, 35);
|
||||
this.cbxLevel.Name = "cbxLevel";
|
||||
this.cbxLevel.Size = new System.Drawing.Size(121, 33);
|
||||
this.cbxLevel.TabIndex = 21;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
this.label2.Location = new System.Drawing.Point(422, 12);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(42, 21);
|
||||
this.label2.TabIndex = 20;
|
||||
this.label2.Text = "级别";
|
||||
//
|
||||
// lblPwd
|
||||
//
|
||||
this.lblPwd.AutoSize = true;
|
||||
this.lblPwd.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
this.lblPwd.Location = new System.Drawing.Point(285, 12);
|
||||
this.lblPwd.Name = "lblPwd";
|
||||
this.lblPwd.Size = new System.Drawing.Size(42, 21);
|
||||
this.lblPwd.TabIndex = 19;
|
||||
this.lblPwd.Text = "密码";
|
||||
//
|
||||
// txtPwd
|
||||
//
|
||||
this.txtPwd.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtPwd.Location = new System.Drawing.Point(209, 35);
|
||||
this.txtPwd.Name = "txtPwd";
|
||||
this.txtPwd.Size = new System.Drawing.Size(200, 33);
|
||||
this.txtPwd.TabIndex = 13;
|
||||
//
|
||||
// txtName
|
||||
//
|
||||
this.txtName.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtName.Location = new System.Drawing.Point(9, 35);
|
||||
this.txtName.Name = "txtName";
|
||||
this.txtName.Size = new System.Drawing.Size(200, 33);
|
||||
this.txtName.TabIndex = 5;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("微软雅黑", 12F);
|
||||
this.label5.Location = new System.Drawing.Point(82, 12);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(58, 21);
|
||||
this.label5.TabIndex = 8;
|
||||
this.label5.Text = "用户名";
|
||||
//
|
||||
// listView1
|
||||
//
|
||||
this.listView1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.listView1.FullRowSelect = true;
|
||||
this.listView1.GridLines = true;
|
||||
this.listView1.HideSelection = false;
|
||||
this.listView1.Location = new System.Drawing.Point(0, 155);
|
||||
this.listView1.Name = "listView1";
|
||||
this.listView1.Size = new System.Drawing.Size(714, 506);
|
||||
this.listView1.TabIndex = 6;
|
||||
this.listView1.UseCompatibleStateImageBehavior = false;
|
||||
this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged_1);
|
||||
//
|
||||
// FrmUserManage
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(714, 661);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.listView1);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FrmUserManage";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "用户管理";
|
||||
this.Load += new System.EventHandler(this.FrmUserManage_Load);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Button btnClose;
|
||||
private System.Windows.Forms.Button btnDelete;
|
||||
private System.Windows.Forms.Button btnAdd;
|
||||
private System.Windows.Forms.Button btnEdit;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.ComboBox cbxLevel;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label lblPwd;
|
||||
private System.Windows.Forms.TextBox txtPwd;
|
||||
private System.Windows.Forms.TextBox txtName;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.ListView listView1;
|
||||
}
|
||||
}
|
||||
332
EleBox.App/FrmUserManage.cs
Normal file
@@ -0,0 +1,332 @@
|
||||
using DynStatDisk.App.Com;
|
||||
using DynStatDisk.App.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace DynStatDisk.App
|
||||
{
|
||||
public partial class FrmUserManage : Form
|
||||
{
|
||||
private string CurrentMachineName = string.Empty;
|
||||
|
||||
private string CurrentUserLevel = "用户";
|
||||
|
||||
public FrmUserManage(string Level)
|
||||
{
|
||||
InitializeComponent();
|
||||
CurrentUserLevel = Level;
|
||||
}
|
||||
|
||||
//单例模式
|
||||
private static FrmUserManage frm = null;
|
||||
public static FrmUserManage CreateInstrance(string Level)
|
||||
{
|
||||
if (frm == null || frm.IsDisposed)
|
||||
{
|
||||
frm = new FrmUserManage(Level);
|
||||
}
|
||||
return frm;
|
||||
}
|
||||
|
||||
//FSQL实例
|
||||
//static IFreeSql Fsql;
|
||||
private List<TbUser> InitialLoadList = new List<TbUser>();
|
||||
private long SelectedId;
|
||||
|
||||
/// <summary>
|
||||
/// 实例化
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void FrmUserManage_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (ConfigHelper.GetValue("Location") == "KP")
|
||||
{
|
||||
CurrentMachineName = "动静盘安装-KP";
|
||||
}
|
||||
else
|
||||
{
|
||||
CurrentMachineName = "动静盘安装-G";
|
||||
}
|
||||
|
||||
//获取程序的配置信息
|
||||
var SqlCon = ConfigHelper.GetValue("connecting");
|
||||
|
||||
//Fsql = new FreeSql.FreeSqlBuilder()
|
||||
// .UseConnectionString(FreeSql.DataType.SqlServer, SqlCon)
|
||||
// .UseAutoSyncStructure(true) //自动同步实体结构到数据库
|
||||
// .Build(); //请务必定义成 Singleton 单例模式
|
||||
|
||||
LoadComboxBoxData();
|
||||
listView1.Columns.Clear();
|
||||
LoadListView1Column();
|
||||
LoadData();
|
||||
}
|
||||
|
||||
private void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(txtName.Text.Trim()) &&
|
||||
!string.IsNullOrEmpty(txtPwd.Text.Trim()) &&
|
||||
!string.IsNullOrEmpty(cbxLevel.SelectedItem.ToString().Trim()))
|
||||
{
|
||||
var ReturnData = FSqlContext.FDb.Insert<TbUser>(
|
||||
new TbUser()
|
||||
{
|
||||
UserName = txtName.Text.Trim(),
|
||||
Password = txtPwd.Text.Trim(),
|
||||
AccessLevel = cbxLevel.SelectedItem.ToString().Trim(),
|
||||
MachineName = CurrentMachineName
|
||||
}
|
||||
).ExecuteInserted();
|
||||
|
||||
LoadData();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("有空的数据存在", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CurrentUserLevel == "管理员")
|
||||
{
|
||||
FSqlContext.FDb.Update<TbUser>()
|
||||
.Set(a => a.UserName, txtName.Text.Trim())
|
||||
.Set(a => a.Password, txtPwd.Text.Trim())
|
||||
.Set(a => a.AccessLevel, cbxLevel.SelectedItem.ToString().Trim())
|
||||
.Where(a => a.Id == SelectedId)
|
||||
.ExecuteAffrows();
|
||||
|
||||
LoadData();
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("你没有权限编辑!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void btnDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (DialogResult.OK == MessageBox.Show("你确定要删除当前选中的数据行?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Information))
|
||||
{
|
||||
FSqlContext.FDb.Delete<TbUser>(SelectedId).ExecuteAffrows();
|
||||
|
||||
LoadData();
|
||||
}
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
private void LoadListView1Column()
|
||||
{
|
||||
ColumnHeader h0 = new ColumnHeader();
|
||||
ColumnHeader h1 = new ColumnHeader();
|
||||
ColumnHeader h2 = new ColumnHeader();
|
||||
ColumnHeader h3 = new ColumnHeader();
|
||||
ColumnHeader h4 = new ColumnHeader();
|
||||
ColumnHeader h5 = new ColumnHeader();
|
||||
ColumnHeader h6 = new ColumnHeader();
|
||||
ColumnHeader h7 = new ColumnHeader();
|
||||
ColumnHeader h8 = new ColumnHeader();
|
||||
ColumnHeader h9 = new ColumnHeader();
|
||||
ColumnHeader h10 = new ColumnHeader();
|
||||
ColumnHeader h11 = new ColumnHeader();
|
||||
ColumnHeader h12 = new ColumnHeader();
|
||||
ColumnHeader h13 = new ColumnHeader();
|
||||
|
||||
h1.TextAlign = HorizontalAlignment.Center;
|
||||
h2.TextAlign = HorizontalAlignment.Center;
|
||||
h3.TextAlign = HorizontalAlignment.Center;
|
||||
h4.TextAlign = HorizontalAlignment.Center;
|
||||
h5.TextAlign = HorizontalAlignment.Center;
|
||||
h6.TextAlign = HorizontalAlignment.Center;
|
||||
h7.TextAlign = HorizontalAlignment.Center;
|
||||
h8.TextAlign = HorizontalAlignment.Center;
|
||||
h9.TextAlign = HorizontalAlignment.Center;
|
||||
h10.TextAlign = HorizontalAlignment.Center;
|
||||
h11.TextAlign = HorizontalAlignment.Center;
|
||||
h12.TextAlign = HorizontalAlignment.Center;
|
||||
h13.TextAlign = HorizontalAlignment.Center;
|
||||
|
||||
h0.Width = 10;
|
||||
h1.Width = 200;
|
||||
h2.Width = 200;
|
||||
h3.Width = 120;
|
||||
h4.Width = 160;
|
||||
h5.Width = 0;
|
||||
h6.Width = 100;
|
||||
h7.Width = 100;
|
||||
h8.Width = 70;
|
||||
h9.Width = 40;
|
||||
h10.Width = 100;
|
||||
h11.Width = 100;
|
||||
h12.Width = 100;
|
||||
h13.Width = 0;
|
||||
|
||||
h0.Text = "";
|
||||
h1.Text = "用户名";
|
||||
h2.Text = "密码";
|
||||
h3.Text = "级别";
|
||||
h4.Text = "创建时间";
|
||||
h5.Text = "";
|
||||
h6.Text = "活塞精加工号长度";
|
||||
h7.Text = "活塞整框个数";
|
||||
h8.Text = "曲轴精加工号长度";
|
||||
h9.Text = "曲轴整框个数";
|
||||
h10.Text = "活塞油沟";
|
||||
h11.Text = "吸油管压入";
|
||||
h12.Text = "创建时间";
|
||||
h13.Text = "";
|
||||
//h14.Text = "";
|
||||
|
||||
listView1.Columns.AddRange(new ColumnHeader[] { h0, h1, h2, h3, h4, h5 });
|
||||
listView1.View = View.Details;
|
||||
}
|
||||
|
||||
private void InsertlistView1Result(long guid, string UserName, string Pwd, string Level, DateTime dateTime)
|
||||
{
|
||||
ListViewItem lvi = new ListViewItem();
|
||||
lvi.ImageIndex = 0;
|
||||
lvi.Text = "";
|
||||
lvi.SubItems.Add(UserName.ToString());
|
||||
lvi.SubItems.Add(Pwd.ToString());
|
||||
lvi.SubItems.Add(Level.ToString());
|
||||
lvi.SubItems.Add(dateTime.ToString("yyyy-MM-dd HH:mm:ss"));
|
||||
lvi.SubItems.Add(guid.ToString());
|
||||
this.listView1.Items.Add(lvi);
|
||||
}
|
||||
|
||||
private void LoadData()
|
||||
{
|
||||
listView1.Items.Clear();
|
||||
//InitialLoadList.Clear();
|
||||
//加载数据
|
||||
if (CurrentUserLevel == "管理员")
|
||||
{
|
||||
InitialLoadList = FSqlContext.FDb.Select<TbUser>().Where(a => a.MachineName == CurrentMachineName).ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitialLoadList = FSqlContext.FDb.Select<TbUser>().Where(a => a.MachineName == CurrentMachineName && a.AccessLevel == CurrentUserLevel).ToList();
|
||||
}
|
||||
|
||||
if (InitialLoadList.Count > 0)
|
||||
{
|
||||
var data = InitialLoadList.OrderBy(a => a.CreateTime).ToList();
|
||||
foreach (var item in data)
|
||||
{
|
||||
InsertlistView1Result(item.Id,
|
||||
item.UserName,
|
||||
item.Password,
|
||||
item.AccessLevel,
|
||||
item.CreateTime
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void LoadComboxBoxData()
|
||||
{
|
||||
this.cbxLevel.Items.Clear();
|
||||
|
||||
this.cbxLevel.Items.Add("用户");//赋值
|
||||
this.cbxLevel.SelectedIndex = 0;//设置下标
|
||||
|
||||
this.cbxLevel.Items.Add("管理员");//赋值
|
||||
this.cbxLevel.SelectedIndex = 1;//下标
|
||||
|
||||
this.cbxLevel.SelectedIndex = 1;//默认显示LHK
|
||||
|
||||
}
|
||||
|
||||
private void listView1_SelectedIndexChanged_1(object sender, EventArgs e)
|
||||
{
|
||||
if (listView1.SelectedIndices.Count > 0 && listView1.SelectedIndices != null && listView1.FocusedItem != null)
|
||||
{
|
||||
txtName.Text = listView1.FocusedItem.SubItems[1].Text;
|
||||
txtPwd.Text = listView1.FocusedItem.SubItems[2].Text;
|
||||
//cbxLevel.SelectedItem = listView1.FocusedItem.SubItems[3].Text;
|
||||
|
||||
switch (listView1.FocusedItem.SubItems[3].Text)
|
||||
{
|
||||
case "用户":
|
||||
cbxLevel.SelectedIndex = 0;
|
||||
break;
|
||||
case "管理员":
|
||||
cbxLevel.SelectedIndex = 1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
var guid = listView1.FocusedItem.SubItems[5].Text;
|
||||
SelectedId = long.Parse(guid);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//private void btnAddUser_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// if (string.IsNullOrEmpty(txtAddUserName.Text))
|
||||
// {
|
||||
// MessageBox.Show("用户名没有输入!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
// return;
|
||||
// }
|
||||
// if (string.IsNullOrEmpty(txtPassword.Text))
|
||||
// {
|
||||
// MessageBox.Show("密码没有输入!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
// return;
|
||||
// }
|
||||
|
||||
// var ListUser = Fsql.Select<TbUser>().Where(a => a.UserName == txtAddUserName.Text.Trim()).ToList();
|
||||
// if (ListUser.Count() == 0)
|
||||
// {
|
||||
// Fsql.Insert<TbUser>(new TbUser()
|
||||
// {
|
||||
// UserName = txtAddUserName.Text.Trim(),
|
||||
// Password = txtPassword.Text.Trim(),
|
||||
// AccessLevel = UserInfo,
|
||||
// MachineName = CurrentMachineName
|
||||
// }).ExecuteAffrows();
|
||||
|
||||
|
||||
// MessageBox.Show("添加用户成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
|
||||
// txtAddUserName.Text = "";
|
||||
// txtPassword.Text = "";
|
||||
|
||||
// this.Close();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// MessageBox.Show("当前用户已经存在!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void cbxManager_CheckStateChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (cbxManager.CheckState == CheckState.Checked)
|
||||
// {
|
||||
// UserInfo = "管理员";
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// UserInfo = "用户";
|
||||
// }
|
||||
//}
|
||||
}
|
||||
}
|
||||
1253
EleBox.App/FrmUserManage.resx
Normal file
BIN
EleBox.App/Images/2.wav
Normal file
BIN
EleBox.App/Images/29.wav
Normal file
BIN
EleBox.App/Images/About.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
EleBox.App/Images/Falut.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
EleBox.App/Images/IPQC制程检验 (1).png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
EleBox.App/Images/IPQC制程检验.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
EleBox.App/Images/Input.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
EleBox.App/Images/Load.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
EleBox.App/Images/Log.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
EleBox.App/Images/Main.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
EleBox.App/Images/NG.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
EleBox.App/Images/Output.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
EleBox.App/Images/P0.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
EleBox.App/Images/P1.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
EleBox.App/Images/P2.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
EleBox.App/Images/P3.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
EleBox.App/Images/P4.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
EleBox.App/Images/Question.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
BIN
EleBox.App/Images/Quit.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
EleBox.App/Images/RunState 1.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
EleBox.App/Images/RunState 2.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
EleBox.App/Images/RunState 3.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
EleBox.App/Images/RunState 4.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
EleBox.App/Images/RunState 5.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
EleBox.App/Images/RunState.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
EleBox.App/Images/Tool.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
EleBox.App/Images/Wait.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
EleBox.App/Images/Well.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
EleBox.App/Images/alert_128px_1082676_easyicon.net.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
EleBox.App/Images/alert_on_128px_581757_easyicon.net.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
EleBox.App/Images/button1.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
EleBox.App/Images/button10.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
EleBox.App/Images/button11.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
EleBox.App/Images/button13.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
EleBox.App/Images/button2.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
EleBox.App/Images/button3.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
EleBox.App/Images/button4.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
EleBox.App/Images/button5.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
EleBox.App/Images/button6.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
EleBox.App/Images/button7.png
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
EleBox.App/Images/button8.png
Normal file
|
After Width: | Height: | Size: 47 KiB |
BIN
EleBox.App/Images/button9.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
EleBox.App/Images/cz1.ico
Normal file
|
After Width: | Height: | Size: 56 KiB |
BIN
EleBox.App/Images/flux_128px_1157201_easyicon.net.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
BIN
EleBox.App/Images/hand1.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
EleBox.App/Images/hand2.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
EleBox.App/Images/handauto.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 13 KiB |
BIN
EleBox.App/Images/ip_address_512px_1169699_easyicon.net.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
EleBox.App/Images/logo.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
EleBox.App/Images/name.png
Normal file
|
After Width: | Height: | Size: 8.8 KiB |
BIN
EleBox.App/Images/no name.wav
Normal file
BIN
EleBox.App/Images/no.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
EleBox.App/Images/ok.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
EleBox.App/Images/putput1.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
EleBox.App/Images/putput2.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
EleBox.App/Images/putput3.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
EleBox.App/Images/red_alert_128px_569416_easyicon.net.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
EleBox.App/Images/set1.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
EleBox.App/Images/set2.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
EleBox.App/Images/set3.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
EleBox.App/Images/time_128px_1195887_easyicon.net.ico
Normal file
|
After Width: | Height: | Size: 63 KiB |
BIN
EleBox.App/Images/user_853px_1149308_easyicon.net.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
EleBox.App/Images/vrcologo_01.ico
Normal file
|
After Width: | Height: | Size: 485 KiB |
BIN
EleBox.App/Images/vrcologo_01.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
EleBox.App/Images/不合格.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
EleBox.App/Images/任务完成数量.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
EleBox.App/Images/关闭.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
EleBox.App/Images/分类.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
EleBox.App/Images/切换.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
EleBox.App/Images/切换1.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
EleBox.App/Images/包装 (1).png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
EleBox.App/Images/包装.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
EleBox.App/Images/压缩机.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
EleBox.App/Images/双手自动.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
EleBox.App/Images/合格.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
EleBox.App/Images/圆Off.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
EleBox.App/Images/圆On.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
EleBox.App/Images/垫付费核销.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
EleBox.App/Images/工单 (1).png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
EleBox.App/Images/工单.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
EleBox.App/Images/工单信息.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
EleBox.App/Images/时间.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
EleBox.App/Images/条码 (1).png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
EleBox.App/Images/条码.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
EleBox.App/Images/次品1 (1).png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |
BIN
EleBox.App/Images/次品1.png
Normal file
|
After Width: | Height: | Size: 8.3 KiB |