Commit f36f79ab 顾剑亮

create

0 个父辈
正在显示 231 个修改的文件 包含 2150 行增加0 行删除
此文件类型无法预览
此文件类型无法预览
{
"CurrentProjectSetting": null
}
\ No newline at end of file
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
\ No newline at end of file
此文件类型无法预览

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29503.13
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLine(old)", "AssemblyLine(old)\AssemblyLine(old).csproj", "{B7E946A7-96C7-4EBA-832D-2D3B215296C4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DoubleLine(old)", "DoubleLine(old)\DoubleLine(old).csproj", "{9F3D3ABE-E0E0-4A3B-8F86-F6096295EC75}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgvClient", "AgvClient\AgvClient.csproj", "{7DAD8F15-0EC9-42DF-AE0B-94B45DE0F0AC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AGVControl", "AGVControl\AGVControl.csproj", "{CDD2A117-89C5-4E53-BD80-15A4C569CF1B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgvClientTest", "AgvClientTest\AgvClientTest.csproj", "{693B08DC-6185-4A31-86B7-1D5A40DE9C61}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B7E946A7-96C7-4EBA-832D-2D3B215296C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B7E946A7-96C7-4EBA-832D-2D3B215296C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B7E946A7-96C7-4EBA-832D-2D3B215296C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B7E946A7-96C7-4EBA-832D-2D3B215296C4}.Release|Any CPU.Build.0 = Release|Any CPU
{9F3D3ABE-E0E0-4A3B-8F86-F6096295EC75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9F3D3ABE-E0E0-4A3B-8F86-F6096295EC75}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9F3D3ABE-E0E0-4A3B-8F86-F6096295EC75}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9F3D3ABE-E0E0-4A3B-8F86-F6096295EC75}.Release|Any CPU.Build.0 = Release|Any CPU
{7DAD8F15-0EC9-42DF-AE0B-94B45DE0F0AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7DAD8F15-0EC9-42DF-AE0B-94B45DE0F0AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7DAD8F15-0EC9-42DF-AE0B-94B45DE0F0AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7DAD8F15-0EC9-42DF-AE0B-94B45DE0F0AC}.Release|Any CPU.Build.0 = Release|Any CPU
{CDD2A117-89C5-4E53-BD80-15A4C569CF1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CDD2A117-89C5-4E53-BD80-15A4C569CF1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CDD2A117-89C5-4E53-BD80-15A4C569CF1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CDD2A117-89C5-4E53-BD80-15A4C569CF1B}.Release|Any CPU.Build.0 = Release|Any CPU
{693B08DC-6185-4A31-86B7-1D5A40DE9C61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{693B08DC-6185-4A31-86B7-1D5A40DE9C61}.Debug|Any CPU.Build.0 = Debug|Any CPU
{693B08DC-6185-4A31-86B7-1D5A40DE9C61}.Release|Any CPU.ActiveCfg = Release|Any CPU
{693B08DC-6185-4A31-86B7-1D5A40DE9C61}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D32300FA-C28B-4DC9-8080-214118DB5AF7}
EndGlobalSection
EndGlobal
<?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>{CDD2A117-89C5-4E53-BD80-15A4C569CF1B}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>AGVControl</RootNamespace>
<AssemblyName>AGVControl</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</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>
<Prefer32Bit>false</Prefer32Bit>
</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>icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Asa.File.Log, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\DLL\File\Asa.File.Log.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=106.0.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.10.1\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<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" />
</ItemGroup>
<ItemGroup>
<Compile Include="BLL\Shortcut.cs" />
<Compile Include="Common.cs" />
<Compile Include="BLL\Control.cs" />
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="BLL\MiR_API.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="BLL\AgvServer.cs" />
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.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>
</Compile>
<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>
<Content Include="icon.ico" />
</ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
<VersionMajor>1</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<appSettings>
<add key="LocalIP" value="192.168.103.12"/>
<add key="FLEET" value="10.85.199.3"/>
<add key="AutoCharge" value="false"/>
<add key="ChargeWait" value="1"/>
<add key="MiR_R1467" value="false"/>
<add key="MiR_R1468" value="false"/>
<add key="MiR_R1469" value="false"/>
<add key="MiR_R1470" value="false"/>
<add key="A1" value="false"/>
<add key="A2" value="false"/>
<add key="A3" value="false"/>
<add key="A4" value="false"/>
<add key="B1" value="false"/>
<add key="B2" value="false"/>
<add key="B3" value="false"/>
<add key="B4" value="false"/>
<add key="B5" value="false"/>
<add key="B6" value="false"/>
<add key="C1" value="false"/>
<add key="C2" value="false"/>
<add key="C3" value="false"/>
<add key="C4" value="false"/>
<add key="C5" value="false"/>
<add key="C6" value="false"/>
<add key="C7" value="false"/>
<add key="C8" value="false"/>
</appSettings>
</configuration>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using IWshRuntimeLibrary;
using Microsoft.Win32;
namespace BLL
{
/// <summary>
/// 快捷方式
/// </summary>
public static class Shortcut
{
/// <summary>
/// 创建文件的快捷方式
/// </summary>
/// <returns>成功或失败</returns>
public static bool Create()
{
try
{
string appPath = Process.GetCurrentProcess().MainModule.FileName;
string lnkPath = GetStartupPath();
WshShell shell = new WshShell();
IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(lnkPath); //创建快捷方式对象
shortcut.TargetPath = appPath; //指定目标路径
shortcut.WorkingDirectory = Path.GetDirectoryName(appPath); //设置起始位置
shortcut.WindowStyle = 1; //设置运行方式,默认为常规窗口
shortcut.Description = ""; //设置备注
shortcut.IconLocation = appPath; //设置图标路径
shortcut.Save(); //保存快捷方式
return true;
}
catch (Exception ex)
{
return false;
}
}
/// <summary>
/// 删除程序的快捷方式
/// </summary>
public static void Delete()
{
string lnkPath = GetStartupPath();
if (System.IO.File.Exists(lnkPath))
System.IO.File.Delete(lnkPath);
}
/// <summary>
/// 快捷方式是否存在
/// </summary>
/// <returns></returns>
public static bool Exists()
{
string directory = Environment.GetFolderPath(Environment.SpecialFolder.Startup);
string lnkPath = GetStartupPath();
string[] files = Directory.GetFiles(directory, "*.lnk");
int index = Array.FindIndex(files, arr => arr == lnkPath);
if (index == -1) return false;
else return true;
}
/// <summary>
/// 获取启动文件夹内的快捷方式的lnk文件路径
/// </summary>
/// <returns></returns>
private static string GetStartupPath()
{
string appPath = Process.GetCurrentProcess().MainModule.FileName;
string appName = Path.GetFileNameWithoutExtension(appPath);
string directory = Environment.GetFolderPath(Environment.SpecialFolder.Startup);
string lnkPath = Path.Combine(directory, string.Format("{0}.lnk", appName));
return lnkPath;
}
}
}
此文件的差异被折叠, 点击展开。
此文件的差异被折叠, 点击展开。
此文件的差异太大,无法显示。
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AGVControl
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
Application.ThreadException += Application_ThreadException;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//程序只能运行一次
Process current = Process.GetCurrentProcess();
Process[] processes = Process.GetProcessesByName(current.ProcessName);
foreach (Process process in processes)
{
if (process.Id == current.Id) continue; //自己
if (process.MainModule.FileName == current.MainModule.FileName)
{
//显示已打开的程序
API.ShowWindow(process.MainWindowHandle, API.SW_RESTORE);
API.SwitchToThisWindow(process.MainWindowHandle, true);
return;
}
}
Common.log = new Asa.File.Log(Common.LOG_PATH, "AgvControl");
Common.log.OutString("=====程序开始=====");
ReadConfig();
Common.chargeStatus = new ChargeStatus();
Common.mir = new BLL.MiR_API();
Common.control = new BLL.Control();
Common.control.Start();
Common.server = new BLL.AgvServer();
Common.server.Start();
Application.Run(new FrmMain());
Common.control.Stop();
Common.server.Stop();
Common.mir.Dispose();
Common.log.OutString("=====程序结束=====\r\n");
System.Threading.Thread.Sleep(100);
Common.log.Dispose();
System.Threading.Thread.Sleep(100);
Environment.Exit(0);
}
private static void ReadConfig()
{
string path;
string[] line;
string[] temp;
bool isuse;
Common.appConfig = System.Configuration.ConfigurationManager.OpenExeConfiguration(System.Configuration.ConfigurationUserLevel.None);
Common.agvInfo = new List<Agv_Info>();
path = Common.CONFIG_PATH + "AgvName.csv";
line = System.IO.File.ReadAllLines(path);
for (int i = 0; i < line.Length; i++)
{
temp = line[i].Split(',');
if (temp.Length != 5) continue;
isuse = Convert.ToBoolean(Common.appConfig.AppSettings.Settings[temp[1]].Value);
Common.agvInfo.Add(new Agv_Info(temp[0], temp[1], temp[2], temp[3], temp[4], isuse));
}
Common.agvMission = new Dictionary<string, string>();
path = Common.CONFIG_PATH + "AgvMission.csv";
line = System.IO.File.ReadAllLines(path);
for (int i = 0; i < line.Length; i++)
{
temp = line[i].Split(',');
if (temp.Length != 2) continue;
Common.agvMission.Add(temp[0], temp[1]);
}
Common.webService = new Dictionary<string, string>();
path = Common.CONFIG_PATH + "Web.csv";
line = System.IO.File.ReadAllLines(path);
for (int i = 0; i < line.Length; i++)
{
temp = line[i].Split(',');
if (temp.Length != 2) continue;
Common.webService.Add(temp[0], temp[1]);
}
Common.nodeInfo = new List<ClientNode>
{
new ClientNode("A1", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["A1"].Value)),
new ClientNode("A2", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["A2"].Value)),
new ClientNode("A3", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["A3"].Value)),
new ClientNode("A4", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["A4"].Value)),
new ClientNode("B1", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["B1"].Value)),
new ClientNode("B2", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["B2"].Value)),
new ClientNode("B3", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["B3"].Value)),
new ClientNode("B4", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["B4"].Value)),
new ClientNode("B5", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["B5"].Value)),
new ClientNode("B6", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["B6"].Value)),
new ClientNode("C1", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C1"].Value)),
new ClientNode("C2", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C2"].Value)),
new ClientNode("C3", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C3"].Value)),
new ClientNode("C4", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C4"].Value)),
new ClientNode("C5", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C5"].Value)),
new ClientNode("C6", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C6"].Value)),
new ClientNode("C7", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C7"].Value)),
new ClientNode("C8", Convert.ToBoolean(Common.appConfig.AppSettings.Settings["C8"].Value))
};
}
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
Common.log.OutError((Exception)e.ExceptionObject);
}
private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
{
Common.log.OutError(e.Exception);
}
}
}
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("AGVControl")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AGVControl")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("cdd2a117-89c5-4e53-bd80-15a4c569cf1b")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace AGVControl.Properties
{
/// <summary>
/// 强类型资源类,用于查找本地化字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 返回此类使用的缓存 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AGVControl.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 覆盖当前线程的 CurrentUICulture 属性
/// 使用此强类型的资源类的资源查找。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AGVControl.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
此文件类型无法预览
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<appSettings>
<add key="LocalIP" value="192.168.103.12"/>
<add key="FLEET" value="10.85.199.3"/>
<add key="AutoCharge" value="false"/>
<add key="ChargeWait" value="1"/>
<add key="MiR_R1467" value="false"/>
<add key="MiR_R1468" value="false"/>
<add key="MiR_R1469" value="false"/>
<add key="MiR_R1470" value="false"/>
<add key="A1" value="false"/>
<add key="A2" value="false"/>
<add key="A3" value="false"/>
<add key="A4" value="false"/>
<add key="B1" value="false"/>
<add key="B2" value="false"/>
<add key="B3" value="false"/>
<add key="B4" value="false"/>
<add key="B5" value="false"/>
<add key="B6" value="false"/>
<add key="C1" value="false"/>
<add key="C2" value="false"/>
<add key="C3" value="false"/>
<add key="C4" value="false"/>
<add key="C5" value="false"/>
<add key="C6" value="false"/>
<add key="C7" value="false"/>
<add key="C8" value="false"/>
</appSettings>
</configuration>
\ No newline at end of file
此文件类型无法预览
此文件类型无法预览
<?xml version="1.0"?>
<doc>
<assembly>
<name>Asa.File.Log</name>
</assembly>
<members>
<member name="T:Asa.File.Log">
<summary>
日志操作类
</summary>
</member>
<member name="M:Asa.File.Log.#ctor(System.String,System.String)">
<summary>
日志
</summary>
<param name="path">文件夹目录</param>
<param name="name">文件名</param>
</member>
<member name="P:Asa.File.Log.ShowDateTime">
<summary>
显示的日期和时间
</summary>
</member>
<member name="P:Asa.File.Log.ShowFileName">
<summary>
显示的文件名
</summary>
</member>
<member name="P:Asa.File.Log.ShowArgument">
<summary>
显示方法的参数
</summary>
</member>
<member name="P:Asa.File.Log.ShowText">
<summary>
显示的文本控件
</summary>
</member>
<member name="P:Asa.File.Log.Level">
<summary>
打印级别
</summary>
</member>
<member name="M:Asa.File.Log.Dispose">
<summary>
释放
</summary>
</member>
<member name="M:Asa.File.Log.OutFatal(System.Exception)">
<summary>
输出致命错误
</summary>
<param name="ex"></param>
</member>
<member name="M:Asa.File.Log.OutError(System.Exception)">
<summary>
输出一般错误
</summary>
<param name="ex"></param>
</member>
<member name="M:Asa.File.Log.OutWarn(System.String)">
<summary>
输出警告信息
</summary>
<param name="s"></param>
</member>
<member name="M:Asa.File.Log.OutWarn(System.String,System.String)">
<summary>
输出警告信息
</summary>
<param name="key"></param>
<param name="s"></param>
</member>
<member name="M:Asa.File.Log.OutInfo(System.String)">
<summary>
输出一般信息
</summary>
<param name="s"></param>
</member>
<member name="M:Asa.File.Log.OutInfo(System.String,System.String)">
<summary>
输出一般信息
</summary>
<param name="key"></param>
<param name="s"></param>
</member>
<member name="M:Asa.File.Log.OutDebug(System.String)">
<summary>
输出调试信息
</summary>
<param name="s"></param>
</member>
<member name="M:Asa.File.Log.OutString(System.String)">
<summary>
输出字符串数据
</summary>
<param name="s"></param>
</member>
<member name="M:Asa.File.Log.OutTextBox(System.String)">
<summary>
输出到文本控件上
</summary>
<param name="s"></param>
</member>
<member name="T:Asa.File.LogDateTime">
<summary>
日志记录日期
</summary>
</member>
<member name="F:Asa.File.LogDateTime.Date">
<summary>
日期
</summary>
</member>
<member name="F:Asa.File.LogDateTime.Time">
<summary>
时间
</summary>
</member>
<member name="F:Asa.File.LogDateTime.DateTime">
<summary>
日期和时间
</summary>
</member>
<member name="T:Asa.File.LogFileName">
<summary>
日志记录文件名
</summary>
</member>
<member name="F:Asa.File.LogFileName.FileName">
<summary>
文件名
</summary>
</member>
<member name="F:Asa.File.LogFileName.FullFileName">
<summary>
完整文件名,包含路径
</summary>
</member>
<member name="T:Asa.File.LogLevel">
<summary>
日志打印级别
</summary>
</member>
<member name="F:Asa.File.LogLevel.Fatal">
<summary>
致命错误
</summary>
</member>
<member name="F:Asa.File.LogLevel.Error">
<summary>
一般错误
</summary>
</member>
<member name="F:Asa.File.LogLevel.Warn">
<summary>
警告信息
</summary>
</member>
<member name="F:Asa.File.LogLevel.Info">
<summary>
一般信息
</summary>
</member>
<member name="F:Asa.File.LogLevel.Debug">
<summary>
调试信息
</summary>
</member>
<member name="F:Asa.File.LogLevel.All">
<summary>
所有
</summary>
</member>
</members>
</doc>
MoveA1,eec1eed4-2a04-11ea-9c84-94c691a734f1
MoveA2,f68f18db-2f89-11ea-9ee4-94c691a734f1
MoveA3,979d10eb-2f9d-11ea-9ee4-94c691a734f1
MoveA4,df6d991a-2f9d-11ea-9ee4-94c691a734f1
MoveA5,
MoveA6,
MoveA7,
MoveB1,86a6ab06-261e-11ea-a30e-94c691a73861
MoveB2,55fcfdc5-2623-11ea-a30e-94c691a73861
MoveB3,905399c8-2623-11ea-a30e-94c691a73861
MoveB4,aa33e13a-2623-11ea-a30e-94c691a73861
MoveB5,2cd36cde-2624-11ea-a30e-94c691a73861
MoveB6,3e713e8b-2624-11ea-a30e-94c691a73861
MoveB7,
MoveB8,
DockB1,339d1830-261f-11ea-a30e-94c691a73861
DockB2,a6d6f52a-2624-11ea-a30e-94c691a73861
DockB3,b66f0714-2624-11ea-a30e-94c691a73861
DockB4,d01443f2-2624-11ea-a30e-94c691a73861
DockB5,f50dd02b-2624-11ea-a30e-94c691a73861
DockB6,0e5503f2-2625-11ea-a30e-94c691a73861
DockB7,
DockB8,
MoveC1,a6e36b4c-2fa0-11ea-9ee4-94c691a734f1
MoveC2,6c6829de-2624-11ea-a30e-94c691a73861
MoveC3,3ffe309f-2ae6-11ea-a6cf-94c691a734f1
MoveC4,2ef71347-2ae7-11ea-a6cf-94c691a734f1
MoveC5,34ec2f1f-2ae8-11ea-a6cf-94c691a734f1
MoveC6,52f37677-2f96-11ea-9ee4-94c691a734f1
MoveC7,bcd0e389-2ab7-11ea-a6cf-94c691a734f1
MoveC8,8a48301d-2624-11ea-a30e-94c691a73861
MoveS1,9a3146cd-8332-11ea-8113-94c691a734f1
Enter,2eadcb87-239a-11ea-8343-94c691a73861
Leave,80943220-239a-11ea-8343-94c691a73861
MoveStandby,4eb9641a-3439-11ea-984a-94c691a734f1
Init,cd51e039-34eb-11ea-b4fe-94c691a734f1
AutoCharge1,9e1b33c0-2886-11ea-a0d6-94c691a734f1
AutoCharge2,d756f63d-2886-11ea-a0d6-94c691a734f1
\ No newline at end of file
3,MiR_R1467,10.85.199.67,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==,007615a5-2220-11ea-99f2-94c691a73b53
4,MiR_R1468,10.85.199.68,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==,007615a5-2220-11ea-99f2-94c691a73b53
5,MiR_R1469,10.85.199.69,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==,007615a5-2220-11ea-99f2-94c691a73b53
6,MiR_R1470,10.85.199.70,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==,007615a5-2220-11ea-99f2-94c691a73b53
\ No newline at end of file
URL,http://10.85.160.25/myproject/rest/api/qisda/device/emptyStoragePosCount
packing-19,B1
packing-20,B2
packing-21,B3
packing-22,B4
packing-24,B5
packing-23,B6
\ No newline at end of file
此文件类型无法预览
此文件的差异太大,无法显示。
此文件类型无法预览
C:\SMD\AGVControl\AGVControl\bin\Debug\AGVControl.exe.config
C:\SMD\AGVControl\AGVControl\bin\Debug\AGVControl.exe
C:\SMD\AGVControl\AGVControl\bin\Debug\AGVControl.pdb
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.FrmMain.resources
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.Properties.Resources.resources
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.GenerateResource.cache
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.CoreCompileInputs.cache
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.exe
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.pdb
C:\SMD\AGVControl\AGVControl\bin\Debug\RestSharp.dll
C:\SMD\AGVControl\AGVControl\bin\Debug\RestSharp.xml
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.CopyComplete
C:\SMD\AGVControl\AGVControl\bin\Debug\Asa.File.Log.dll
C:\SMD\AGVControl\AGVControl\bin\Debug\Asa.File.Log.xml
C:\SMD\AGVControl\AGVControl\obj\Debug\Interop.IWshRuntimeLibrary.dll
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.ResolveComReference.cache
C:\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csprojAssemblyReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\bin\Debug\AGVControl.exe.config
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\bin\Debug\AGVControl.exe
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\bin\Debug\AGVControl.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\bin\Debug\RestSharp.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\bin\Debug\RestSharp.xml
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\Interop.IWshRuntimeLibrary.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.csproj.ResolveComReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.FrmMain.resources
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.Properties.Resources.resources
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.csproj.GenerateResource.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.csproj.CoreCompileInputs.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.csproj.CopyComplete
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.exe
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\bin\Debug\Asa.File.Log.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\bin\Debug\Asa.File.Log.xml
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AGVControl\obj\Debug\AGVControl.csprojAssemblyReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\bin\Debug\AGVControl.exe.config
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\bin\Debug\AGVControl.exe
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\bin\Debug\AGVControl.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\bin\Debug\RestSharp.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\bin\Debug\Asa.File.Log.xml
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\bin\Debug\RestSharp.xml
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csprojAssemblyReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\Interop.IWshRuntimeLibrary.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.ResolveComReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.FrmMain.resources
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.Properties.Resources.resources
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.GenerateResource.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.CoreCompileInputs.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.csproj.CopyComplete
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.exe
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl\AGVControl\obj\Debug\AGVControl.pdb
此文件类型无法预览
此文件类型无法预览
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="RestSharp" version="106.10.1" targetFramework="net461" />
</packages>
\ No newline at end of file
<?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>{7DAD8F15-0EC9-42DF-AE0B-94B45DE0F0AC}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Client</RootNamespace>
<AssemblyName>Client</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<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' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Client.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
此文件的差异被折叠, 点击展开。
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Client")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Client")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("7dad8f15-0ec9-42df-ae0b-94b45de0f0ac")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.0")]
此文件类型无法预览
此文件类型无法预览
C:\SMD\AGVControl\AgvClient\bin\Debug\Client.dll
C:\SMD\AGVControl\AgvClient\bin\Debug\Client.pdb
C:\SMD\AGVControl\AgvClient\obj\Debug\AgvClient.csproj.CoreCompileInputs.cache
C:\SMD\AGVControl\AgvClient\obj\Debug\Client.dll
C:\SMD\AGVControl\AgvClient\obj\Debug\Client.pdb
C:\SMD\AGVControl\AgvClient\obj\Debug\AgvClient.csprojAssemblyReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClient\bin\Debug\Client.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClient\bin\Debug\Client.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClient\obj\Debug\AgvClient.csprojAssemblyReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClient\obj\Debug\AgvClient.csproj.CoreCompileInputs.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClient\obj\Debug\Client.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClient\obj\Debug\Client.pdb
此文件类型无法预览
此文件类型无法预览
<?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>{693B08DC-6185-4A31-86B7-1D5A40DE9C61}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>AgvClientTest</RootNamespace>
<AssemblyName>AgvClientTest</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</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>
<ItemGroup>
<Reference Include="Client, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\AGVControl\AgvClient\bin\Debug\Client.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<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" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.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>
</Compile>
<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>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
\ No newline at end of file
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 AgvClientTest
{
public partial class Form1 : Form
{
Asa.AgvClient client;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
CboAction1.SelectedIndex = 0;
CboLevel1.SelectedIndex = 0;
CboAction2.SelectedIndex = 0;
CboLevel2.SelectedIndex = 0;
CboAction3.SelectedIndex = 0;
CboLevel3.SelectedIndex = 0;
CboAction4.SelectedIndex = 0;
CboLevel4.SelectedIndex = 0;
client = new Asa.AgvClient("127.0.0.1");
client.SetStatus("A1");
client.SetStatus("B1");
client.Log += Client_Log;
}
private void Client_Log(string s)
{
Invoke(new Action(() => { TxtLog.AppendText(s + "\r\n"); }));
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
if(client.IsConn)
client.Close();
}
private void BtnSend_Click(object sender, EventArgs e)
{
string id = (sender as Button).Name.Replace("BtnSend", "");
string name = Controls["TxtName" + id].Text;
string mark = Controls["TxtMark" + id].Text;
string rfid = Controls["TxtRFID" + id].Text;
int action = ((ComboBox)Controls["CboAction" + id]).SelectedIndex;
int level = ((ComboBox)Controls["CboLevel" + id]).SelectedIndex;
client.SetStatus(name, mark, rfid, (Asa.ClientAction)action, (Asa.ClientLevel)level);
}
private void button2_Click(object sender, EventArgs e)
{
client.Connect();
}
private void button3_Click(object sender, EventArgs e)
{
client.Close();
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AgvClientTest
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("AgvClientTest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AgvClientTest")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("693b08dc-6185-4a31-86b7-1d5a40de9c61")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace AgvClientTest.Properties
{
/// <summary>
/// 强类型资源类,用于查找本地化字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 返回此类使用的缓存 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AgvClientTest.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 覆盖当前线程的 CurrentUICulture 属性
/// 使用此强类型的资源类的资源查找。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace AgvClientTest.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
\ No newline at end of file
此文件类型无法预览
此文件类型无法预览
C:\SMD\AGVControl\AgvClientTest\bin\Debug\AgvClientTest.exe.config
C:\SMD\AGVControl\AgvClientTest\bin\Debug\AgvClientTest.exe
C:\SMD\AGVControl\AgvClientTest\bin\Debug\AgvClientTest.pdb
C:\SMD\AGVControl\AgvClientTest\bin\Debug\Client.dll
C:\SMD\AGVControl\AgvClientTest\bin\Debug\Client.pdb
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.csprojAssemblyReference.cache
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.Form1.resources
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.Properties.Resources.resources
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.csproj.GenerateResource.cache
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.csproj.CoreCompileInputs.cache
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.csproj.CopyComplete
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.exe
C:\SMD\AGVControl\AgvClientTest\obj\Debug\AgvClientTest.pdb
C:\SMD\AGVClientTest\AgvClientTest\bin\Debug\AgvClientTest.exe.config
C:\SMD\AGVClientTest\AgvClientTest\bin\Debug\AgvClientTest.exe
C:\SMD\AGVClientTest\AgvClientTest\bin\Debug\AgvClientTest.pdb
C:\SMD\AGVClientTest\AgvClientTest\bin\Debug\Client.dll
C:\SMD\AGVClientTest\AgvClientTest\bin\Debug\Client.pdb
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.csprojAssemblyReference.cache
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.Form1.resources
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.Properties.Resources.resources
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.csproj.GenerateResource.cache
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.csproj.CoreCompileInputs.cache
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.csproj.CopyComplete
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.exe
C:\SMD\AGVClientTest\AgvClientTest\obj\Debug\AgvClientTest.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\bin\Debug\AgvClientTest.exe.config
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\bin\Debug\AgvClientTest.exe
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\bin\Debug\AgvClientTest.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\bin\Debug\Client.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.csprojAssemblyReference.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.Form1.resources
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.Properties.Resources.resources
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.csproj.GenerateResource.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.csproj.CoreCompileInputs.cache
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.csproj.CopyComplete
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.exe
D:\OneDrive - 上海挚锦科技有限公司\SMD\ControlCenter\AgvClientTest\obj\Debug\AgvClientTest.pdb
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
</startup>
</configuration>
<?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>{B7E946A7-96C7-4EBA-832D-2D3B215296C4}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>AssemblyLine</RootNamespace>
<AssemblyName>AssemblyLine</AssemblyName>
<TargetFrameworkVersion>v4.7.2</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>
<Prefer32Bit>false</Prefer32Bit>
</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>
<ItemGroup>
<Reference Include="ABB.Robotics.Controllers.PC">
<HintPath>..\..\..\MY\DLL\ABB\ABB.Robotics.Controllers.PC.dll</HintPath>
</Reference>
<Reference Include="Asa.File.Log">
<HintPath>..\..\..\MY\DLL\File\Asa.File.Log.dll</HintPath>
</Reference>
<Reference Include="Asa.IOModule.AIOBOX">
<HintPath>..\..\..\MY\DLL\AIOBOX\Asa.IOModule.AIOBOX.dll</HintPath>
</Reference>
<Reference Include="Asa.RFID, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\MY\DLL\RFID\Asa.RFID.dll</HintPath>
</Reference>
<Reference Include="HFReader9CSharp">
<HintPath>..\..\..\MY\DLL\RFID\HFReader9CSharp.dll</HintPath>
</Reference>
<Reference Include="log4net">
<HintPath>..\..\..\MY\DLL\log4net.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=3.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\MY\DLL\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=106.6.10.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.106.6.10\lib\net452\RestSharp.dll</HintPath>
</Reference>
<Reference Include="RobotStudio.Services.RobApi">
<HintPath>..\..\..\MY\DLL\ABB\RobotStudio.Services.RobApi.dll</HintPath>
</Reference>
<Reference Include="RobotStudio.Services.RobApi.Desktop">
<HintPath>..\..\..\MY\DLL\ABB\RobotStudio.Services.RobApi.Desktop.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<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" />
</ItemGroup>
<ItemGroup>
<Compile Include="BLL\ABB.cs" />
<Compile Include="BLL\DoubleLine.cs" />
<Compile Include="BLL\SplitLine.cs" />
<Compile Include="Common.cs" />
<Compile Include="BLL\ControlCenter.cs" />
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="BLL\InOutLine.cs" />
<Compile Include="BLL\MiR.cs" />
<Compile Include="BLL\PackingLine.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.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>
<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>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>debug</StartArguments>
</PropertyGroup>
</Project>
\ No newline at end of file
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件类型无法预览
using System;
namespace BLL
{
public class InOutLine
{ }
internal enum IO25_DI : int
{
X721, X722, X723, X724, X725, X726, X727, X728, X729, X730, X731, X732, X733, X734, X735, X736
}
internal enum IO25_DO : int
{
Y721, Y722, Y723, Y724, Y725, Y726, Y727, Y728, Y729, Y730, Y731, Y732, Y733, Y734, Y735, Y736
}
}
\ No newline at end of file

\ No newline at end of file
using System;
namespace AssemblyLine
{
public static class Common
{
/// <summary>
/// 日志文件路径
/// </summary>
public readonly static string LOG_PATH = AppDomain.CurrentDomain.BaseDirectory + "LOG\\";
public delegate void StatusEvent(int idx, string ip, bool status);
public delegate void OutTextEvent(string s);
public static IOInfo IO21_Dev; //双层线
public static IOInfo IO22_Dev; //双层线
public static IOInfo IO23_Dev; //双层线
public static IOInfo IO24_Dev; //包装料
public static IOInfo IO25_Dev; //进出料
public static IOInfo IO26_Dev; //出料皮带线1
public static IOInfo IO27_Dev; //出料皮带线2
public static IOInfo IO28_Dev; //分盘线
public static RFIDInfo RFID101_Dev; //双层线
public static RFIDInfo RFID102_Dev; //双层线
public static RFIDInfo RFID103_Dev; //双层线
public static RFIDInfo RFID104_Dev; //双层线
public static RFIDInfo RFID105_Dev; //双层线
public static RFIDInfo RFID106_Dev; //包装料
public static RFIDInfo RFID107_Dev; //进出料
public static RFIDInfo RFID108_Dev; //进出料
public static RFIDInfo RFID109_Dev; //双层线
public static RFIDInfo RFID110_Dev; //分盘线
public static Asa.RFID.ReaderAll ReaderAll;
public static ABBInfo[] ABB_Dev;
public static AgvInfo[] Agv;
public static BLL.ABB ABB_Robot;
public static BLL.MiR MiR_AGV;
public static BLL.Doubleline line_Double;
public static BLL.PackingLine line_Packing;
public static BLL.ControlCenter controlCenter;
public static FrmMain frmMain;
public static System.Collections.Generic.Dictionary<string, string> config;
public static string LOCAL_IP = ""; // = "192.168.103.12";
public const string ABB_MOVEP = "movep";
public const string ABB_MOVEGET = "moveget";
public const string ABB_MOVEPUT = "moveput";
public const string ABB_MOVEHOME = "movehome";
/// <summary>
/// 16进制
/// </summary>
/// <param name="buff"></param>
/// <returns></returns>
public static string HexBuff(byte[] buff)
{
string s = "";
if (buff == null) return s;
for (int i = 0; i < buff.Length; i++)
s += buff[i].ToString("X2") + " ";
return s;
}
}
/// <summary>
/// IO设备信息
/// </summary>
public class IOInfo
{
/// <summary>
/// IP地址
/// </summary>
public string IP;
/// <summary>
/// 名称
/// </summary>
public string Name;
/// <summary>
/// IO模块
/// </summary>
public Asa.IOModule.AIOBOX Box;
/// <summary>
/// DI
/// </summary>
public Register[] DI;
/// <summary>
/// DO
/// </summary>
public Register[] DO;
public string ToStrDO(int index, int status)
{
string s = "";
if (status == 255)
s += " [ON]";
else if (status == 0)
s += " [OFF]";
s += DO[index].Name;
return s;
}
public string ToStrDI(int index, int status)
{
string s = "";
if (status == 255)
s += " [ON]";
else if (status == 0)
s += " [OFF]";
s += DI[index].Name;
return s;
}
}
/// <summary>
/// 寄存器
/// </summary>
public class Register
{
/// <summary>
/// 模块寄存器ID
/// </summary>
public string ID;
/// <summary>
/// 号码管名称
/// </summary>
public string Name;
/// <summary>
/// 解释说明
/// </summary>
public string Explain;
/// <summary>
/// 状态
/// </summary>
public Asa.IOModule.Box_Sta Sta;
/// <summary>
/// 寄存器
/// </summary>
/// <param name="id">模块寄存器ID</param>
/// <param name="name">号码管名称</param>
/// <param name="explain">解释说明</param>
public Register(string id, string name, string explain)
{
ID = id;
Name = name;
Explain = explain;
Sta = Asa.IOModule.Box_Sta.Off;
}
}
/// <summary>
/// RFID设备信息
/// </summary>
public class RFIDInfo
{
/// <summary>
/// IP地址
/// </summary>
public string IP;
/// <summary>
/// 模块编号
/// </summary>
public string ID;
/// <summary>
/// 解释说明
/// </summary>
public string Explain;
public RFIDInfo(string ip, string id, string explain)
{
IP = ip;
ID = id;
Explain = explain;
}
}
/// <summary>
/// MiR AGV设备信息
/// </summary>
public class AgvInfo
{
/// <summary>
/// 是否在线
/// </summary>
public bool IsCon;
/// <summary>
/// 是否可用
/// </summary>
public bool IsUse;
/// <summary>
/// 是否手动取消使用
/// </summary>
public bool IsCancel;
/// <summary>
/// 是否存在架子
/// </summary>
public bool ExistShelf;
public string Place;
public string Name;
public string IP;
public string RFID;
public string Mark;
public string Key;
public int StateID;
public string StateText;
/// <summary>
/// PLC20寄存器的状态
/// </summary>
public BLL.MiR_Status Status;
public AgvInfo(string name, string ip, string key)
{
Name = name;
IP = ip;
Key = key;
IsCon = false;
IsUse = false;
IsCancel = false;
ExistShelf = false;
RFID = "";
Place = "";
StateID = -1;
StateText = "";
Mark = "";
Status = BLL.MiR_Status.None;
}
}
/// <summary>
/// ABB机器人设备信息
/// </summary>
public class ABBInfo
{
public string IP;
public string Name;
public string State;
public string Server;
public bool IsOpen;
//public string SendStr;
//public string ReceiveStr;
//public string StartStr;
//public string StopStr;
public ABBInfo(string ip, string name, string state, string server)
{
IP = ip;
Name = name;
State = state;
Server = server;
IsOpen = false;
//SendStr = ip + " " + name + " Send ";
//ReceiveStr = ip + " " + name + " Received ";
//StartStr = ip + " " + name + " Server Start";
//StopStr = ip + " " + name + " Server Stop";
}
public string ToString(string s)
{
return IP + " " + Name + " " + s;
}
}
}
\ No newline at end of file
此文件的差异太大,无法显示。
此文件类型无法预览
此文件类型无法预览
此文件的差异太大,无法显示。
此文件类型无法预览
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件的差异太大,无法显示。
此文件类型无法预览
此文件的差异太大,无法显示。
此文件类型无法预览
此文件类型无法预览
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!