프로젝트 구조 개선 및 README.md 추가

- UIControl 프로젝트 구조 변경 (CapCleaningControl → Sub/UIControl)
- arAjinextek 라이브러리 통합 및 구조 개선
- 새로운 arAjinextek_Union 프로젝트 추가
- 솔루션 파일에 README.md 추가
- QR 모드에서 WMS RCV 태그 인식 기능 강화
- 데이터베이스 스키마 업데이트 및 관련 클래스 수정
- 프린터 및 바코드 장치 연동 로직 개선

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ChiKyun Kim
2025-08-07 08:35:56 +09:00
parent c17296101a
commit 9a7d1d27c7
140 changed files with 4203 additions and 6791 deletions

View File

@@ -320,7 +320,7 @@ namespace Project.Dialog
sb.AppendLine($"[{++idx:000}] 원점(0)으로 이동 : " + ax.ToString());
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (int)ax,
Axis = (short)ax,
Position = 0,
Speed = Math.Max(100, dr.Speed),
Acc = dr.SpeedAcc,
@@ -336,7 +336,7 @@ namespace Project.Dialog
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (int)ax,
Axis = (short)ax,
Position = dr.Position,
Speed = Math.Max(100, dr.Speed),
Acc = dr.SpeedAcc,
@@ -353,7 +353,7 @@ namespace Project.Dialog
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (int)ax,
Axis = (short)ax,
Position = dr.Position,
Speed = Math.Max(100, dr.Speed),
Acc = dr.SpeedAcc,
@@ -370,7 +370,7 @@ namespace Project.Dialog
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (int)ax,
Axis = (short)ax,
Position = Math.Max(dr.Position - 50, 0),
Speed = Math.Max(100, dr.Speed),
Acc = dr.SpeedAcc,
@@ -469,7 +469,7 @@ namespace Project.Dialog
{
var ax = nlist[i];
var dr = nplist[i];
var curpos = PUB.mot.GetCmdPos((int)ax);
var curpos = PUB.mot.GetCmdPos((short)ax);
sb.AppendLine($"[{dr.idx}] 축:{ax} - {dr.PosTitle}\n\t변경위치 {dr.Position} -> {curpos}");
var param = new Tuple<DataSet1.MCModelRow, eAxis, string, double, double>(dr, ax, dr.PosTitle, dr.Position, curpos);
poslist.Enqueue(param);
@@ -508,27 +508,27 @@ namespace Project.Dialog
var vel = (float)nudJogVel.Value;
if (tag == "X+")
{
if (axisX >= 0) PUB.mot.JOG(axisX, arDev.MOT.MOTION_DIRECTION.Positive, vel, 500, false, false);
if (axisX >= 0) PUB.mot.JOG((short)axisX, arDev.MOT.MOTION_DIRECTION.Positive, vel, 500, false, false);
}
else if (tag == "X-")
{
if (axisX >= 0) PUB.mot.JOG(axisX, arDev.MOT.MOTION_DIRECTION.Negative, vel, 500, false, false);
if (axisX >= 0) PUB.mot.JOG((short)axisX, arDev.MOT.MOTION_DIRECTION.Negative, vel, 500, false, false);
}
else if (tag == "Y+")
{
if (axisY >= 0) PUB.mot.JOG(axisY, arDev.MOT.MOTION_DIRECTION.Positive, vel, 500, false, false);
if (axisY >= 0) PUB.mot.JOG((short)axisY, arDev.MOT.MOTION_DIRECTION.Positive, vel, 500, false, false);
}
else if (tag == "Y-")
{
if (axisY >= 0) PUB.mot.JOG(axisY, arDev.MOT.MOTION_DIRECTION.Negative, vel, 500, false, false);
if (axisY >= 0) PUB.mot.JOG((short)axisY, arDev.MOT.MOTION_DIRECTION.Negative, vel, 500, false, false);
}
else if (tag == "Z+")
{
if (axisZ >= 0) PUB.mot.JOG(axisZ, arDev.MOT.MOTION_DIRECTION.Positive, vel, 500, false, false);
if (axisZ >= 0) PUB.mot.JOG((short)axisZ, arDev.MOT.MOTION_DIRECTION.Positive, vel, 500, false, false);
}
else if (tag == "Z-")
{
if (axisZ >= 0) PUB.mot.JOG(axisZ, arDev.MOT.MOTION_DIRECTION.Negative, vel, 500, false, false);
if (axisZ >= 0) PUB.mot.JOG((short)axisZ, arDev.MOT.MOTION_DIRECTION.Negative, vel, 500, false, false);
}
}
@@ -539,27 +539,27 @@ namespace Project.Dialog
var vel = (float)nudJogVel.Value;
if (tag == "X+")
{
if (axisX >= 0) PUB.mot.MoveStop("MOVETOGRP", axisX, true);
if (axisX >= 0) PUB.mot.MoveStop("MOVETOGRP", (short)axisX, true);
}
else if (tag == "X-")
{
if (axisX >= 0) PUB.mot.MoveStop("MOVETOGRP", axisX, true);
if (axisX >= 0) PUB.mot.MoveStop("MOVETOGRP", (short)axisX, true);
}
else if (tag == "Y+")
{
if (axisY >= 0) PUB.mot.MoveStop("MOVETOGRP", axisY, true);
if (axisY >= 0) PUB.mot.MoveStop("MOVETOGRP", (short)axisY, true);
}
else if (tag == "Y-")
{
if (axisY >= 0) PUB.mot.MoveStop("MOVETOGRP", axisY, true);
if (axisY >= 0) PUB.mot.MoveStop("MOVETOGRP", (short)axisY, true);
}
else if (tag == "Z+")
{
if (axisZ >= 0) PUB.mot.MoveStop("MOVETOGRP", axisZ, true);
if (axisZ >= 0) PUB.mot.MoveStop("MOVETOGRP", (short)axisZ, true);
}
else if (tag == "Z-")
{
if (axisZ >= 0) PUB.mot.MoveStop("MOVETOGRP", axisZ, true);
if (axisZ >= 0) PUB.mot.MoveStop("MOVETOGRP", (short)axisZ, true);
}
}
@@ -569,7 +569,7 @@ namespace Project.Dialog
var motpos = string.Empty;
if (axisX >= 0)
{
motpos += $"X:{PUB.mot.GetActPos(axisX):N3}/{PUB.mot.GetCmdPos(axisX):N3}";
motpos += $"X:{PUB.mot.GetActPos((short)axisX):N3}/{PUB.mot.GetCmdPos((short)axisX):N3}";
button6.BackColor = PUB.iLock[axisX].IsEmpty() ? Color.FromArgb(224, 224, 224) : Color.Orange;
}
else
@@ -579,7 +579,7 @@ namespace Project.Dialog
}
if (axisY >= 0)
{
motpos += $" / Y:{PUB.mot.GetActPos(axisY):N3}/{PUB.mot.GetCmdPos(axisY):N3}";
motpos += $" / Y:{PUB.mot.GetActPos((short)axisY):N3}/{PUB.mot.GetCmdPos((short)axisY):N3}";
button5.BackColor = PUB.iLock[axisY].IsEmpty() ? Color.FromArgb(224, 224, 224) : Color.Orange;
}
else
@@ -589,7 +589,7 @@ namespace Project.Dialog
}
if (axisZ >= 0)
{
motpos += $" / Z:{PUB.mot.GetActPos(axisZ):N3},{PUB.mot.GetCmdPos(axisZ):N3}";
motpos += $" / Z:{PUB.mot.GetActPos((short)axisZ):N3},{PUB.mot.GetCmdPos((short)axisZ):N3}";
button4.BackColor = PUB.iLock[axisZ].IsEmpty() ? Color.FromArgb(224, 224, 224) : Color.Orange;
}
else