프로젝트 구조 개선 및 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:
@@ -279,7 +279,7 @@ namespace Project
|
||||
var pos = (double)nud.Value;
|
||||
|
||||
//모션이 초기화가 안되있다면 오류로 처리한다
|
||||
if (PUB.mot.IsHomeSet(nud.MotionIndex) == false)
|
||||
if (PUB.mot.IsHomeSet((short)nud.MotionIndex) == false)
|
||||
{
|
||||
UTIL.MsgE("해당 축은 홈 검색이 완료되지 않았습니다.\n먼저 홈 검색을 완료 하세요");
|
||||
return;
|
||||
@@ -295,11 +295,11 @@ namespace Project
|
||||
"축 : {0}\n" +
|
||||
"변경전 : {1}\n" +
|
||||
"변경후 : {2}\n" +
|
||||
"변경 후 '저장'을 눌러야 영구 기록 됩니다", axis, PUB.mot.GetActPos(nud.MotionIndex), pos, nud.Value);
|
||||
"변경 후 '저장'을 눌러야 영구 기록 됩니다", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos, nud.Value);
|
||||
|
||||
if (UTIL.MsgQ(msg1) != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
ChangeCurrentPosition(nud.MotionIndex, nud);
|
||||
ChangeCurrentPosition((short)nud.MotionIndex, nud);
|
||||
break;
|
||||
case arFrame.Control.MotCommandButton.eCommand.AbsoluteMove:
|
||||
case arFrame.Control.MotCommandButton.eCommand.RelativeMove:
|
||||
@@ -318,7 +318,7 @@ namespace Project
|
||||
"축 : {0}\n" +
|
||||
"현재위치 : {1}\n" +
|
||||
"대상위치 : {2}\n" +
|
||||
"이동 시 충돌 가능성이 있는지 반드시 확인 하세요", axis, PUB.mot.GetActPos(nud.MotionIndex), pos);
|
||||
"이동 시 충돌 가능성이 있는지 반드시 확인 하세요", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos);
|
||||
|
||||
if (UTIL.MsgQ(msg) != System.Windows.Forms.DialogResult.Yes) return;
|
||||
|
||||
@@ -408,7 +408,7 @@ namespace Project
|
||||
for (int r = 0; r < dvMot.RowCount; r++) // 오류수정 2111221
|
||||
{
|
||||
var row = this.dvMot.Rows[r];
|
||||
var axis = int.Parse(row.Cells[0].Value.ToString());
|
||||
var axis = short.Parse(row.Cells[0].Value.ToString());
|
||||
row.Cells[0].Style.BackColor = PUB.mot.IsServOn(axis) ? Color.Lime : Color.Tomato;
|
||||
row.Cells[2].Value = $"{PUB.mot.GetCmdPos(axis)}";
|
||||
row.Cells[3].Value = $"{PUB.mot.GetActPos(axis)}";
|
||||
@@ -558,7 +558,7 @@ namespace Project
|
||||
|
||||
#endregion
|
||||
|
||||
void ChangeCurrentPosition(int Axis, NumericUpDown valueCtl)
|
||||
void ChangeCurrentPosition(short Axis, NumericUpDown valueCtl)
|
||||
{
|
||||
valueCtl.Value = (decimal)PUB.mot.GetActPos(Axis);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user