..
This commit is contained in:
1
Cs_HMI/Project/ViewForm/fAuto.Designer.cs
generated
1
Cs_HMI/Project/ViewForm/fAuto.Designer.cs
generated
@@ -41,7 +41,6 @@ namespace Project.ViewForm
|
||||
// timer1
|
||||
//
|
||||
timer1.Interval = 200;
|
||||
timer1.Tick += timer1_Tick;
|
||||
//
|
||||
// ctlAuto1
|
||||
//
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace Project.ViewForm
|
||||
// ctlAuto1.dev_plc = PUB.PLC;
|
||||
ctlAuto1.dev_bms = PUB.BMS;
|
||||
ctlAuto1.dev_xbe = PUB.XBE;
|
||||
this.timer1.Start();
|
||||
|
||||
PUB.AGV.DataReceive += AGV_DataReceive;
|
||||
|
||||
|
||||
@@ -67,6 +67,8 @@ namespace Project.ViewForm
|
||||
if (rlt == false) AR.UTIL.MsgE(errmsg);
|
||||
}
|
||||
}
|
||||
|
||||
this.timer1.Start();
|
||||
}
|
||||
private void AGV_DataReceive(object sender, arDev.Narumi.DataEventArgs e)
|
||||
{
|
||||
@@ -106,40 +108,44 @@ namespace Project.ViewForm
|
||||
}
|
||||
|
||||
bool tmrun = false;
|
||||
private void timer1_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (this.Visible == false) return;
|
||||
if (tmrun == true) return;
|
||||
tmrun = true;
|
||||
|
||||
this.ctlAuto1.OnUpdateMode = true;
|
||||
|
||||
if (this.ctlAuto1.Scean == CtlAuto.eScean.Progress)
|
||||
{
|
||||
ctlAuto1.ProgressVal = PUB.Result.SMSG_ProgressValue;
|
||||
ctlAuto1.ProgressMax = PUB.Result.SMSG_ProgressMax;
|
||||
ctlAuto1.StatusMessage = VAR.STR?.Get(eVarString.StatusMessage) ?? string.Empty;
|
||||
}
|
||||
this.ctlAuto1.StopMessage = string.Empty;
|
||||
|
||||
if (PUB.sm.Step == StateMachine.eSMStep.RUN)
|
||||
{
|
||||
this.ctlAuto1.runStep = PUB.sm.RunStep;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ctlAuto1.runStep = ERunStep.READY;
|
||||
}
|
||||
this.ctlAuto1.OnUpdateMode = false;
|
||||
this.ctlAuto1.Invalidate();
|
||||
tmrun = false;
|
||||
}
|
||||
|
||||
|
||||
private void fAuto_VisibleChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.timer1.Enabled = this.Visible;
|
||||
if (timer1.Enabled) timer1.Start();
|
||||
else timer1.Stop();
|
||||
}
|
||||
|
||||
private void timer1_Tick_1(object sender, EventArgs e)
|
||||
{
|
||||
//if (this.Visible == false) return;
|
||||
//if (tmrun == true) return;
|
||||
//tmrun = true;
|
||||
|
||||
//this.ctlAuto1.OnUpdateMode = true;
|
||||
|
||||
//if (this.ctlAuto1.Scean == CtlAuto.eScean.Progress)
|
||||
//{
|
||||
// ctlAuto1.ProgressVal = PUB.Result.SMSG_ProgressValue;
|
||||
// ctlAuto1.ProgressMax = PUB.Result.SMSG_ProgressMax;
|
||||
// ctlAuto1.StatusMessage = VAR.STR?.Get(eVarString.StatusMessage) ?? string.Empty;
|
||||
//}
|
||||
//this.ctlAuto1.StopMessage = string.Empty;
|
||||
|
||||
//if (PUB.sm.Step == StateMachine.eSMStep.RUN)
|
||||
//{
|
||||
// this.ctlAuto1.runStep = PUB.sm.RunStep;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// this.ctlAuto1.runStep = ERunStep.READY;
|
||||
//}
|
||||
//this.ctlAuto1.OnUpdateMode = false;
|
||||
//this.ctlAuto1.Invalidate();
|
||||
|
||||
//PUB.mapctl.PredictNextAction();
|
||||
|
||||
//tmrun = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user