This commit is contained in:
ChiKyun Kim
2025-09-10 15:07:17 +09:00
parent 4a45ae15d6
commit 27dcc6befa
7 changed files with 21 additions and 13 deletions

View File

@@ -51,7 +51,7 @@ namespace Project
public static string AGV연결실패 { get { return string.Format("AGV {0}", ); } }
public static string = "이동 예측이 동작하지 않습니다. 개발부서에 문의 하세요";
public static string = "목적지 이동 이 완료 되었습니다";
public static string = "홈검색을시작합니다";
public static string = "상차";

View File

@@ -24,7 +24,16 @@ namespace Project
}
public bool needClose = false;
private bool _needclose = false;
public bool needClose
{
get { return _needclose; }
set
{
if (Visible) //현재 화면이 열러잇다면?
_needclose = value;
}
}
public Boolean needShow = false;
private CMessageData msgBuffer = new CMessageData();

View File

@@ -150,7 +150,7 @@ namespace Project
{
//IO업데이트 간격 전송
UpdateProgressStatus(stepTime.TotalSeconds, 5, Lang.);
PUB.Speak(Lang.);
//PUB.Speak(Lang.안전커버를올리면하차가완료됩니다);
VAR.BOOL[eVarBool.WAIT_COVER_UP] = true;
CoverControlTime = DateTime.Now;
PUB.sm.UpdateRunStepSeq();

View File

@@ -10,7 +10,6 @@ using System.Windows.Forms;
using Project.StateMachine;
using COMM;
using AR;
using System.Security.Cryptography.X509Certificates;
namespace Project.ViewForm
{

View File

@@ -67,7 +67,7 @@ namespace Project.StateMachine
public void Stop()
{
bLoop = false;
if(bLoop != false) bLoop = false;
//if (worker.IsAlive)
// if (worker.Join(1000) == false)
// worker.Abort();

View File

@@ -242,7 +242,7 @@ namespace AGVControl
case eMouseMode.addrfidpoint:
if (string.IsNullOrEmpty(this.RFIDStartNo) == false)
{
if (uint.TryParse(this.RFIDStartNo, out uint rfidvalue))
if (ushort.TryParse(this.RFIDStartNo, out ushort rfidvalue))
{
AddRFIDPoint(mapPoint, rfidvalue);
@@ -1668,7 +1668,7 @@ namespace AGVControl
this.Invalidate();
}
public void AddRFIDPoint(Point mapLocation, uint rfidValue)
public void AddRFIDPoint(Point mapLocation, ushort rfidValue)
{
var rfidPoint = new RFIDPoint
{
@@ -1754,7 +1754,7 @@ namespace AGVControl
{
var validX = int.TryParse(rfidParts[0], out int valX);
var validY = int.TryParse(rfidParts[1], out int valY);
var validN = uint.TryParse(rfidParts[2], out uint valRfid);
var validN = ushort.TryParse(rfidParts[2], out ushort valRfid);
if (validX && validY && validN)
{

View File

@@ -91,8 +91,8 @@ namespace AGVControl
var p1y = int.Parse(buf[1]);
var p2x = int.Parse(buf[2]);
var p2y = int.Parse(buf[3]);
var p1v = uint.Parse(buf[4]);
var p2v = uint.Parse(buf[5]);
var p1v = ushort.Parse(buf[4]);
var p2v = ushort.Parse(buf[5]);
if (P1 == null) P1 = new RFIDPoint();
P1.Location = new System.Drawing.Point(p1x, p1y);