add mapcontrol
add remote path(gitlab)
This commit is contained in:
@@ -8,12 +8,15 @@
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<BaseOutputPath>D:\Amkor\AGV4</BaseOutputPath>
|
||||
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
||||
<UseResourceDedicatedThread>true</UseResourceDedicatedThread>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\Protocol\enigprotocol\ENIGProtocol.csproj" />
|
||||
<ProjectReference Include="..\StateMachine\StateMachine.csproj" />
|
||||
<ProjectReference Include="..\SubProject\AGVMapControl\AGVMapControl.csproj" />
|
||||
<ProjectReference Include="..\SubProject\AGV\NARUMI.csproj" />
|
||||
<ProjectReference Include="..\SubProject\AGVControl\agvControl.csproj" />
|
||||
<ProjectReference Include="..\SubProject\arCtl\arControl.csproj" />
|
||||
@@ -41,21 +44,19 @@
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Update="sample.route">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Winsock_Orcas">
|
||||
<HintPath>lib\Winsock_Orcas.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EEProtocol">
|
||||
<HintPath>lib\EEProtocol.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="arUtil">
|
||||
<HintPath>lib\arUtil.dll</HintPath>
|
||||
<Reference Include="Winsock Orcas">
|
||||
<HintPath>..\DLL\Winsock Orcas.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.0.2" />
|
||||
<PackageReference Include="System.IO.Ports" Version="9.0.4" />
|
||||
<PackageReference Include="System.Management" Version="9.0.4" />
|
||||
<PackageReference Include="System.Speech" Version="9.0.4" />
|
||||
|
||||
@@ -108,24 +108,24 @@ public static partial class EEMStatus
|
||||
StatusChecktime = DateTime.Now;
|
||||
}
|
||||
|
||||
//내부실행모드일때에만 파일을 처리한다
|
||||
if (_extrun == false)
|
||||
{
|
||||
var tsfile = DateTime.Now - FileCheckTime;
|
||||
if (tsfile.TotalSeconds >= UpdateFileInterval)
|
||||
{
|
||||
if (UpdateRun == false)
|
||||
{
|
||||
UpdateRun = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
UpdateFileToDB();
|
||||
UpdateRun = false;
|
||||
});
|
||||
}
|
||||
FileCheckTime = DateTime.Now;
|
||||
}
|
||||
}
|
||||
////내부실행모드일때에만 파일을 처리한다
|
||||
//if (_extrun == false)
|
||||
//{
|
||||
// var tsfile = DateTime.Now - FileCheckTime;
|
||||
// if (tsfile.TotalSeconds >= UpdateFileInterval)
|
||||
// {
|
||||
// if (UpdateRun == false)
|
||||
// {
|
||||
// UpdateRun = true;
|
||||
// Task.Run(() =>
|
||||
// {
|
||||
// UpdateFileToDB();
|
||||
// UpdateRun = false;
|
||||
// });
|
||||
// }
|
||||
// FileCheckTime = DateTime.Now;
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -258,7 +258,7 @@ public static partial class EEMStatus
|
||||
//var di = new System.IO.DirectoryInfo(path);
|
||||
//var fi = di.GetFiles("*.sql", System.IO.SearchOption.TopDirectoryOnly).Where(t => t.LastWriteTime < DateTime.Now.AddMinutes(-3)).FirstOrDefault();
|
||||
//if (fi != null) fi.Delete();
|
||||
if (state == 4 && extrun == false) UpdateFileToDB();
|
||||
//if (state == 4 && extrun == false) UpdateFileToDB();
|
||||
return string.Empty;
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -269,97 +269,97 @@ public static partial class EEMStatus
|
||||
|
||||
|
||||
|
||||
static void UpdateFileToDB()
|
||||
{
|
||||
if (mre.WaitOne(1000) == false) return;
|
||||
mre.Reset();
|
||||
var cs = "Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!";
|
||||
var path = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Status");
|
||||
var di = new System.IO.DirectoryInfo(path);
|
||||
if (di.Exists == false) return;
|
||||
var file = di.GetFiles("*.sql", System.IO.SearchOption.TopDirectoryOnly)
|
||||
.Where(t => t.LastWriteTime < DateTime.Now.AddSeconds(-3))
|
||||
.OrderByDescending(t => t.LastWriteTime).FirstOrDefault();
|
||||
//static void UpdateFileToDB()
|
||||
//{
|
||||
// if (mre.WaitOne(1000) == false) return;
|
||||
// mre.Reset();
|
||||
// var cs = "Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!";
|
||||
// var path = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Status");
|
||||
// var di = new System.IO.DirectoryInfo(path);
|
||||
// if (di.Exists == false) return;
|
||||
// var file = di.GetFiles("*.sql", System.IO.SearchOption.TopDirectoryOnly)
|
||||
// .Where(t => t.LastWriteTime < DateTime.Now.AddSeconds(-3))
|
||||
// .OrderByDescending(t => t.LastWriteTime).FirstOrDefault();
|
||||
|
||||
if (file == null)
|
||||
{
|
||||
mre.Set();
|
||||
return;
|
||||
}
|
||||
// if (file == null)
|
||||
// {
|
||||
// mre.Set();
|
||||
// return;
|
||||
// }
|
||||
|
||||
//파일을 찾아야한다
|
||||
// PUB.log.Add($">> {file.FullName}");
|
||||
// //파일을 찾아야한다
|
||||
// // PUB.log.Add($">> {file.FullName}");
|
||||
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
var sql = System.IO.File.ReadAllText(file.FullName, System.Text.Encoding.Default);
|
||||
if (string.IsNullOrEmpty(sql))
|
||||
{
|
||||
//비어잇다면
|
||||
var errpath = System.IO.Path.Combine(di.FullName, "Error");
|
||||
var errfile = System.IO.Path.Combine(errpath, file.Name);
|
||||
if (System.IO.Directory.Exists(errpath) == false) System.IO.Directory.CreateDirectory(errpath);
|
||||
System.IO.File.Move(file.FullName, errfile);// file.MoveTo(errfile);
|
||||
// ecnt += 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
// var csstr = PUB.setting.ConnectionString;
|
||||
// if (string.IsNullOrEmpty(csstr)) csstr = "Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!";
|
||||
var cn = new System.Data.SqlClient.SqlConnection(cs);
|
||||
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
|
||||
cn.Open();
|
||||
var cnt = cmd.ExecuteNonQuery();
|
||||
//if (cnt == 0) PUB.log.Add($"Result Empty : {sql}");
|
||||
cn.Close();
|
||||
cnt += 1;
|
||||
// try
|
||||
// {
|
||||
// var sql = System.IO.File.ReadAllText(file.FullName, System.Text.Encoding.Default);
|
||||
// if (string.IsNullOrEmpty(sql))
|
||||
// {
|
||||
// //비어잇다면
|
||||
// var errpath = System.IO.Path.Combine(di.FullName, "Error");
|
||||
// var errfile = System.IO.Path.Combine(errpath, file.Name);
|
||||
// if (System.IO.Directory.Exists(errpath) == false) System.IO.Directory.CreateDirectory(errpath);
|
||||
// System.IO.File.Move(file.FullName, errfile);// file.MoveTo(errfile);
|
||||
// // ecnt += 1;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// // var csstr = PUB.setting.ConnectionString;
|
||||
// // if (string.IsNullOrEmpty(csstr)) csstr = "Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!";
|
||||
// var cn = new System.Data.SqlClient.SqlConnection(cs);
|
||||
// var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
|
||||
// cn.Open();
|
||||
// var cnt = cmd.ExecuteNonQuery();
|
||||
// //if (cnt == 0) PUB.log.Add($"Result Empty : {sql}");
|
||||
// cn.Close();
|
||||
// cnt += 1;
|
||||
|
||||
var errpath = System.IO.Path.Combine(di.FullName, "Complete");
|
||||
var errfile = System.IO.Path.Combine(errpath, file.Name);
|
||||
if (System.IO.Directory.Exists(errpath) == false) System.IO.Directory.CreateDirectory(errpath);
|
||||
//file.MoveTo(errfile);
|
||||
System.IO.File.Move(file.FullName, errfile);
|
||||
}
|
||||
// var errpath = System.IO.Path.Combine(di.FullName, "Complete");
|
||||
// var errfile = System.IO.Path.Combine(errpath, file.Name);
|
||||
// if (System.IO.Directory.Exists(errpath) == false) System.IO.Directory.CreateDirectory(errpath);
|
||||
// //file.MoveTo(errfile);
|
||||
// System.IO.File.Move(file.FullName, errfile);
|
||||
// }
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
var errpath = System.IO.Path.Combine(di.FullName, "Error");
|
||||
var errfile = System.IO.Path.Combine(errpath, file.Name);
|
||||
if (System.IO.Directory.Exists(errpath) == false) System.IO.Directory.CreateDirectory(errpath);
|
||||
try
|
||||
{
|
||||
//file.MoveTo(errfile);
|
||||
System.IO.File.Move(file.FullName, errfile);
|
||||
}
|
||||
catch (Exception ex2)
|
||||
{
|
||||
Console.WriteLine($"move error : {ex2.Message} : {errfile}");
|
||||
}
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// var errpath = System.IO.Path.Combine(di.FullName, "Error");
|
||||
// var errfile = System.IO.Path.Combine(errpath, file.Name);
|
||||
// if (System.IO.Directory.Exists(errpath) == false) System.IO.Directory.CreateDirectory(errpath);
|
||||
// try
|
||||
// {
|
||||
// //file.MoveTo(errfile);
|
||||
// System.IO.File.Move(file.FullName, errfile);
|
||||
// }
|
||||
// catch (Exception ex2)
|
||||
// {
|
||||
// Console.WriteLine($"move error : {ex2.Message} : {errfile}");
|
||||
// }
|
||||
|
||||
//ecnt += 1;
|
||||
}
|
||||
// //ecnt += 1;
|
||||
// }
|
||||
|
||||
try
|
||||
{
|
||||
//생성된지 10일이 넘은 자료는 삭제한다.
|
||||
//시간소비를 피해서 1개의 파일만 작업한다
|
||||
var sqlfiles = di.GetFiles("*.sql", System.IO.SearchOption.AllDirectories);
|
||||
//총3번의 데이터를 처리한다
|
||||
var files = sqlfiles.Where(t => t.LastWriteTime < DateTime.Now.AddDays(-10)).Select(t => t.FullName);
|
||||
int i = 0;
|
||||
var dellist = files.TakeWhile(t => i++ < 3);
|
||||
foreach (var delfile in dellist)
|
||||
System.IO.File.Delete(delfile);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// try
|
||||
// {
|
||||
// //생성된지 10일이 넘은 자료는 삭제한다.
|
||||
// //시간소비를 피해서 1개의 파일만 작업한다
|
||||
// var sqlfiles = di.GetFiles("*.sql", System.IO.SearchOption.AllDirectories);
|
||||
// //총3번의 데이터를 처리한다
|
||||
// var files = sqlfiles.Where(t => t.LastWriteTime < DateTime.Now.AddDays(-10)).Select(t => t.FullName);
|
||||
// int i = 0;
|
||||
// var dellist = files.TakeWhile(t => i++ < 3);
|
||||
// foreach (var delfile in dellist)
|
||||
// System.IO.File.Delete(delfile);
|
||||
// }
|
||||
// catch
|
||||
// {
|
||||
|
||||
}
|
||||
mre.Set();
|
||||
}
|
||||
// }
|
||||
// mre.Set();
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -4,16 +4,10 @@ using System.Net;
|
||||
using System.Management;
|
||||
using System.Data;
|
||||
using AR;
|
||||
using System.Security.Policy;
|
||||
using Project.StateMachine;
|
||||
using System.Data.SqlClient;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Speech.Synthesis;
|
||||
using System.Media;
|
||||
using System.Runtime.InteropServices;
|
||||
using Microsoft.Data.SqlClient;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
@@ -406,7 +400,7 @@ namespace Project
|
||||
var conn = new SqlConnection(AGV4.Properties.Settings.Default.CS);// "Data Source=10.131.15.18;Initial Catalog=EE;Persist Security Info=True;User ID=eeuser;Password=Amkor123!");
|
||||
conn.Open();
|
||||
string ProcName = "AddPrgmUser3";
|
||||
SqlCommand cmd = new SqlCommand(ProcName, conn)
|
||||
var cmd = new SqlCommand(ProcName, conn)
|
||||
{
|
||||
CommandType = CommandType.StoredProcedure
|
||||
};
|
||||
|
||||
@@ -1,120 +0,0 @@
|
||||
<?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>
|
||||
89
Cs_HMI/Project/ViewForm/fAuto.Designer.cs
generated
89
Cs_HMI/Project/ViewForm/fAuto.Designer.cs
generated
@@ -28,59 +28,68 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.ctlAuto1 = new Project.CtlAuto();
|
||||
this.SuspendLayout();
|
||||
components = new System.ComponentModel.Container();
|
||||
timer1 = new System.Windows.Forms.Timer(components);
|
||||
ctlAuto1 = new CtlAuto();
|
||||
panel1 = new Panel();
|
||||
SuspendLayout();
|
||||
//
|
||||
// timer1
|
||||
//
|
||||
this.timer1.Interval = 200;
|
||||
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
||||
timer1.Interval = 200;
|
||||
timer1.Tick += timer1_Tick;
|
||||
//
|
||||
// ctlAuto1
|
||||
//
|
||||
this.ctlAuto1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(32)))), ((int)(((byte)(32)))));
|
||||
this.ctlAuto1.BorderColor = System.Drawing.Color.Transparent;
|
||||
this.ctlAuto1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ctlAuto1.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.ctlAuto1.Font_BMS_Level = new System.Drawing.Font("Bahnschrift Condensed", 250F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ctlAuto1.Font_BMS_Volt = new System.Drawing.Font("Bahnschrift Condensed", 50.25F, System.Drawing.FontStyle.Bold);
|
||||
this.ctlAuto1.Font_MAIN_BMSLevel = new System.Drawing.Font("Arial Narrow", 150F, System.Drawing.FontStyle.Bold);
|
||||
this.ctlAuto1.ForeColor = System.Drawing.Color.White;
|
||||
this.ctlAuto1.ItemGap = 0;
|
||||
this.ctlAuto1.Items = null;
|
||||
this.ctlAuto1.Location = new System.Drawing.Point(0, 0);
|
||||
this.ctlAuto1.MinimumSize = new System.Drawing.Size(100, 30);
|
||||
this.ctlAuto1.Name = "ctlAuto1";
|
||||
this.ctlAuto1.ProgressMax = 100F;
|
||||
this.ctlAuto1.ProgressVal = 50F;
|
||||
this.ctlAuto1.Scean = Project.CtlAuto.eScean.Normal;
|
||||
this.ctlAuto1.Size = new System.Drawing.Size(1014, 579);
|
||||
this.ctlAuto1.StatusMessage = "상태메세지 입니다";
|
||||
this.ctlAuto1.StopMessage = "";
|
||||
this.ctlAuto1.StopTime = new System.DateTime(((long)(0)));
|
||||
this.ctlAuto1.TabIndex = 20;
|
||||
this.ctlAuto1.Text = "ctlAuto1";
|
||||
ctlAuto1.BackColor = Color.FromArgb(32, 32, 32);
|
||||
ctlAuto1.BorderColor = Color.Transparent;
|
||||
ctlAuto1.Font = new Font("맑은 고딕", 20F, FontStyle.Regular, GraphicsUnit.Point, 129);
|
||||
ctlAuto1.Font_BMS_Level = new Font("Bahnschrift Condensed", 250F, FontStyle.Bold, GraphicsUnit.Point, 0);
|
||||
ctlAuto1.Font_BMS_Volt = new Font("Bahnschrift Condensed", 50.25F, FontStyle.Bold);
|
||||
ctlAuto1.Font_MAIN_BMSLevel = new Font("Arial Narrow", 150F, FontStyle.Bold);
|
||||
ctlAuto1.ForeColor = Color.White;
|
||||
ctlAuto1.ItemGap = 0;
|
||||
ctlAuto1.Items = null;
|
||||
ctlAuto1.Location = new Point(835, 338);
|
||||
ctlAuto1.MinimumSize = new Size(100, 30);
|
||||
ctlAuto1.Name = "ctlAuto1";
|
||||
ctlAuto1.ProgressMax = 100F;
|
||||
ctlAuto1.ProgressVal = 50F;
|
||||
ctlAuto1.Scean = CtlAuto.eScean.Normal;
|
||||
ctlAuto1.Size = new Size(179, 241);
|
||||
ctlAuto1.StatusMessage = "상태메세지 입니다";
|
||||
ctlAuto1.StopMessage = "";
|
||||
ctlAuto1.StopTime = new DateTime(0L);
|
||||
ctlAuto1.TabIndex = 20;
|
||||
ctlAuto1.Text = "ctlAuto1";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
panel1.Dock = DockStyle.Fill;
|
||||
panel1.Location = new Point(0, 0);
|
||||
panel1.Name = "panel1";
|
||||
panel1.Size = new Size(1014, 579);
|
||||
panel1.TabIndex = 21;
|
||||
//
|
||||
// fAuto
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(15)))), ((int)(((byte)(15)))), ((int)(((byte)(15)))));
|
||||
this.ClientSize = new System.Drawing.Size(1014, 579);
|
||||
this.Controls.Add(this.ctlAuto1);
|
||||
this.DoubleBuffered = true;
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "fAuto";
|
||||
this.Text = "fAuto";
|
||||
this.Load += new System.EventHandler(this.fAuto_Load);
|
||||
this.VisibleChanged += new System.EventHandler(this.fAuto_VisibleChanged);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
AutoScaleMode = AutoScaleMode.None;
|
||||
BackColor = Color.FromArgb(15, 15, 15);
|
||||
ClientSize = new Size(1014, 579);
|
||||
Controls.Add(panel1);
|
||||
Controls.Add(ctlAuto1);
|
||||
DoubleBuffered = true;
|
||||
FormBorderStyle = FormBorderStyle.None;
|
||||
Name = "fAuto";
|
||||
Text = "fAuto";
|
||||
Load += fAuto_Load;
|
||||
VisibleChanged += fAuto_VisibleChanged;
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.Timer timer1;
|
||||
private CtlAuto ctlAuto1;
|
||||
private Panel panel1;
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,7 @@ namespace Project.ViewForm
|
||||
{
|
||||
public partial class fAuto : Form
|
||||
{
|
||||
AGVMapControl.MapControl mapctl;
|
||||
public fAuto()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -25,6 +26,11 @@ namespace Project.ViewForm
|
||||
this.ctlAuto1.Scean = CtlAuto.eScean.Progress;
|
||||
else
|
||||
this.ctlAuto1.Scean = CtlAuto.eScean.Normal;
|
||||
this.mapctl = new AGVMapControl.MapControl();
|
||||
this.mapctl.Dock = DockStyle.Fill;
|
||||
this.mapctl.Visible = true;
|
||||
this.mapctl.BackColor = Color.FromArgb(32, 32, 32);
|
||||
this.panel1.Controls.Add(mapctl);
|
||||
}
|
||||
private void fAuto_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
<?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
|
||||
|
||||
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>
|
||||
@@ -26,36 +26,36 @@
|
||||
<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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
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
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
|
||||
144
Cs_HMI/Project/sample.route
Normal file
144
Cs_HMI/Project/sample.route
Normal file
@@ -0,0 +1,144 @@
|
||||
[RFID_POINTS]
|
||||
100,486,T0002
|
||||
164,494,T0003
|
||||
229,493,T0004
|
||||
309,489,T0005
|
||||
370,490,T0006
|
||||
437,486,T0007
|
||||
483,459,T0008
|
||||
511,421,T0009
|
||||
543,371,T0010
|
||||
569,329,T0011
|
||||
608,289,T0012
|
||||
661,279,T0013
|
||||
700,297,T0014
|
||||
698,349,T0015
|
||||
698,391,T0016
|
||||
699,449,T0017
|
||||
691,491,T0018
|
||||
569,275,T0019
|
||||
518,264,T0020
|
||||
454,264,T0021
|
||||
388,261,T0022
|
||||
314,258,T0023
|
||||
639,234,T0024
|
||||
621,182,T0025
|
||||
629,143,T0026
|
||||
657,101,T0027
|
||||
627,82,T0028
|
||||
560,73,T0029
|
||||
499,65,T0030
|
||||
432,65,T0031
|
||||
264,232,T0032
|
||||
363,60,T0033
|
||||
654,508,T0034
|
||||
96,542,T0050
|
||||
159,542,T0051
|
||||
226,542,T0061
|
||||
309,541,T0070
|
||||
369,542,T0071
|
||||
483,165,T0010
|
||||
735,163,T0011
|
||||
523,170,T0001
|
||||
565,175,T0002
|
||||
597,182,T0003
|
||||
665,181,T0004
|
||||
700,176,T0005
|
||||
721,170,T0006
|
||||
[MAGNET_LINES]
|
||||
99,485,220,492
|
||||
220,492,375,488
|
||||
375,488,457,479
|
||||
457,479,512,432
|
||||
512,432,552,353
|
||||
552,353,602,291
|
||||
602,291,651,278
|
||||
651,278,700,289
|
||||
700,289,704,380
|
||||
704,380,700,469
|
||||
700,469,688,488
|
||||
666,277,637,229
|
||||
637,229,625,170
|
||||
625,170,654,94
|
||||
654,94,624,78
|
||||
624,78,484,63
|
||||
484,63,365,64
|
||||
608,287,523,267
|
||||
523,267,409,260
|
||||
409,260,275,258
|
||||
99,486,95,542
|
||||
161,495,161,543
|
||||
230,496,228,537
|
||||
228,537,228,544
|
||||
306,488,306,543
|
||||
373,489,371,544
|
||||
655,508,691,486
|
||||
481,164,624,183
|
||||
624,183,706,181
|
||||
706,181,743,161
|
||||
[MAP_TEXTS]
|
||||
179,251,-1,-16777216,Arial,12,TOPS-2
|
||||
239,52,-256,-65408,Arial,12,SSOTRON-3
|
||||
617,527,-16711936,-16777216,Arial,12,SSOTRON-1
|
||||
87,551,-16777216,16777215,Arial,12,B1
|
||||
150,551,-16777216,16777215,Arial,12,B2
|
||||
227,553,-16777216,16777215,Arial,12,B3
|
||||
299,555,-16777216,16777215,Arial,12,B4
|
||||
367,554,-16777216,16777215,Arial,12,B5
|
||||
453,128,-16777216,-8323073,Arial,12,CHG1
|
||||
725,124,-16777216,-8323073,Arial,12,CHG2
|
||||
[CUSTOM_LINES]
|
||||
[RFID_LINES]
|
||||
96,542,100,486,T0005,T0002,True,56.14267
|
||||
100,486,164,494,T0002,T0003,True,64.49806
|
||||
164,494,229,493,T0003,T0004,True,65.00769
|
||||
229,493,309,489,T0004,T0005,True,80.09994
|
||||
309,489,370,490,T0005,T0006,True,61.0082
|
||||
370,490,437,486,T0006,T0007,True,67.11929
|
||||
437,486,483,459,T0007,T0008,True,53.33854
|
||||
483,459,511,421,T0008,T0009,True,47.20169
|
||||
511,421,543,371,T0009,T0010,True,59.36329
|
||||
543,371,569,329,T0010,T0011,True,49.39635
|
||||
569,329,608,289,T0011,T0012,True,55.86591
|
||||
608,289,661,279,T0012,T0013,True,53.93515
|
||||
661,279,700,297,T0013,T0014,True,42.95346
|
||||
700,297,698,349,T0014,T0015,True,52.03845
|
||||
698,349,698,391,T0015,T0016,True,42
|
||||
698,391,699,449,T0016,T0017,True,58.00862
|
||||
699,449,691,491,T0017,T0018,True,42.75512
|
||||
691,491,654,508,T0018,T0034,True,40.71855
|
||||
159,542,164,494,T0006,T0003,True,48.25971
|
||||
226,542,229,493,T0007,T0004,True,49.09175
|
||||
309,541,309,489,T0008,T0005,True,52
|
||||
369,542,370,490,T0009,T0006,True,52.00961
|
||||
370,490,370,490,T0006,T0006,True,0
|
||||
608,289,569,275,T0012,T0019,True,41.4367
|
||||
569,275,518,264,T0019,T0020,True,52.17279
|
||||
518,264,454,264,T0020,T0021,True,64
|
||||
454,264,388,261,T0021,T0022,True,66.06815
|
||||
388,261,314,258,T0022,T0023,True,74.06078
|
||||
661,279,639,234,T0013,T0024,True,50.08992
|
||||
639,234,621,182,T0024,T0025,True,55.02727
|
||||
621,182,629,143,T0025,T0026,True,39.81206
|
||||
629,143,657,101,T0026,T0027,True,50.47772
|
||||
657,101,627,82,T0027,T0028,True,35.51056
|
||||
627,82,560,73,T0028,T0029,True,67.60178
|
||||
560,73,499,65,T0029,T0030,True,61.52235
|
||||
483,165,523,170,T0010,T0001,True,40.31129
|
||||
523,170,565,175,T0001,T0002,True,42.29657
|
||||
565,175,597,182,T0002,T0003,True,32.75668
|
||||
597,182,621,182,T0003,T0025,True,24
|
||||
621,182,665,181,T0025,T0004,True,44.01136
|
||||
665,181,700,176,T0004,T0005,True,35.35534
|
||||
700,176,721,170,T0005,T0006,True,21.84033
|
||||
721,170,735,163,T0006,T0011,True,15.65248
|
||||
735,163,721,170,T0011,T0006,True,15.65248
|
||||
721,170,735,163,T0006,T0011,True,15.65248
|
||||
314,258,388,261,T0023,T0022,True,74.06078
|
||||
388,261,454,264,T0022,T0021,True,66.06815
|
||||
454,264,518,264,T0021,T0020,True,64
|
||||
518,264,569,275,T0020,T0019,True,52.17279
|
||||
569,275,608,289,T0019,T0012,True,41.4367
|
||||
264,232,314,258,T0032,T0023,True,56.35601
|
||||
363,60,432,65,T0033,T0031,True,69.18092
|
||||
432,65,499,65,T0031,T0030,True,67
|
||||
Reference in New Issue
Block a user