프로젝트 구조 개선 및 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 arCtl;
|
||||
using AR;
|
||||
using arCtl;
|
||||
using SATOPrinterAPI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -17,16 +18,27 @@ namespace Project.Device
|
||||
public string qrData = string.Empty;
|
||||
public string PortName { get; set; }
|
||||
public int BaudRate { get; set; }
|
||||
|
||||
public string ZPLFileName { get; set; } = "zpl.txt";
|
||||
public string baseZPL
|
||||
{
|
||||
get
|
||||
{
|
||||
var fi = new System.IO.FileInfo(AR.SETTING.Data.baseZPLFile);
|
||||
if (fi.Exists)
|
||||
var fi = new System.IO.FileInfo(ZPLFileName);
|
||||
if (fi.Exists == false || fi.Length == 0)
|
||||
{
|
||||
return System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
|
||||
PUB.log.AddE($"{ZPLFileName} 이 존재하지않거나 데이터가 없습니다 zpl.txt 기본으로 변경합니다");
|
||||
fi = new System.IO.FileInfo("zpl.txt");
|
||||
if (fi.Exists == false) PUB.log.AddE("인쇄기본파일(zpl.txt)가 존재하지 않습니다");
|
||||
}
|
||||
else return Properties.Settings.Default.ZPL7;
|
||||
if (fi.Exists && fi.Length > 1)
|
||||
return System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
|
||||
else
|
||||
{
|
||||
PUB.log.AddAT("ZPL파일이 없어 설정의 ZPL코드를 사용합니다");
|
||||
return Properties.Settings.Default.ZPL7;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user