프로젝트 구조 개선 및 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:
@@ -177,7 +177,7 @@ namespace Project.Dialog
|
||||
if (this.PrintPos.isEmpty() && item.VisionData.SID.isEmpty() == false)
|
||||
{
|
||||
//프린트위치가없다면 서버를 조회하여 데이터를 찾아준다. - 231005
|
||||
var taresult = new DataSet1TableAdapters.Component_Reel_ResultTableAdapter();
|
||||
var taresult = new DataSet1TableAdapters.K4EE_Component_Reel_ResultTableAdapter();
|
||||
this.PrintPos = taresult.GetPrintPosition(AR.SETTING.Data.McName, item.VisionData.SID);
|
||||
}
|
||||
DisplayPrintPos(this.PrintPos);
|
||||
@@ -459,7 +459,7 @@ namespace Project.Dialog
|
||||
{
|
||||
try
|
||||
{
|
||||
using (var ta = new DataSet1TableAdapters.Component_Reel_Print_InformationTableAdapter())
|
||||
using (var ta = new DataSet1TableAdapters.K4EE_Component_Reel_Print_InformationTableAdapter())
|
||||
{
|
||||
var dr = ta.GetBySID(PUB.MCCode, lvValue).FirstOrDefault();
|
||||
if (dr != null) //자료가잇는 경우에만 적용
|
||||
@@ -603,8 +603,8 @@ namespace Project.Dialog
|
||||
}
|
||||
|
||||
//sid 가 변경되었으나 해당 sid 인쇄위치 및 customer / part no 값을 확인 합니다.
|
||||
var taSID = new DataSet1TableAdapters.Component_Reel_SID_InformationTableAdapter();
|
||||
var taPRN = new DataSet1TableAdapters.Component_Reel_Print_InformationTableAdapter();
|
||||
var taSID = new DataSet1TableAdapters.K4EE_Component_Reel_SID_InformationTableAdapter();
|
||||
var taPRN = new DataSet1TableAdapters.K4EE_Component_Reel_Print_InformationTableAdapter();
|
||||
|
||||
try
|
||||
{
|
||||
@@ -692,9 +692,9 @@ namespace Project.Dialog
|
||||
new SqlParameter("sd", sd),
|
||||
};
|
||||
|
||||
DataSet1.Component_Reel_ResultRow preData = null;
|
||||
DataSet1.K4EE_Component_Reel_ResultRow preData = null;
|
||||
var preDatas = DBHelper.Get(sql, ps);
|
||||
if (preDatas.Rows.Count > 0) preData = preDatas.Rows[0] as DataSet1.Component_Reel_ResultRow;
|
||||
if (preDatas.Rows.Count > 0) preData = preDatas.Rows[0] as DataSet1.K4EE_Component_Reel_ResultRow;
|
||||
|
||||
//var preData = db2.Component_Reel_Result.AsNoTracking().Where(t =>
|
||||
//t.JTYPE == PUB.Result.JobType2 &&
|
||||
@@ -1083,7 +1083,7 @@ namespace Project.Dialog
|
||||
return;
|
||||
}
|
||||
var sid = tbSID.Text.Trim();
|
||||
using (var db = new DataSet1TableAdapters.Component_Reel_SID_InformationTableAdapter())
|
||||
using (var db = new DataSet1TableAdapters.K4EE_Component_Reel_SID_InformationTableAdapter())
|
||||
{
|
||||
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
|
||||
if (dr == null)
|
||||
@@ -1114,20 +1114,8 @@ namespace Project.Dialog
|
||||
|
||||
private void btCustAutoInput_Click(object sender, EventArgs e)
|
||||
{
|
||||
using (var db = new DataSet1TableAdapters.Component_Reel_SID_InformationTableAdapter())
|
||||
using (var db = new DataSet1TableAdapters.K4EE_Component_Reel_SID_InformationTableAdapter())
|
||||
{
|
||||
////서플라이코드가 있다면 그 코드값으로 가져온다
|
||||
//var custCode = TbCustCode.Text.Trim();
|
||||
//if (custCode.isEmpty() == false)
|
||||
//{
|
||||
// var drCustCode = db.Component_Reel_SIDConv.Where(t => t.cust == custCode).FirstOrDefault();
|
||||
// if (drCustCode != null && drCustCode.manu.isEmpty() == false)
|
||||
// {
|
||||
// Pub.log.Add(string.Format("서플라이네임을 가져옴 값={0},코드={1}", drCustCode.manu, custCode));
|
||||
// tbVName.Text = drCustCode.manu;
|
||||
// return;
|
||||
// }
|
||||
//}
|
||||
|
||||
var sid = tbSID.Text.Trim();
|
||||
if (sid.isEmpty())
|
||||
@@ -1153,7 +1141,7 @@ namespace Project.Dialog
|
||||
var vlot = this.tbVLOT.Text.Trim();
|
||||
if (vlot.isEmpty() == false)
|
||||
{
|
||||
using (var taResult = new DataSet1TableAdapters.Component_Reel_ResultTableAdapter())
|
||||
using (var taResult = new DataSet1TableAdapters.K4EE_Component_Reel_ResultTableAdapter())
|
||||
{
|
||||
var dr2 = taResult.GetByLastVLotOne(AR.SETTING.Data.McName, vlot).FirstOrDefault();
|
||||
if (dr2 != null)
|
||||
@@ -1188,7 +1176,7 @@ namespace Project.Dialog
|
||||
}
|
||||
|
||||
//각 상황에 따라 다르다.
|
||||
using (var db = new DataSet1TableAdapters.Component_Reel_SID_InformationTableAdapter())
|
||||
using (var db = new DataSet1TableAdapters.K4EE_Component_Reel_SID_InformationTableAdapter())
|
||||
{
|
||||
var amksid = string.Empty;
|
||||
var dtSIDInfo = db.GetData(PUB.MCCode);
|
||||
@@ -2070,7 +2058,7 @@ namespace Project.Dialog
|
||||
var dlg = UTIL.MsgQ("SID 에서 인쇄 위치를 검색 할까요?");
|
||||
if (dlg != DialogResult.Yes) return;
|
||||
|
||||
using (var db = new DataSet1TableAdapters.Component_Reel_Print_InformationTableAdapter())
|
||||
using (var db = new DataSet1TableAdapters.K4EE_Component_Reel_Print_InformationTableAdapter())
|
||||
{
|
||||
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
|
||||
if (dr == null || dr.PrintPosition.isEmpty())
|
||||
@@ -2087,7 +2075,7 @@ namespace Project.Dialog
|
||||
private void button1_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
//데이터베이스 결과에서 자료를 추가한다.
|
||||
var result = new DataSet1.Component_Reel_ResultDataTable();// new List<Component_Reel_Result>();
|
||||
var result = new DataSet1.K4EE_Component_Reel_ResultDataTable();// new List<Component_Reel_Result>();
|
||||
|
||||
var tabName = "K4EE_Component_Reel_Result with (no lock)";
|
||||
|
||||
@@ -2199,7 +2187,7 @@ namespace Project.Dialog
|
||||
{
|
||||
var sid = this.tbSID.Text.Trim();
|
||||
if (sid.isEmpty()) return;
|
||||
using (var db = new DataSet1TableAdapters.Component_Reel_Print_InformationTableAdapter())
|
||||
using (var db = new DataSet1TableAdapters.K4EE_Component_Reel_Print_InformationTableAdapter())
|
||||
{
|
||||
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
|
||||
if (dr == null || dr.PrintPosition.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user