프로젝트 구조 개선 및 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:
@@ -1,4 +1,5 @@
|
||||
using AR;
|
||||
using Project.Dialog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
@@ -621,6 +622,12 @@ namespace Project
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as DataSet1.OPModelRow;
|
||||
|
||||
if (dr.IsbOwnZPLNull())
|
||||
{
|
||||
dr.bOwnZPL = false;
|
||||
dr.EndEdit();
|
||||
}
|
||||
|
||||
//this.tabControl1.Visible = !dr.Title.StartsWith("101");
|
||||
//this.panel6.Visible = !dr.Title.StartsWith("101");
|
||||
// this.panel7.Visible = !dr.Title.StartsWith("101");
|
||||
@@ -752,6 +759,33 @@ namespace Project
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as DataSet1.OPModelRow;
|
||||
|
||||
if (chkOwnZPL.Checked == false)
|
||||
{
|
||||
UTIL.MsgE("개별프린트코드가 해제되어있으므로 실제 적용되지 않습니다");
|
||||
}
|
||||
|
||||
var idx = dr.idx;
|
||||
var fn = UTIL.MakePath("Model", idx.ToString(), "zpl.txt");
|
||||
var fnBase = UTIL.MakePath("zpl.txt");
|
||||
if (System.IO.File.Exists(fnBase) && System.IO.File.Exists(fn) == false)
|
||||
{
|
||||
UTIL.MsgI("전용 출력파일(ZPL.TXT)이 존재하지 않아 기본에서 복사합니다");
|
||||
var fi = new System.IO.FileInfo(fn);
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
System.IO.File.Copy(fnBase, fn, true);
|
||||
}
|
||||
using (var f = new fZPLEditor(fn))
|
||||
{
|
||||
f.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user