영문화완료
This commit is contained in:
@@ -158,7 +158,7 @@ namespace Project.Device
|
||||
var bitmaperrcnt = AR.VAR.I32[eVarInt32.BitmapCompatErr];
|
||||
if (IsCompatible(source, target) == false)
|
||||
{
|
||||
PUB.log.AddE($"키엔스비트맵호환오류 원본:{source.Width}x{source.Height} => 대상:{target.Width}x{target.Height}");
|
||||
PUB.log.AddE($"Keyence bitmap compatibility error Source:{source.Width}x{source.Height} => Target:{target.Width}x{target.Height}");
|
||||
|
||||
if (bitmaperrcnt > 5)
|
||||
{
|
||||
@@ -434,7 +434,7 @@ namespace Project.Device
|
||||
bool retval = false;
|
||||
if (readimage)
|
||||
{
|
||||
PUB.log.AddAT("키엔스 이미지를 받고 잇어 명령을 처리하지 않음");
|
||||
PUB.log.AddAT("Keyence is receiving image, command not processed");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -18,15 +18,15 @@ namespace Project.Device
|
||||
var fi = new System.IO.FileInfo(ZPLFileName);
|
||||
if (fi.Exists == false || fi.Length == 0)
|
||||
{
|
||||
PUB.log.AddE($"{ZPLFileName} 이 존재하지않거나 데이터가 없습니다 zpl.txt 기본으로 변경합니다");
|
||||
PUB.log.AddE($"{ZPLFileName} does not exist or has no data. Changed to default zpl.txt");
|
||||
fi = new System.IO.FileInfo("zpl.txt");
|
||||
if (fi.Exists == false) PUB.log.AddE("인쇄기본파일(zpl.txt)가 존재하지 않습니다");
|
||||
if (fi.Exists == false) PUB.log.AddE("Print template file (zpl.txt) does not exist");
|
||||
}
|
||||
if (fi.Exists && fi.Length > 1)
|
||||
return System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
|
||||
else
|
||||
{
|
||||
PUB.log.AddAT("ZPL파일이 없어 설정의 ZPL코드를 사용합니다");
|
||||
PUB.log.AddAT("No ZPL file found, using ZPL code from settings");
|
||||
return Properties.Settings.Default.ZPL7;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,15 +27,15 @@ namespace Project.Device
|
||||
var fi = new System.IO.FileInfo(ZPLFileName);
|
||||
if (fi.Exists == false || fi.Length == 0)
|
||||
{
|
||||
PUB.log.AddE($"{ZPLFileName} 이 존재하지않거나 데이터가 없습니다 zpl.txt 기본으로 변경합니다");
|
||||
PUB.log.AddE($"{ZPLFileName} does not exist or has no data. Changed to default zpl.txt");
|
||||
fi = new System.IO.FileInfo("zpl.txt");
|
||||
if (fi.Exists == false) PUB.log.AddE("인쇄기본파일(zpl.txt)가 존재하지 않습니다");
|
||||
if (fi.Exists == false) PUB.log.AddE("Print template file (zpl.txt) does not exist");
|
||||
}
|
||||
if (fi.Exists && fi.Length > 1)
|
||||
return System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
|
||||
else
|
||||
{
|
||||
PUB.log.AddAT("ZPL파일이 없어 설정의 ZPL코드를 사용합니다");
|
||||
PUB.log.AddAT("No ZPL file found, using ZPL code from settings");
|
||||
return Properties.Settings.Default.ZPL7;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ namespace Project
|
||||
if (PUB.wsL == null || PUB.wsL.Connected == false)
|
||||
{
|
||||
if (AR.SETTING.Data.Log_CameraConn)
|
||||
PUB.log.Add($"카메라(L) 접속 시도({AR.SETTING.Data.HostIPL}:{AR.SETTING.Data.HostPortL})");
|
||||
PUB.log.Add($"Camera(L) connection attempt ({AR.SETTING.Data.HostIPL}:{AR.SETTING.Data.HostPortL})");
|
||||
if (PUB.wsL != null)
|
||||
{
|
||||
DetachCameraEventL(); //이벤트 종료
|
||||
@@ -142,7 +142,7 @@ namespace Project
|
||||
if (PUB.wsR == null || PUB.wsR.Connected == false)
|
||||
{
|
||||
if (AR.SETTING.Data.Log_CameraConn)
|
||||
PUB.log.Add($"카메라(R) 접속 시도({AR.SETTING.Data.HostIPR}:{AR.SETTING.Data.HostPortR})");
|
||||
PUB.log.Add($"Camera(R) connection attempt ({AR.SETTING.Data.HostIPR}:{AR.SETTING.Data.HostPortR})");
|
||||
if (PUB.wsR != null)
|
||||
{
|
||||
DetachCameraEventR(); //이벤트 종료
|
||||
|
||||
Reference in New Issue
Block a user