프로젝트 구조 개선 및 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>
28
Handler/Sub/UIControl/CIcon.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public class CIcon
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public string Tag { get; set; }
|
||||
public RectangleF Rect { get; set; }
|
||||
public Boolean Focus { get; set; }
|
||||
public Boolean Select { get; set; }
|
||||
public CIcon() : this(string.Empty, RectangleF.Empty) { }
|
||||
public CIcon(string tag,RectangleF rect)
|
||||
{
|
||||
Text = string.Empty;
|
||||
Tag = tag;
|
||||
Rect = rect;
|
||||
}
|
||||
public float X { get { return Rect.X; } }
|
||||
public float Y { get { return Rect.Y; } }
|
||||
public float W { get { return Rect.Width; } }
|
||||
public float H { get { return Rect.Height; } }
|
||||
}
|
||||
}
|
||||
158
Handler/Sub/UIControl/CItem.cs
Normal file
@@ -0,0 +1,158 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Drawing;
|
||||
namespace UIControl
|
||||
{
|
||||
[Serializable]
|
||||
public class CItem
|
||||
{
|
||||
public Boolean Delete { get; set; }
|
||||
/// <summary>
|
||||
/// 어떠한 포트에서 픽업 되었는지
|
||||
/// </summary>
|
||||
public int iPort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 출력 포트
|
||||
/// </summary>
|
||||
public int oPort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 배출여부
|
||||
/// </summary>
|
||||
public int ErrorOut { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 크기는 어떠한지(7 or 13)
|
||||
/// </summary>
|
||||
public string Size { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 존번호 0~10
|
||||
/// </summary>
|
||||
public int index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 피커에의해서 드랍된 시간
|
||||
/// </summary>
|
||||
public DateTime DropTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 차수별 일련번호
|
||||
/// </summary>
|
||||
public UInt16 Seq { get; set; }
|
||||
|
||||
public DateTime BarcodeStart { get; set; }
|
||||
public DateTime BarcodeEnd { get; set; }
|
||||
|
||||
public DateTime PlcStartTime { get; set; }
|
||||
public DateTime PlcEndTime { get; set; }
|
||||
|
||||
public DateTime ZoneIntime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 컨베이어에 들어온 시간
|
||||
/// 피커에서 드랍되면 dropTime 과 동일하며, 외부에서 들어오면 센서가 최초 감지한 시간이 된다
|
||||
/// </summary>
|
||||
public DateTime InTime { get; set; }
|
||||
public DateTime OutTime { get; set; }
|
||||
public Rectangle Rect { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// jobhistory에 연결되는 데이터 키
|
||||
/// </summary>
|
||||
public string JGUID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 바코드 데이터와 연결되는 키값
|
||||
/// </summary>
|
||||
public string Tag { get; set; }
|
||||
public string RID { get; set; }
|
||||
public string SID { get; set; }
|
||||
public string BarcodeRaw { get; set; }
|
||||
public string BarcodeMsg { get; set; }
|
||||
public Boolean Processing { get; set; }
|
||||
public string GUID { get; private set; }
|
||||
public int Qty { get; set; }
|
||||
public List<string> UnloaderMsg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 바코드의 완료여부, timeout 혻은 설정 되었을때 적용
|
||||
/// </summary>
|
||||
public Boolean BarcodeDone { get; set; }
|
||||
|
||||
public Boolean hasBarcode
|
||||
{
|
||||
get
|
||||
{
|
||||
return !string.IsNullOrEmpty(RID);
|
||||
}
|
||||
}
|
||||
|
||||
public void AddMessage(string msg)
|
||||
{
|
||||
if (this.UnloaderMsg.Contains(msg) == false)
|
||||
UnloaderMsg.Add(msg);
|
||||
}
|
||||
|
||||
public CItem()
|
||||
{
|
||||
Qty = 0;
|
||||
UnloaderMsg = new List<string>();
|
||||
ErrorOut = 0;
|
||||
this.GUID = Guid.NewGuid().ToString();
|
||||
Tag = string.Empty;
|
||||
JGUID = string.Empty;
|
||||
Seq = 0;
|
||||
SID = string.Empty;
|
||||
BarcodeRaw = string.Empty;
|
||||
BarcodeMsg = string.Empty;
|
||||
RID = string.Empty;
|
||||
Rect = Rectangle.Empty;
|
||||
Delete = false;
|
||||
Processing = false;
|
||||
DropTime = DateTime.Parse("1982-11-23");
|
||||
BarcodeStart = DateTime.Parse("1982-11-23");
|
||||
BarcodeEnd = DateTime.Parse("1982-11-23");
|
||||
PlcStartTime = DateTime.Parse("1982-11-23");
|
||||
PlcEndTime = DateTime.Parse("1982-11-23");
|
||||
InTime = DateTime.Parse("1982-11-23");
|
||||
OutTime = DateTime.Parse("1982-11-23");
|
||||
ZoneIntime = DateTime.Parse("1982-11-23");
|
||||
|
||||
index = -1;
|
||||
oPort = -1;
|
||||
iPort = -1;
|
||||
Size = string.Empty;
|
||||
}
|
||||
public CItem Clone()
|
||||
{
|
||||
var item = new CItem();
|
||||
item.Qty = Qty;
|
||||
item.Seq = Seq;//0;
|
||||
item.SID =SID;// string.Empty;
|
||||
item.BarcodeRaw = BarcodeRaw;//string.Empty;
|
||||
item.BarcodeMsg = BarcodeMsg;//string.Empty;
|
||||
item.RID = RID;//string.Empty;
|
||||
item.Rect = Rect;//Rectangle.Empty;
|
||||
item.Delete = Delete;//DropTime;//;
|
||||
|
||||
item.DropTime =DropTime;// DateTime.Parse("1982-11-23");
|
||||
item.BarcodeStart =BarcodeStart;// DateTime.Parse("1982-11-23");
|
||||
item.BarcodeEnd = BarcodeEnd;//DropTime;//.Parse("1982-11-23");
|
||||
item.PlcStartTime = PlcStartTime;//DateTime.Parse("1982-11-23");
|
||||
item.PlcEndTime =PlcEndTime;// DateTime.Parse("1982-11-23");
|
||||
item.InTime = InTime;//DropTime;//.Parse("1982-11-23");
|
||||
item.OutTime = OutTime;//DateTime.Parse("1982-11-23");
|
||||
item.ZoneIntime = ZoneIntime;//DateTime.Parse("1982-11-23");
|
||||
item.index = index;
|
||||
item.oPort = oPort;
|
||||
item.iPort = iPort;
|
||||
item.Size = Size;
|
||||
return item;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
84
Handler/Sub/UIControl/CMenu.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
|
||||
|
||||
[Serializable]
|
||||
public class CMenuButton
|
||||
{
|
||||
public eButtonType Shape { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string Tag { get; set; }
|
||||
public Rectangle Rect { get; set; }
|
||||
public Color BackColor { get; set; }
|
||||
public Color ForeColor { get; set; }
|
||||
public Color OverColor { get; set; }
|
||||
public Color BorderColor { get; set; }
|
||||
public byte BorderSize { get; set; }
|
||||
public Font Font { get; set; }
|
||||
public CMenuButton() : this(string.Empty, string.Empty) { }
|
||||
public CMenuButton(string text, string tag)
|
||||
{
|
||||
Font = null;
|
||||
BorderColor = Color.Black;
|
||||
BorderSize = 5;
|
||||
Shape = eButtonType.Rectangle;
|
||||
this.Text = text;
|
||||
this.Tag = tag;
|
||||
BackColor = Color.White;
|
||||
OverColor = Color.Gold;
|
||||
ForeColor = Color.Black;
|
||||
text = "Button";
|
||||
}
|
||||
public string menutag { get; set; }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class CMenu
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Text { get; set; }
|
||||
public string Tag { get; set; }
|
||||
public RectangleF Rect { get; set; }
|
||||
public Boolean Focus { get; set; }
|
||||
public Boolean Select { get; set; }
|
||||
public eMsgIcon Icon { get; set; }
|
||||
public CMenuButton[] buttons { get; set; }
|
||||
public Font Font { get; set; }
|
||||
public Color BackColor { get; set; }
|
||||
public Color ForeColor { get; set; }
|
||||
public Color BorderColor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 반드시 사용자의 허가를 받아야 넘어갈 수 있는 메뉴
|
||||
/// </summary>
|
||||
public Boolean RequireInput { get; set; }
|
||||
|
||||
public CMenu() : this("Contents", "Title", "tag", eMsgIcon.Info, null) { }
|
||||
|
||||
public CMenu(string text_, string title_, string tag_, eMsgIcon icon_, params CMenuButton[] buttons_)
|
||||
{
|
||||
this.Tag = tag_;
|
||||
this.Title = title_;
|
||||
this.Text = text_;
|
||||
this.Icon = icon_;
|
||||
this.buttons = buttons_;
|
||||
this.Font = new Font("맑은 고딕", 15, FontStyle.Bold);
|
||||
BackColor = Color.White;
|
||||
ForeColor = Color.Black;
|
||||
BorderColor = Color.Orange;
|
||||
RequireInput = false;
|
||||
|
||||
}
|
||||
public float X { get { return Rect.X; } }
|
||||
public float Y { get { return Rect.Y; } }
|
||||
public float W { get { return Rect.Width; } }
|
||||
public float H { get { return Rect.Height; } }
|
||||
}
|
||||
}
|
||||
90
Handler/Sub/UIControl/CPicker.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public class CPicker
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 언로드포트 위치(L/R)
|
||||
/// </summary>
|
||||
public string PortPos { get; set; }
|
||||
/// <summary>
|
||||
/// 프린트 위치(H/L)
|
||||
/// </summary>
|
||||
public string PrintPos { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 릴이 있는 경우 해당 릴이 어느 포트에서 왔는지의 번호
|
||||
/// </summary>
|
||||
public short PortIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 현재 작업이 프론트 포트의 작업인가? (portindex 값을 가지고 판단함)
|
||||
/// </summary>
|
||||
public Boolean isFrontJob
|
||||
{
|
||||
get
|
||||
{
|
||||
if (PortIndex <= 1) return true;
|
||||
else return false;
|
||||
}
|
||||
}
|
||||
|
||||
public Boolean Overload { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// VAC센서의 값을 가지고 있음, 현재 릴이 감지되었는가?
|
||||
/// </summary>
|
||||
public Boolean isReelDetect
|
||||
{
|
||||
get
|
||||
{
|
||||
return VacOutput.Where(t => t == true).Count() > 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// PICK후 60mm위치에서 미리 확인한 감지 상태값
|
||||
/// 이값을 가지고 도중에 떨궜을 상황을 감지한다
|
||||
/// </summary>
|
||||
public Boolean PreCheckItemOn { get; set; }
|
||||
public Boolean HasRealItemOn { get; set; }
|
||||
public Boolean ItemOn { get; set; }
|
||||
//public Boolean[] VacDetect { get; set; }
|
||||
public Boolean[] VacOutput { get; set; }
|
||||
public CPicker()
|
||||
{
|
||||
this.Overload = false;
|
||||
PortPos = "7";
|
||||
PortIndex = -1;
|
||||
HasRealItemOn = false;
|
||||
PreCheckItemOn = false;
|
||||
}
|
||||
public void Clear()
|
||||
{
|
||||
this.Overload = false;
|
||||
ItemOn = false;
|
||||
PortPos = "--";
|
||||
PortIndex = -1;
|
||||
//if(VacDetect != null && VacDetect.Length > 0)
|
||||
//{
|
||||
// for (int i = 0; i < VacDetect.Length; i++)
|
||||
// VacDetect[i] = false;
|
||||
//}
|
||||
if (VacOutput != null && VacOutput.Length > 0)
|
||||
{
|
||||
for (int i = 0; i < VacOutput.Length; i++)
|
||||
VacOutput[i] = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
482
Handler/Sub/UIControl/CPort.cs
Normal file
@@ -0,0 +1,482 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public class CPort
|
||||
{
|
||||
public Boolean SaftyErr { get; set; }
|
||||
//public Boolean Safty2Err { get; set; }
|
||||
// public Boolean SaftyErr { get { return Safty1Err || Safty2Err; } }
|
||||
public Boolean MotorRun { get; set; }
|
||||
public Boolean MotorDir { get; set; }
|
||||
public int arrowIndex { get; set; }
|
||||
public Boolean LimitUpper { get; set; }
|
||||
public Boolean LimitLower { get; set; }
|
||||
public Boolean OverLoad
|
||||
{
|
||||
get
|
||||
{
|
||||
return LimitLower && DetectUp;
|
||||
}
|
||||
}
|
||||
public byte AlignOK { get; set; }
|
||||
public void AlignReset() { AlignOK = 0; errorCount = 0; }
|
||||
public Boolean Ready { get; set; }
|
||||
|
||||
public Boolean DetectUp { get; set; } //상단에 있는 자재 감지 센서
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 7인치 13인치의 크기 정보를 표시한다
|
||||
/// </summary>
|
||||
public string title { get; set; }
|
||||
public int reelNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 차수별 릴 작업 수량이 표시됨
|
||||
/// </summary>
|
||||
public int reelCount { get; set; }
|
||||
|
||||
public int errorCount { get; set; }
|
||||
public int CartSize { get; set; }
|
||||
|
||||
|
||||
|
||||
public System.Drawing.Color bgColor { get; set; }
|
||||
private Boolean _enable = false;
|
||||
|
||||
public Color fgColor { get; set; }
|
||||
public Color fgColorCount { get; set; }
|
||||
|
||||
public Rectangle rect_title { get; set; }
|
||||
public RectangleF Rect { get; set; }
|
||||
public Rectangle rect_count { get; set; }
|
||||
public int AnimationStepPort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 0:notcart , 1:ready, 2:full
|
||||
/// </summary>
|
||||
public ushort State { get; set; }
|
||||
|
||||
public Boolean Enable
|
||||
{
|
||||
get { return _enable; }
|
||||
set
|
||||
{
|
||||
_enable = value;
|
||||
this.bgColor = value ? Color.Lime : Color.FromArgb(43, 43, 43);
|
||||
this.fgColor = value ? Color.White : Color.DimGray;
|
||||
}
|
||||
}
|
||||
|
||||
public CPort()
|
||||
{
|
||||
CartSize = 0;
|
||||
Ready = false;
|
||||
Enable = false;
|
||||
rect_title = Rectangle.Empty;
|
||||
rect_count = Rectangle.Empty;
|
||||
Rect = RectangleF.Empty;
|
||||
reelNo = -1;
|
||||
arrowIndex = 2;
|
||||
reelCount = 0;
|
||||
fgColor = Color.Black;
|
||||
Clear();
|
||||
AlignOK = 0;
|
||||
AnimationStepPort = 9;
|
||||
//Items.Clear();
|
||||
}
|
||||
//public void ClearItem()
|
||||
//{
|
||||
// Items.Clear();
|
||||
//}
|
||||
public void Clear()
|
||||
{
|
||||
CartSize = 0;
|
||||
Enable = true;
|
||||
SaftyErr = false;
|
||||
MotorRun = false;
|
||||
MotorDir = false;
|
||||
LimitUpper = false;
|
||||
LimitLower = false;
|
||||
reelNo = 0;
|
||||
reelCount = 0;
|
||||
DetectUp = false;
|
||||
}
|
||||
|
||||
public void Display(Graphics g, Font fCnt, Font fMsg, Boolean Magneton, Boolean VisionRdy, Boolean VisionEnd, Boolean ItemOn, Boolean VisionLock, int VisionCnt)
|
||||
{
|
||||
if (Enable == false)
|
||||
{
|
||||
g.DrawLine(Pens.DimGray, Rect.Left, Rect.Top, Rect.Right, Rect.Bottom);
|
||||
g.DrawLine(Pens.DimGray, Rect.Right, Rect.Top, Rect.Left, Rect.Bottom);
|
||||
}
|
||||
|
||||
//모터사용시 화살표
|
||||
eDirection DirL = MotorDir == false ? eDirection.TopToBottom : eDirection.BottomToTop;
|
||||
if (MotorRun) UIControl.Common.Draw_Arrow(g, Rect, DirL, arrowIndex, AnimationStepPort, Color.Gold, fMsg);
|
||||
|
||||
//글자표시 (크기 및 작업 수량)
|
||||
var sf = new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
};
|
||||
|
||||
|
||||
//리밋영역표시(상/하)
|
||||
var limitSizeH = (int)(Rect.Height * 0.2);
|
||||
|
||||
|
||||
if (OverLoad == true)//과적
|
||||
{
|
||||
g.FillRectangle(Brushes.Red, Rect);
|
||||
g.DrawString("OVER\nLOAD", fMsg, new SolidBrush(fgColor), Rect, sf);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (errorCount > 5)
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(250, Color.Gold)), Rect);
|
||||
}
|
||||
else
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(150, Color.Black)), Rect);
|
||||
}
|
||||
|
||||
|
||||
if (errorCount > 0)
|
||||
{
|
||||
if (errorCount > 05)
|
||||
{
|
||||
g.DrawString(reelCount.ToString() + "\n(ERROR)", fCnt, new SolidBrush(Color.Red), Rect, sf);
|
||||
}
|
||||
else g.DrawString(reelCount.ToString() + "\nE:" + errorCount.ToString(), fCnt, new SolidBrush(Color.Red), Rect, sf);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
g.DrawString(reelCount.ToString(), fCnt, new SolidBrush(fgColor), Rect, sf);
|
||||
}
|
||||
}
|
||||
|
||||
//마그넷상태표시
|
||||
var magheight = 30;
|
||||
var magrect = new RectangleF(this.Rect.Left, this.Rect.Bottom - magheight, this.Rect.Width, magheight);
|
||||
if (Magneton)
|
||||
{
|
||||
g.DrawString("LOCK(" + CartSize.ToString() + ")", new Font("Consolas", 10, FontStyle.Bold), Brushes.Gold, magrect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
}
|
||||
else
|
||||
{
|
||||
g.FillRectangle(Brushes.DimGray, magrect);
|
||||
g.DrawString("UNLOCK(" + CartSize.ToString() + ")", new Font("Consolas", 10, FontStyle.Bold), Brushes.Black, magrect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
}
|
||||
|
||||
//아이템을 가지고 있다면 처리해준다.
|
||||
if (ItemOn)
|
||||
{
|
||||
magrect = new RectangleF(this.Rect.Left, this.Rect.Top, this.Rect.Width, magheight);
|
||||
g.FillRectangle(Brushes.Gold, magrect);
|
||||
g.DrawString("ITEM-ON", new Font("Consolas", 12, FontStyle.Bold), Brushes.Black, magrect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
}
|
||||
|
||||
|
||||
|
||||
//데두리표시 ( 비활성 회색, 활성 감지 : 라임, 미감지 흰색)
|
||||
Color borderL = Enable ? (LimitUpper ? Color.Red : (LimitLower ? Color.Blue : (DetectUp ? Color.Lime : Color.White))) : Color.DimGray;
|
||||
if (OverLoad) borderL = Color.White;
|
||||
int bordersize = 7;//ortL.enable ? 7 : 1;
|
||||
|
||||
//비젼영역추가 201228
|
||||
using (Font f = new Font("Consolas", 8, FontStyle.Bold))
|
||||
{
|
||||
var vrect = new RectangleF(Rect.Right, Rect.Top, 20, Rect.Height);
|
||||
Color fcolor2 = Color.Gray;
|
||||
var drawstr = "VISON RDY";
|
||||
if (VisionEnd) { drawstr = "VISION END"; fcolor2 = Color.Lime; }
|
||||
else if (VisionRdy) { drawstr = "VISION RUN"; fcolor2 = Color.Gold; };
|
||||
drawstr += "(" + VisionCnt.ToString() + ")";
|
||||
if (VisionLock) g.DrawRect(vrect, Color.Blue, 7);
|
||||
else g.DrawRect(vrect, fcolor2, 7);
|
||||
g.DrawString(drawstr, f, new SolidBrush(fcolor2), vrect, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
FormatFlags = StringFormatFlags.DirectionVertical
|
||||
});
|
||||
|
||||
vrect = new RectangleF(Rect.Left - 20, Rect.Top, 20, Rect.Height);
|
||||
fcolor2 = Color.Gray;
|
||||
drawstr = "PORT RDY(" + this.AlignOK.ToString() + ")";
|
||||
if (Ready) fcolor2 = Color.Lime;
|
||||
g.DrawRect(vrect, fcolor2, 7);
|
||||
g.DrawString(drawstr, f, new SolidBrush(fcolor2), vrect, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
FormatFlags = StringFormatFlags.DirectionVertical
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
if (OverLoad == false)
|
||||
{
|
||||
var fontsize = 9;
|
||||
using (Font fnt = new Font("Consolas", fontsize, FontStyle.Bold))
|
||||
{
|
||||
//상단 리밋은 상단에
|
||||
if (LimitUpper)
|
||||
{
|
||||
var msgLU = "+ LIMIT";
|
||||
var fsize = g.MeasureString(msgLU, fnt);
|
||||
var msgW = fsize.Width * 1.5f;
|
||||
var msgH = fsize.Height * 1.5f;
|
||||
if (msgW > this.Rect.Width * 0.70f) msgW = this.Rect.Width * 0.7f;
|
||||
|
||||
var RectMsgL = new RectangleF(
|
||||
Rect.Left + (Rect.Width - msgW) / 2.0f,
|
||||
Rect.Top - msgH - bordersize / 2.0f + 1,
|
||||
msgW, msgH);
|
||||
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(250, Color.Red)), RectMsgL);
|
||||
// g.DrawRectangle(Pens.Black, RectMsgL);
|
||||
g.DrawString(msgLU, fnt, Color.White, RectMsgL);
|
||||
|
||||
}
|
||||
|
||||
//아이템 감지신호는 상단 아래쪽으로
|
||||
if (Ready)
|
||||
{
|
||||
//var msgLU = "READY";
|
||||
//var fsize = g.MeasureString(msgLU, fnt);
|
||||
//var msgW = fsize.Width * 1.5f;
|
||||
//var msgH = fsize.Height * 1.5f;
|
||||
//if (msgW > this.Rect.Width * 0.70f) msgW = this.Rect.Width * 0.7f;
|
||||
|
||||
//var RectMsgL = new RectangleF(
|
||||
//Rect.Left + (Rect.Width - msgW) / 2.0f,
|
||||
//Rect.Top + bordersize / 2.0f - 1,
|
||||
//msgW, msgH);
|
||||
|
||||
//g.FillRectangle(new SolidBrush(Color.FromArgb(250, Color.Lime)), RectMsgL);
|
||||
//// g.DrawRectangle(Pens.Black, RectMsgL);
|
||||
//g.DrawString(msgLU, fnt, Color.Black, RectMsgL);
|
||||
}
|
||||
|
||||
|
||||
//하단 리밋은 하단에표시
|
||||
if (LimitLower)
|
||||
{
|
||||
var msgLU = "- LIMIT";
|
||||
var fsize = g.MeasureString(msgLU, fnt);
|
||||
var msgW = fsize.Width * 1.5f;
|
||||
var msgH = fsize.Height * 1.5f;
|
||||
if (msgW > this.Rect.Width * 0.70f) msgW = this.Rect.Width * 0.7f;
|
||||
|
||||
var RectMsgL = new RectangleF(
|
||||
Rect.Left + (Rect.Width - msgW) / 2.0f,
|
||||
Rect.Top - msgH - bordersize / 2.0f + 1,
|
||||
msgW, msgH);
|
||||
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(250, Color.Blue)), RectMsgL);
|
||||
//g.DrawString(msgLU, fnt, Brushes.White, RectMsgL, sf);
|
||||
g.DrawString(msgLU, fnt, Color.White, RectMsgL);
|
||||
|
||||
}
|
||||
|
||||
|
||||
//아이템 감지
|
||||
if (DetectUp)
|
||||
{
|
||||
var msgLU = "DETECT";
|
||||
var fsize = g.MeasureString(msgLU, fnt);
|
||||
var msgW = fsize.Width * 1.5f;
|
||||
var msgH = fsize.Height * 1.5f;
|
||||
if (msgW > this.Rect.Width * 0.70f) msgW = this.Rect.Width * 0.7f;
|
||||
|
||||
var RectMsgL = new RectangleF(
|
||||
Rect.Left + (Rect.Width - msgW) / 2.0f,
|
||||
Rect.Bottom + 1,
|
||||
msgW, msgH);
|
||||
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(250, Color.Lime)), RectMsgL);
|
||||
//g.DrawRectangle(Pens.Black, RectMsgL);
|
||||
g.DrawString(msgLU, fnt, Color.Black, RectMsgL);
|
||||
|
||||
}
|
||||
|
||||
//안전 오류는 중앙에
|
||||
|
||||
if (SaftyErr)
|
||||
{
|
||||
var msgS = "SAFTY ERROR";
|
||||
var fsize = g.MeasureString(msgS, fMsg);
|
||||
var msgW = fsize.Width * 1.5f;
|
||||
var msgH = fsize.Height * 1.5f;
|
||||
if (msgW > this.Rect.Width * 0.80f) msgW = this.Rect.Width * 0.8f;
|
||||
|
||||
var RectMsgL = new RectangleF(
|
||||
Rect.Left + (Rect.Width - msgW) / 2.0f,
|
||||
Rect.Top + (Rect.Height - msgH) / 2.0f,
|
||||
msgW, msgH);
|
||||
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(240, Color.Khaki)), RectMsgL);
|
||||
g.DrawRectangle(Pens.Black, RectMsgL);
|
||||
g.DrawString(msgS, fMsg, Color.Maroon, RectMsgL);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//테두리가 리밋영역을 감추도록 그린다
|
||||
g.DrawRectangle(new Pen(borderL, bordersize), Rect.Left, Rect.Top, Rect.Width, Rect.Height);
|
||||
|
||||
|
||||
|
||||
|
||||
sf.Dispose();
|
||||
}
|
||||
|
||||
public void DisplayConv(Graphics g, Font fCnt, Font fMsg, Boolean Magneton, Boolean VisionRdy, Boolean VisionEnd, Boolean ItemOn, Boolean VisionLock, int VisionCnt, bool cvbusy, bool cvreadyoff)
|
||||
{
|
||||
if (Enable == false)
|
||||
{
|
||||
g.DrawLine(Pens.DimGray, Rect.Left, Rect.Top, Rect.Right, Rect.Bottom);
|
||||
g.DrawLine(Pens.DimGray, Rect.Right, Rect.Top, Rect.Left, Rect.Bottom);
|
||||
}
|
||||
|
||||
|
||||
//모터사용시 화살표
|
||||
eDirection DirL = MotorDir == false ? eDirection.TopToBottom : eDirection.BottomToTop;
|
||||
if (MotorRun) UIControl.Common.Draw_Arrow(g, Rect, DirL, arrowIndex, AnimationStepPort, Color.Gold, fMsg);
|
||||
|
||||
//글자표시 (크기 및 작업 수량)
|
||||
var sf = new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
};
|
||||
|
||||
|
||||
//리밋영역표시(상/하)
|
||||
var limitSizeH = (int)(Rect.Height * 0.2);
|
||||
|
||||
|
||||
if (errorCount > 5)
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(250, Color.Gold)), Rect);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (cvbusy)
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(150, Color.Tomato)), Rect);
|
||||
if (cvreadyoff)
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(150, Color.Red)), Rect);
|
||||
else
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(150, Color.Black)), Rect);
|
||||
}
|
||||
|
||||
if (reelCount != 0)
|
||||
{
|
||||
//버튼형태처럼 보이게한다.
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(100, Color.Gold)), Rect);
|
||||
g.DrawRectangle(new Pen(Color.WhiteSmoke, 5), Rect.Left, Rect.Top, Rect.Width, Rect.Height);
|
||||
}
|
||||
|
||||
if (errorCount > 0)
|
||||
{
|
||||
if (errorCount > 05)
|
||||
{
|
||||
g.DrawString(reelCount.ToString() + "\n(ERROR)", fCnt, new SolidBrush(Color.Red), Rect, sf);
|
||||
}
|
||||
else g.DrawString(reelCount.ToString() + "\nE:" + errorCount.ToString(), fCnt, new SolidBrush(Color.Red), Rect, sf);
|
||||
}
|
||||
else if (reelCount > 0)
|
||||
{
|
||||
|
||||
g.DrawString(reelCount.ToString(), fCnt, new SolidBrush(fgColor), Rect, sf);
|
||||
}
|
||||
|
||||
//마그넷상태표시
|
||||
var magheight = 30;
|
||||
var magrect = new RectangleF(this.Rect.Left, this.Rect.Bottom - magheight, this.Rect.Width, magheight);
|
||||
//if (Magneton)
|
||||
//{
|
||||
// g.DrawString("LOCK(" + CartSize.ToString() + ")", new Font("Consolas", 10, FontStyle.Bold), Brushes.Gold, magrect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// g.FillRectangle(Brushes.DimGray, magrect);
|
||||
// g.DrawString("UNLOCK(" + CartSize.ToString() + ")", new Font("Consolas", 10, FontStyle.Bold), Brushes.Black, magrect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
//}
|
||||
|
||||
//아이템을 가지고 있다면 처리해준다.
|
||||
if (ItemOn)
|
||||
{
|
||||
magrect = new RectangleF(this.Rect.Left, this.Rect.Top, this.Rect.Width, magheight);
|
||||
g.FillRectangle(Brushes.Gold, magrect);
|
||||
g.DrawString("ITEM-ON", new Font("Consolas", 12, FontStyle.Bold), Brushes.Black, magrect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
}
|
||||
|
||||
|
||||
|
||||
//데두리표시 ( 비활성 회색, 활성 감지 : 라임, 미감지 흰색)
|
||||
Color borderL = Enable ? Color.White : Color.DimGray;
|
||||
//if (OverLoad) borderL = Color.White;
|
||||
int bordersize = 7;//ortL.enable ? 7 : 1;
|
||||
|
||||
//비젼영역추가 201228
|
||||
using (Font f = new Font("Consolas", 8, FontStyle.Bold))
|
||||
{
|
||||
var vrect = new RectangleF(Rect.Right, Rect.Top, 20, Rect.Height);
|
||||
Color fcolor2 = Color.Gray;
|
||||
var drawstr = "VISON RDY";
|
||||
if (VisionEnd) { drawstr = "VISION END"; fcolor2 = Color.Lime; }
|
||||
else if (VisionRdy) { drawstr = "VISION RUN"; fcolor2 = Color.Gold; };
|
||||
drawstr += "(" + VisionCnt.ToString() + ")";
|
||||
if (VisionLock) g.DrawRect(vrect, Color.Blue, 7);
|
||||
else g.DrawRect(vrect, fcolor2, 7);
|
||||
g.DrawString(drawstr, f, new SolidBrush(fcolor2), vrect, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
FormatFlags = StringFormatFlags.DirectionVertical
|
||||
});
|
||||
|
||||
vrect = new RectangleF(Rect.Left - 20, Rect.Top, 20, Rect.Height);
|
||||
fcolor2 = Color.Gray;
|
||||
drawstr = "EXT RDY";
|
||||
if (cvreadyoff) fcolor2 = Color.Red;
|
||||
else if (Ready) fcolor2 = Color.Lime;
|
||||
g.DrawRect(vrect, fcolor2, 7);
|
||||
g.DrawString(drawstr, f, new SolidBrush(fcolor2), vrect, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
FormatFlags = StringFormatFlags.DirectionVertical
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
//테두리가 리밋영역을 감추도록 그린다
|
||||
if (reelCount == 0)
|
||||
{
|
||||
g.DrawRectangle(new Pen(borderL, bordersize), Rect.Left, Rect.Top, Rect.Width, Rect.Height);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
sf.Dispose();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
126
Handler/Sub/UIControl/Common.cs
Normal file
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public static class Common
|
||||
{
|
||||
public static void Draw_Arrow(Graphics g, RectangleF rect, eDirection dir, int arrowindex, int animstep, Color basecolor,Font f )
|
||||
{
|
||||
//컨베어 RUN 표시기 표시
|
||||
var paddingX = rect.Height * 0.15f; //상하단에 이만큼의 여백을 준다
|
||||
var paddingY = rect.Height * 0.15f;
|
||||
var sigHeight = rect.Height - (paddingX * 2.0f);
|
||||
var sigWidth = rect.Width / animstep;
|
||||
|
||||
if (dir == eDirection.BottomToTop || dir == eDirection.TopToBottom)
|
||||
{
|
||||
paddingX = rect.Width * 0.15f;
|
||||
paddingY = rect.Height / 10.0f;
|
||||
sigWidth = rect.Width - (paddingX * 2.0f);
|
||||
sigHeight = rect.Height / 4.5f;
|
||||
}
|
||||
List<PointF> pts = new List<PointF>();
|
||||
|
||||
//사각영역을 표시해준다.
|
||||
//if (dir == eDirection.LeftToRight || dir == eDirection.RightToLeft)
|
||||
//{
|
||||
// var rect2width = rect.Width / animstep;
|
||||
// for (int i = 0; i < animstep; i++)
|
||||
// {
|
||||
// var rect2 = new RectangleF(rect.X + i * rect2width, rect.Y, rect2width, rect.Height);
|
||||
// g.DrawRectangle(new Pen(Color.FromArgb(100, Color.Gray)), rect2.Left, rect2.Top, rect2.Width, rect2.Height);
|
||||
// g.DrawString(i.ToString(), this.Font, Brushes.White, rect2.Left, rect2.Top);
|
||||
// }
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// var rect2width = rect.Height / animstep;
|
||||
// for (int i = 0; i < animstep; i++)
|
||||
// {
|
||||
// var rect2 = new RectangleF(rect.X, rect.Y + i * rect2width, rect.Width, rect2width);
|
||||
// g.DrawRectangle(new Pen(Color.FromArgb(100, Color.Gray)), rect2.Left, rect2.Top, rect2.Width, rect2.Height);
|
||||
// g.DrawString(i.ToString(), this.Font, Brushes.White, rect2.Left, rect2.Top);
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
|
||||
var bX = rect.X + paddingX;
|
||||
var bY = rect.Y + paddingY;
|
||||
|
||||
if (dir == eDirection.LeftToRight)
|
||||
{
|
||||
var gridSize = rect.Width / animstep;
|
||||
pts.Add(new PointF(rect.X + paddingX + (arrowindex * sigWidth), rect.Y + paddingX));
|
||||
pts.Add(new PointF(rect.X + paddingX + (arrowindex * sigWidth) + sigWidth, rect.Y + paddingX));
|
||||
pts.Add(new PointF(rect.X + paddingX + (arrowindex * sigWidth) + sigWidth * 2.0f, rect.Y + paddingX + sigHeight / 2.0f));
|
||||
pts.Add(new PointF(rect.X + paddingX + (arrowindex * sigWidth) + sigWidth, rect.Y + paddingX + sigHeight));
|
||||
pts.Add(new PointF(rect.X + paddingX + (arrowindex * sigWidth), rect.Y + paddingX + sigHeight));
|
||||
pts.Add(new PointF(rect.X + paddingX + (arrowindex * sigWidth) + sigWidth, rect.Y + paddingX + sigHeight / 2.0f));
|
||||
}
|
||||
else if (dir == eDirection.RightToLeft)
|
||||
{
|
||||
var gridSize = rect.Width / animstep;
|
||||
paddingY = rect.Height * 0.1f; //상,하 여백을 10%크기로 한다
|
||||
sigHeight = rect.Height - paddingY * 2.0f;
|
||||
|
||||
bX = rect.X + ((animstep - 1) - arrowindex) * gridSize;
|
||||
bY = rect.Y + paddingY;
|
||||
|
||||
pts.Add(new PointF(bX, bY));
|
||||
pts.Add(new PointF(bX - gridSize, bY + sigHeight / 2.0f));
|
||||
pts.Add(new PointF(bX, bY + sigHeight));
|
||||
pts.Add(new PointF(bX + gridSize, bY + sigHeight));
|
||||
pts.Add(new PointF(bX, bY + sigHeight / 2.0f));
|
||||
pts.Add(new PointF(bX + gridSize, bY));
|
||||
}
|
||||
else if (dir == eDirection.TopToBottom)
|
||||
{
|
||||
var gridSize = rect.Height / animstep;
|
||||
paddingX = rect.Width * 0.2f; //상,하 여백을 10%크기로 한다
|
||||
sigWidth = rect.Width - paddingX * 2.0f;
|
||||
|
||||
bX = rect.X + paddingX;
|
||||
bY = rect.Y + (arrowindex + 1) * gridSize;
|
||||
|
||||
|
||||
pts.Add(new PointF(bX, bY));
|
||||
pts.Add(new PointF(bX + (sigWidth / 2.0f), bY + gridSize));
|
||||
pts.Add(new PointF(bX + sigWidth, bY));
|
||||
pts.Add(new PointF(bX + sigWidth, bY - gridSize));
|
||||
pts.Add(new PointF(bX + (sigWidth / 2.0f), bY));
|
||||
pts.Add(new PointF(bX, bY - gridSize));
|
||||
|
||||
}
|
||||
else if (dir == eDirection.BottomToTop)
|
||||
{
|
||||
var gridSize = rect.Height / animstep;
|
||||
paddingX = rect.Width * 0.2f; //상,하 여백을 10%크기로 한다
|
||||
sigWidth = rect.Width - paddingX * 2.0f;
|
||||
|
||||
bX = rect.X + paddingX;
|
||||
bY = rect.Y + ((animstep - 1) - arrowindex) * gridSize;
|
||||
|
||||
|
||||
pts.Add(new PointF(bX, bY));
|
||||
pts.Add(new PointF(bX + (sigWidth / 2.0f), bY - gridSize));
|
||||
pts.Add(new PointF(bX + sigWidth, bY));
|
||||
pts.Add(new PointF(bX + sigWidth, bY + gridSize));
|
||||
pts.Add(new PointF(bX + (sigWidth / 2.0f), bY));
|
||||
pts.Add(new PointF(bX, bY + gridSize));
|
||||
}
|
||||
if (pts.Count > 0)
|
||||
{
|
||||
g.FillPolygon(new SolidBrush(Color.FromArgb(10, basecolor)), pts.ToArray());
|
||||
g.DrawPolygon(new Pen(Color.FromArgb(100, basecolor)), pts.ToArray());
|
||||
}
|
||||
|
||||
//g.DrawString(arrowindex.ToString(), f, Brushes.Yellow, rect.Left, rect.Top - 20);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
46
Handler/Sub/UIControl/EnumStruct.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public enum eMsgIcon
|
||||
{
|
||||
None,
|
||||
Info,
|
||||
Alert,
|
||||
Error,
|
||||
Help
|
||||
}
|
||||
public enum eButtonType
|
||||
{
|
||||
Rectangle = 0,
|
||||
Circle,
|
||||
}
|
||||
public enum eDirection
|
||||
{
|
||||
LeftToRight,
|
||||
RightToLeft,
|
||||
BottomToTop,
|
||||
TopToBottom
|
||||
}
|
||||
public partial class HMI
|
||||
{
|
||||
enum eAxis : byte
|
||||
{
|
||||
Y_P = 0,
|
||||
Z_F,
|
||||
Z_R,
|
||||
X_F,
|
||||
X_R,
|
||||
}
|
||||
public enum eScean : byte
|
||||
{
|
||||
Nomal = 0,
|
||||
MotHome,
|
||||
|
||||
xmove,
|
||||
}
|
||||
}
|
||||
}
|
||||
25
Handler/Sub/UIControl/Events.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public partial class HMI
|
||||
{
|
||||
public class MessageArgs : EventArgs
|
||||
{
|
||||
public string Message { get; set; }
|
||||
public Boolean isError { get; set; }
|
||||
public MessageArgs(string m, Boolean err)
|
||||
{
|
||||
this.Message = m;
|
||||
this.isError = err;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public event EventHandler<MessageArgs> Message;
|
||||
|
||||
}
|
||||
}
|
||||
1682
Handler/Sub/UIControl/HMI.cs
Normal file
95
Handler/Sub/UIControl/Loader/Draw_PickerPrinter.cs
Normal file
@@ -0,0 +1,95 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public partial class HMI
|
||||
{
|
||||
void Draw_PickerPrinter(Graphics g, RectangleF rect,
|
||||
int motAxisY, int motAxisZ, bool reverse,
|
||||
Boolean LockY, Boolean LockZ, Boolean ItemOn, Boolean ItemPickOK,
|
||||
Boolean CylFW, Boolean CylBW)
|
||||
{
|
||||
//실제 로봇의 길이를 입력한다 (단위:mm)
|
||||
var RealLenY = 400;
|
||||
var RealLenZ = 250;
|
||||
|
||||
g.FillRectangle(Brushes.DimGray, rect);
|
||||
if (LockY) g.DrawRect(rect, Color.Blue, 5);
|
||||
else g.DrawRect(rect, Color.White);
|
||||
|
||||
var PXName = motAxisY == 2 ? arMotPosNameLM : arMotPosNameRM;
|
||||
g.DrawString(PXName, this.arFont_MotPosName, Brushes.Black, rect, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center, FormatFlags = StringFormatFlags.DirectionVertical });
|
||||
|
||||
var RPosY = this.arMotorPosition[motAxisY];
|
||||
var RPosZ = this.arMotorPosition[motAxisZ];
|
||||
//RPosY = 0;
|
||||
//RPosZ = 300;
|
||||
|
||||
//모터의 실제 위치에 뭉치를 그린다.
|
||||
|
||||
var PosY = (float)(rect.Top + (rect.Height - (rect.Height * RPosY / RealLenY)));
|
||||
|
||||
//Y뭉치를 그린다
|
||||
var rectYP = new RectangleF(rect.X - 1, PosY - (rect.Width / 2.0f), rect.Width + 2, rect.Width);
|
||||
g.FillRectangle(Brushes.Yellow, rectYP);
|
||||
g.DrawRect(rectYP, Color.Black, 2);
|
||||
//g.DrawLine(Pens.Red, rect.X - 30, PosY, rect.Right + 130, PosY);
|
||||
|
||||
|
||||
//Z축을 그린다.
|
||||
RectangleF rectZ = RectangleF.Empty;
|
||||
var zwidth = 60;
|
||||
if (reverse) rectZ = new RectangleF(rect.X - zwidth, PosY - 10, zwidth, 20);
|
||||
else rectZ = new RectangleF(rect.Right, PosY - 10, zwidth, 20);
|
||||
|
||||
float PosZ = 0f;
|
||||
if (reverse) PosZ = (float)(rectZ.Left + rectZ.Width - (rectZ.Width * RPosZ / RealLenZ));
|
||||
else PosZ = (float)(rectZ.Left + rectZ.Width * RPosZ / RealLenZ);
|
||||
|
||||
g.FillRectangle(Brushes.DimGray, rectZ);
|
||||
if (LockZ) g.DrawRect(rectZ, Color.Blue, 5);
|
||||
else g.DrawRect(rectZ, Color.White);
|
||||
|
||||
//z축 포지션 이름
|
||||
var ZposName = motAxisZ == 3 ? arMotPosNameLZ : arMotPosNameRZ;
|
||||
g.DrawString(ZposName, this.arFont_MotPosName, Brushes.Black, rectZ, new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
|
||||
//var CylStr = string.Format("FW:{0},BW:{1}", CylFW, CylBW);
|
||||
//if (CylFW == true && CylFW != CylBW) CylStr = "FW";
|
||||
//else if (CylBW == true && CylFW != CylBW) CylStr = "BW";
|
||||
//g.DrawString(CylStr, this.arFont_MotPosName, Brushes.Red, rectZ.Left, rectZ.Top - 20);
|
||||
|
||||
//Z뭉치를 그린다
|
||||
var rectZP = new RectangleF(PosZ - (rectZ.Height / 2.0f), rectZ.Y - 1, rectZ.Height, rectZ.Height + 2);
|
||||
if (ItemOn)
|
||||
{
|
||||
g.FillRectangle(Brushes.Lime, rectZP);
|
||||
g.DrawRect(rectZP, Color.Black, 2);
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
g.FillRectangle(Brushes.SkyBlue, rectZP);
|
||||
g.DrawRect(rectZP, Color.Black, 2);
|
||||
}
|
||||
using (Font f = new Font("Consolas", 10, FontStyle.Bold))
|
||||
g.DrawString((ItemPickOK ? "O" : "X"), f, Brushes.Black, rectZP, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center
|
||||
});
|
||||
|
||||
//g.DrawLine(Pens.Blue, PosZ, rectZ.Top - 30, PosZ, rectZ.Bottom + 100);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
237
Handler/Sub/UIControl/Loader/Draw_PickerY.cs
Normal file
@@ -0,0 +1,237 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public partial class HMI
|
||||
{
|
||||
void Draw_PickerY(Graphics g, RectangleF rect)
|
||||
{
|
||||
|
||||
//return;
|
||||
|
||||
//전체영역의 80% 영역에 Y-로봇의 축을 그린다.
|
||||
//var motorMax = 400; //전체 가동 길이 400mm
|
||||
var cx = rect_main.Left + rect_main.Width / 2.0f;
|
||||
var cy = rect_main.Top + rect_main.Height * 0.2f;// / 2.0f - 200;
|
||||
|
||||
|
||||
//모터길이가 설정되지않았따면 600으로 설정한다
|
||||
if (this.arMotorLengthY == 0) this.arMotorLengthY = 600;
|
||||
var motYPosX = rect.Left + (rect.Width * ((arMotorPosition[0] + 1) / (this.arMotorLengthY * 1.0f)));
|
||||
|
||||
|
||||
|
||||
//g.DrawString(arMotorPositionYP.ToString() + "/" + motYPosX.ToString(), this.Font, Brushes.Red, 100, 100);
|
||||
|
||||
//Y축 모터의 현재위치를 표시한다
|
||||
g.DrawLine(new Pen(Color.SteelBlue, 10), (float)motYPosX, rect.Top, (float)motYPosX, rect.Bottom);
|
||||
|
||||
g.DrawLine(new Pen(Color.Black, 1), (float)motYPosX, rect.Top - 5, (float)motYPosX, rect.Bottom + 5);
|
||||
|
||||
//Y축 모터의 영역을 표시한다.
|
||||
// g.DrawRect(rect_picker, Color.White, 3);
|
||||
|
||||
if(arPickerSafeZone) g.FillRectangle(Brushes.Lime, rect_picker);
|
||||
else g.FillRectangle(Brushes.DimGray, rect_picker);
|
||||
g.DrawString(arMotPosNamePX, arFont_MotPosName, Brushes.Gray, rect_picker, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Near,
|
||||
LineAlignment = StringAlignment.Center
|
||||
});
|
||||
if (arMotILockPKX) g.DrawRect(rect_picker, Color.Blue, 5);
|
||||
else g.DrawRect(rect_picker, Color.FromArgb(50, 50, 50), 3);
|
||||
|
||||
//중앙에 Safty Zone 글자 표시함
|
||||
if(arPickerSafeZone)
|
||||
{
|
||||
g.DrawString("PICKER X - SAFETY ZONE", new Font("Consolas",12, FontStyle.Bold), Brushes.Black, rect_picker, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
//Z축 모터의 영역 계산
|
||||
var motZLPosX = motYPosX;
|
||||
// var motZRPosX = motYPosX + CvtMMtoPX_W(motZSpaceMM / 2, 0);
|
||||
var motZPosY = rect.Top - CvtMMtoPX_H(50, 0); //Y축하단에서 50mm 아래에 Z축을 표시한다.
|
||||
var motZHMm = 300;
|
||||
var motZhPx = CvtMMtoPX_H(motZHMm, 0); //
|
||||
var motZwPx = rect.Height;
|
||||
rect_zlaxis = new RectangleF((float)(motZLPosX - motZwPx / 2.0), (float)motZPosY, motZwPx, (float)motZhPx);
|
||||
// rect_zraxis = new RectangleF((float)(motZRPosX - motZwPx / 2.0), (float)motZPosY, motZwPx, (float)motZhPx);
|
||||
|
||||
//현재위치를 표시하는 영역생성
|
||||
var zlSize = g.MeasureString("UNKNOWN", this.Font);
|
||||
var zrSize = g.MeasureString("UNKNOWN", this.Font);
|
||||
var zSizeW = Math.Max(zlSize.Width, zrSize.Width);
|
||||
var zSizeH = Math.Max(zlSize.Height, zrSize.Height);
|
||||
var rect_zlposname = new RectangleF(
|
||||
rect_zlaxis.Left + (rect_zlaxis.Width - zSizeW) / 2.0f,
|
||||
rect_zlaxis.Top - zSizeH + 5,
|
||||
zSizeW,
|
||||
zSizeH);
|
||||
|
||||
|
||||
g.FillRectangle(Brushes.DimGray, rect_zlaxis);
|
||||
|
||||
|
||||
//테두리
|
||||
if (arMotILockPKZ == true) g.DrawRect(rect_zlaxis, Color.Blue, 5);
|
||||
else g.DrawRect(rect_zlaxis, Color.DimGray, 3);
|
||||
|
||||
|
||||
|
||||
g.FillRectangle(Brushes.DimGray, rect_zlposname);
|
||||
|
||||
if (arMotILockPKZ == true) g.DrawRect(rect_zlposname, Color.Blue, 5);
|
||||
else g.DrawRect(rect_zlposname, Color.DimGray, 3);
|
||||
|
||||
|
||||
//피커Z축위치 표시
|
||||
g.DrawString(arMotPosNamePZ, arFont_MotPosName, Brushes.Gray, rect_zlposname, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center
|
||||
});
|
||||
|
||||
|
||||
//중심점 센서 확인
|
||||
g.DrawLine(new Pen(Color.Black, 1), (float)motZLPosX, rect.Top - 5, (float)motZLPosX, rect.Bottom + 5);
|
||||
|
||||
//Z축 모터위치와 길이확인
|
||||
if (this.arMotorLengthZL == 0) this.arMotorLengthZL = 600;
|
||||
var motZLosY = rect_zlaxis.Top + (rect_zlaxis.Height * ((arMotorPosition[1] + 1) / (this.arMotorLengthZL * 1.0f)));
|
||||
|
||||
//상(Rear), 하(Front)로 영역을 그린다
|
||||
var port_width = rect_picker_left.Width;// * 3f;
|
||||
var port_height = rect_picker_left.Height; // rect.Height * 0.2f;
|
||||
|
||||
//New Front Position
|
||||
var newYF = (float)(motZLPosX - port_width / 2.0);
|
||||
if (newYF != rect_picker_left.X)
|
||||
{
|
||||
var offset = newYF - rect_picker_left.X;
|
||||
this.rect_picker_left.Offset(offset, 0); //좌표가 변경되었다면 재계산
|
||||
this.rect_picker_front_vac1.Offset(offset, 0);
|
||||
this.rect_picker_front_vac2.Offset(offset, 0);
|
||||
this.rect_picker_front_vac3.Offset(offset, 0);
|
||||
this.rect_picker_front_vac4.Offset(offset, 0);
|
||||
}
|
||||
if (motZLosY != rect_picker_left.Y)
|
||||
{
|
||||
var offset = (float)(motZLosY - rect_picker_left.Y);
|
||||
this.rect_picker_left.Offset(0, offset); //좌표가 변경되었다면 재계산
|
||||
this.rect_picker_front_vac1.Offset(0, offset);
|
||||
this.rect_picker_front_vac2.Offset(0, offset);
|
||||
this.rect_picker_front_vac3.Offset(0, offset);
|
||||
this.rect_picker_front_vac4.Offset(0, offset);
|
||||
}
|
||||
|
||||
//피커 #1 Circle 색상
|
||||
var Bg1 = Color.FromArgb(100, 100, 100);
|
||||
var Bg2 = Color.FromArgb(160, 160, 160);
|
||||
if (this.arVar_Picker[0].Overload)
|
||||
{
|
||||
Bg1 = Color.Tomato;
|
||||
Bg2 = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.arVar_Picker[0].ItemOn)
|
||||
{
|
||||
|
||||
//if (this.arVar_Picker[0].isReelDetect)
|
||||
//{
|
||||
Bg1 = Color.Lime; //.FromArgb(100, 100, 100);
|
||||
Bg2 = Color.Green;//.FromArgb(160, 160, 160);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// Bg1 = Color.Magenta; //.FromArgb(100, 100, 100);
|
||||
// Bg2 = Color.DarkMagenta;//.FromArgb(160, 160, 160);
|
||||
//}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
Bg1 = Color.FromArgb(100, 100, 100);
|
||||
Bg2 = Color.FromArgb(160, 160, 160);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
using (var br = new LinearGradientBrush(rect_picker_left, Bg1, Bg2, LinearGradientMode.Vertical))
|
||||
{
|
||||
g.FillEllipse(br, rect_picker_left);
|
||||
}
|
||||
|
||||
//피커 #2 Circle 색상
|
||||
if (this.arVar_Picker[1].Overload)
|
||||
{
|
||||
Bg1 = Color.Tomato;
|
||||
Bg2 = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.arVar_Picker[1].ItemOn)
|
||||
{
|
||||
//실제 아이템 체크
|
||||
|
||||
if (this.arVar_Picker[1].isReelDetect)
|
||||
{
|
||||
Bg1 = Color.Lime; //.FromArgb(100, 100, 100);
|
||||
Bg2 = Color.Green;//.FromArgb(160, 160, 160);
|
||||
}
|
||||
else
|
||||
{
|
||||
Bg1 = Color.Magenta; //.FromArgb(100, 100, 100);
|
||||
Bg2 = Color.DarkMagenta;//.FromArgb(160, 160, 160);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Bg1 = Color.FromArgb(100, 100, 100);
|
||||
Bg2 = Color.FromArgb(160, 160, 160);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//피커 테두리
|
||||
using (var bgPen = new Pen(Color.Black, 3))
|
||||
{
|
||||
var posT = arMotorPosition[6];
|
||||
g.DrawEllipse(bgPen, rect_picker_left);
|
||||
g.DrawString(posT.ToString("N0"), this.Font, Brushes.Black, rect_picker_left,new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
}
|
||||
|
||||
//피커 내부의 진공 표현
|
||||
g.FillEllipse((this.arVar_Picker[0].VacOutput[0] ? brVacOn : brVacOff), rect_picker_front_vac1);
|
||||
g.FillEllipse((this.arVar_Picker[0].VacOutput[1] ? brVacOn : brVacOff), rect_picker_front_vac2);
|
||||
g.FillEllipse((this.arVar_Picker[0].VacOutput[2] ? brVacOn : brVacOff), rect_picker_front_vac3);
|
||||
g.FillEllipse((this.arVar_Picker[0].VacOutput[3] ? brVacOn : brVacOff), rect_picker_front_vac4);
|
||||
|
||||
//피커설명 표시
|
||||
if (arVar_Picker[0].Overload)
|
||||
g.DrawString("OVL", arFont_picker, Brushes.Black, rect_picker_left, sfCenter);
|
||||
else
|
||||
g.DrawString(this.arVar_Picker[0].PortPos, arFont_picker, Brushes.Black, rect_picker_left, sfCenter);
|
||||
|
||||
//피커 진공표시 테두리 (진공출력상태에 따라서 색상을 달리 함)
|
||||
g.DrawEllipse((this.arVar_Picker[0].VacOutput[0] ? penVacOn : penVacOff), rect_picker_front_vac1);
|
||||
g.DrawEllipse((this.arVar_Picker[0].VacOutput[1] ? penVacOn : penVacOff), rect_picker_front_vac2);
|
||||
g.DrawEllipse((this.arVar_Picker[0].VacOutput[2] ? penVacOn : penVacOff), rect_picker_front_vac3);
|
||||
g.DrawEllipse((this.arVar_Picker[0].VacOutput[3] ? penVacOn : penVacOff), rect_picker_front_vac4);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
37
Handler/Sub/UIControl/PrintDirection.Designer.cs
generated
Normal file
@@ -0,0 +1,37 @@
|
||||
namespace UIControl
|
||||
{
|
||||
partial class PrintDirection
|
||||
{
|
||||
/// <summary>
|
||||
/// 필수 디자이너 변수입니다.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 사용 중인 모든 리소스를 정리합니다.
|
||||
/// </summary>
|
||||
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 구성 요소 디자이너에서 생성한 코드
|
||||
|
||||
/// <summary>
|
||||
/// 디자이너 지원에 필요한 메서드입니다.
|
||||
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
106
Handler/Sub/UIControl/PrintDirection.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public partial class PrintDirection : UserControl
|
||||
{
|
||||
public PrintDirection()
|
||||
{
|
||||
InitializeComponent();
|
||||
// Set Optimized Double Buffer to reduce flickering
|
||||
this.SetStyle(ControlStyles.UserPaint, true);
|
||||
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
||||
this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
|
||||
this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);
|
||||
this.SetStyle(ControlStyles.ContainerControl, false);
|
||||
this.SetStyle(ControlStyles.Selectable, true);
|
||||
this.Resize += Loader_Resize;
|
||||
BorderColor = Color.Black;
|
||||
}
|
||||
[DisplayName("AR_TITLEFONT")]
|
||||
public Font TitleFont { get; set; }
|
||||
Boolean bRemake = true;
|
||||
void Loader_Resize(object sender, EventArgs e)
|
||||
{
|
||||
if (this.Width < 16) this.Width = 16;
|
||||
if (this.Height < 16) this.Height = 16;
|
||||
bRemake = true;
|
||||
}
|
||||
public Color BorderColor { get; set; }
|
||||
|
||||
List<RectangleF> rects = new List<RectangleF>();
|
||||
[DisplayName("AR_COLORS")]
|
||||
public Color[] colors { get; set; }
|
||||
[DisplayName("AR_TITLES")]
|
||||
public string[] titles { get; set; }
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
base.OnPaint(e);
|
||||
var disprect = new Rectangle(DisplayRectangle.Left, DisplayRectangle.Top, DisplayRectangle.Width - 1, DisplayRectangle.Height - 1); ;
|
||||
if (bRemake)
|
||||
{
|
||||
rects.Clear();
|
||||
var w = (disprect.Width - 2) / 3f;
|
||||
var h = (disprect.Height - 2) / 3f;
|
||||
for (int i = 2; i >= 0; i--)
|
||||
{
|
||||
for (int j = 0; j < 3; j++)
|
||||
{
|
||||
var rect = new RectangleF(j * w + 2, i * h + 2, w - 2, h - 2);
|
||||
rects.Add(rect);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < rects.Count; i++)
|
||||
{
|
||||
var item = this.rects[i];
|
||||
|
||||
if (this.colors != null && i < this.colors.Length)
|
||||
{
|
||||
var color = this.colors[i];
|
||||
if (color != Color.Transparent)
|
||||
e.Graphics.FillRectangle(new SolidBrush(color), item);
|
||||
}
|
||||
|
||||
|
||||
//테두리 그리기
|
||||
if (BorderColor != Color.Transparent)
|
||||
e.Graphics.DrawRect(item, BorderColor, 1);
|
||||
|
||||
if (this.titles != null && i < this.titles.Length)
|
||||
{
|
||||
var title = this.titles[i];
|
||||
if (string.IsNullOrEmpty(title) == false)
|
||||
{
|
||||
using (var br = new SolidBrush(this.ForeColor))
|
||||
{
|
||||
if (i == 4 && TitleFont != null)
|
||||
e.Graphics.DrawString(title, this.TitleFont, br, rects[i], new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
else
|
||||
e.Graphics.DrawString(title, this.Font, br, rects[i], new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//전체외곽
|
||||
//e.Graphics.DrawRect(disprect, Color.Black, 1);
|
||||
}
|
||||
public void SetColor(int idx, Color color)
|
||||
{
|
||||
this.colors[idx] = color;
|
||||
}
|
||||
}
|
||||
}
|
||||
36
Handler/Sub/UIControl/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
||||
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
||||
// 이러한 특성 값을 변경하세요.
|
||||
[assembly: AssemblyTitle("CapCleaningControl")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("CapCleaningControl")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
|
||||
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
|
||||
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
||||
[assembly: Guid("9264cd2e-7cf8-4237-a69f-dcda984e0613")]
|
||||
|
||||
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
||||
//
|
||||
// 주 버전
|
||||
// 부 버전
|
||||
// 빌드 번호
|
||||
// 수정 버전
|
||||
//
|
||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||
// 기본값으로 할 수 있습니다.
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
243
Handler/Sub/UIControl/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,243 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 이 코드는 도구를 사용하여 생성되었습니다.
|
||||
// 런타임 버전:4.0.30319.42000
|
||||
//
|
||||
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
|
||||
// 이러한 변경 내용이 손실됩니다.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace UIControl.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
|
||||
/// </summary>
|
||||
// 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
|
||||
// 클래스에서 자동으로 생성되었습니다.
|
||||
// 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
|
||||
// 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UIControl.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
|
||||
/// 재정의합니다.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap air {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("air", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap alert {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("alert", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap bcd {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("bcd", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap bg_blue {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("bg_blue", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap bg_red {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("bg_red", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap debug {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("debug", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap debug40 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("debug40", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap emg {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("emg", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap erase {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("erase", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap error {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("error", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap help {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("help", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap icons8_pause_button_30 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("icons8_pause_button_30", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap info {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("info", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap mot {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("mot", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap plc {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("plc", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap reel_big {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("reel_big", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap reel_small {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("reel_small", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap safty {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("safty", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
435
Handler/Sub/UIControl/Properties/Resources.resx
Normal file
@@ -0,0 +1,435 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="air" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
/Xx2GVNGXNy/B7Gt3iRjVn4AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="alert" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons8-automatic-gearbox-warning-80.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="bcd" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAsxJREFUWEft
|
||||
ll1IU1EcwBdGBUFvPfRUD0VBjaAeerCHCMyHHkrXsZwhohOE2q6F835s0jUlg6h7J2rp7hJsICzQHiJI
|
||||
LGePfdFLDyVEEEG9SEEguez0P/Nfzu3cfRjn+rIf/OAw/uec38O2e11lypQpEcWMBRXTWgSpQ75X++9u
|
||||
x+sLo5rWC84hYo3EavD6wihmdIJ7iFgJXl8Y1Yz1cQ4QbfGBcsTycg4QbfGBmjG8g3OAaIsPZMAv+Tnn
|
||||
EGHKkegpvLo45EjMzztIgClwRu+Pb8Ori6PjxthW2Pgl46D/tvPmCJWuD9C27lu0OdxHz3depWcv6efw
|
||||
ytJRjFgD76JCdvXfXhoY6aWDd0K0vaeXNso9tK49TM8EtBw9kjaE160N+AO9ApcuZUegC7IZfaUY1his
|
||||
ZdmwTirG6C76aPfmxeSB8VTSTb9NHaKh7jZuHNMT0N7hVWtHNaxKNWINQcQ92bTCqhGtDUZG95BEogJH
|
||||
cqAJUpGadU+zyPmpw7Q52MENZNZeCO3Ebc7yc8a9DwJ/s8j4YB03jkkktQW3OA/EvWGBrxPHuXHoOI47
|
||||
D8RNssC5B5W8sGUl9SuMblje4TC/Zt0N8F18+SxePceNQ2v88kHcsj5AxLXsqExJIHQZR9cHiPicHbVK
|
||||
SXuIo+sDRKRyolb7/Ziub8Rx54EAH/gxIyhHj6QewfH8VHlb3zLZ+oTXp1d5fbS6vnU/k63ZZytzPrpi
|
||||
S/qVKb2u991n60yamvQt8OQY5sUx4f9QwdH8iApksEiImc+OWzb0GMfyIzKQATHTuXFpfxBd34Rj9ogO
|
||||
JH5tkhOXlkihozhmj+hACElmh2XYhWP2OBD4IStqRUl9gmP2iAwkUngvNwwlAe0pjtojNDCgSbywv8J3
|
||||
8CKO2iMyEB5pjbwwNEEIsX0J/ofIQPY4gxD24sCeKgvgJ3DC066expEyZcqUhsv1B6iAtIhPh2shAAAA
|
||||
AElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bg_blue" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAAAsFJREFUeF7t
|
||||
nL1uE0EUhS0QvBDvYCcVCHAQeRoXId4N1IBrRyClSiSwgR7vFoCgQHZkp4wpDUqo+Bnm7M5AFM1aa07n
|
||||
OUf6uvG17ifvrKvTUBRFUZan3fl8vdnN7rXS/FkrySetJDu3mDXD7mR3K3bMtrCzW59Lq5vf2UhGJ5e+
|
||||
LAZmG2l222lYPe2Dg6utNHvkB24/+WR2h3PT//DdHB3/NIPZ77UCO2E37Ihd/d72x/Ow0zFXnJb68fI2
|
||||
93KTvPliBtPwF68jL6e/TPf1vNgdDpppvue01AseWy+vN/oa/JIY6I0WFySObjk9y4PL0995xS8vMDgm
|
||||
dl/N/eM8rfViKd629gO4B/BTDg2NCTjYfvyxvA+7o7bTVJ1mkj3HYZgPDYyRneGpE5jtO03VsQePcXjf
|
||||
vpFCw2Kk//7cPcb5xGmqjj14hsOHkx/BYTFyZF2UArMzp6k67mBwUMx4L05TdSQwjASSSCCJBJJIIIkE
|
||||
kkggiQSSSCCJBJJIIIkEkkggiQSSSCCJBJJIIIkEkkggiQSSSCCJBJJIIIkEkkggiQSSSCCJBJJIIIkE
|
||||
kkggiQSSSCCJBJJIIIkEkkggiQSSSCCJBJJIIIkEkkggiQSSSCCJBJJIIIkEkkggiQSSSCDJKgKL0gkU
|
||||
LYQGxcjh+G/pxDenqTr2kGpPLrFa7UnZn2ceDE+Dw2JkZ1AW7zSTrO80Vcce3MJh1B2p+qmsfrrvqp+a
|
||||
aX7XaaoOCrbs4Rk+gAq40NCYQJ8gXFimN3rvrjlNy4PmRnyorL9bBAfHwNO3C7OZlvV39v676fTUC5ob
|
||||
vUQUkcX0OL+wu+KX909eljot9YPaSzQ3ugHFnYgWM7yR1rFXCzthN7w8/Z3n5f1XBagPmhvtkOmFgbFg
|
||||
d17xsa0KLk+UD6I/zw4eW4o/22sGdhpjR7xta78wFEVRok2j8Qfk0Qty9BRILAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bg_red" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABGdBTUEAALGPC/xhBQAAAsFJREFUeF7t
|
||||
nMFOE1EYhRuMvozLtok+gxq1UMDAri7EXaXs2WkpbO3MGiyKb6EriVsD9g68AwFcSa73n/mnMeROM8PZ
|
||||
zT0n+XZ37uT/OnOnq9NgGIZh5ufh0a8H7ShZaUXJxHHaisyVw9YMN5PMlkzaY7MsM+v4WFrj6aLb/OzW
|
||||
zUIgaUfTjmqonu6Rved+id18w5W9b/ZwMLRnvZ79s/bS2tUntUJmktlkRpk1n7sZTUeNbbugWsonl/f4
|
||||
46n9+u69vVl96r1xHbl59cx+2fyQzp6JTHZUS7noa5tucPym771JCBxv9GcSm3HyQvXMjxye7oL0zJMn
|
||||
z7dxSHzeHGZPYWxMqQ9L9rXNzjx5lH2bhoQ4WN77rk+h6aqm4rTi6aEslsPUt2GIfBqMMoGROVBNxXEL
|
||||
f8vic/dF8m0WIknvdfYau/+Jqqk4buGlLL6u4V+Vu3K93lGB5lI1FUcXejcKmdyLaioOBfqhQBAKBKFA
|
||||
EAoEoUAQCgShQBAKBKFAEAoEoUAQCgShQBAKBKFAEAoEoUAQCgShQBAKBKFAEAoEoUAQCgShQBAKBKFA
|
||||
EAoEoUAQCgShQBAKBKFAEAoEoUAQCgShQBAKBKFAEAoEoUAQCgShQBAKBKFAEAoEoUAQCgShQBAKBKki
|
||||
MCudWO94NwqRq7XFXOCFaiqOW8Tak1tUrD2RjkBjJ4Md72Yhsr+1mz+B+6qpOFI+KIul7ojVT1n1U1er
|
||||
nxxLqqk4Wj6WyAVSAefbNCSkAiuVFxvTjH/eV03zI82NclFaf7cRbv3dj7d9+2icdwia56qnXKS5MZco
|
||||
FXAhvc5/3azy5M3kxclQtVTItl2Q5ka1n56J0mImX6Q69mrJTDLbwdbo/zMvk3eXCtA80two7/9sw1DI
|
||||
Zq722hZFDk8pH5T+PLfpiSP9s10zZKYTnXGp9AeDYRgm2DQa/wBGopc1FSaqkQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="debug" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons8-bug-80.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="debug40" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons8-bug-40.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="emg" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAABOJJREFUWEft
|
||||
WOtvFFUUb6Ifff8HRv8AE9xZmqJsd0ZgW0BCWWp4tDxcKIK8FFsSEx/VAlXjB1NrNWpCMUSiSLR0i00w
|
||||
EEHlIeq3on4UE40K2Z2ZfR/PuXvnzr0z03Vf9VNP8ktn5575nd/ce+fcc9oyb/NWwf6Khe8yDa0zHdX6
|
||||
zaj2Nv79iMCv+2mMfLj7/2MQidye0sNPpPXQl2ldKyDgP5BHTKX0UDfE47dxmrkxFLYmpWu/egRUDVPX
|
||||
fkkZodWcrnl2a2nrfSjsVFBQgrkyClZvHOydW8HevQ3sJ9fjPT3Ql4BcJ28uWnQvp2/MbkVaHwyaNbMr
|
||||
Brk3DkPxi9MAV34EuPqTD8WpafQZBqt7ufIse97Qfr4ZXfAAD1OfkTgk+10hXhGF/OgIwKVrgaICgS+Q
|
||||
f2c0aFZv1C2SL6syc3ZiA5TOnlcCFz49CdlDg2DvSoC1uRusresgs7cPskMv4+xOKEJL575Gjo2yQDaT
|
||||
/0QeuoeHrd6C9pzVuxbgm8ssWOHoUbA2rlHGg2BtWA2Fj0+4Qi99z16Atkh26CXmY+qhT3jY6iwV1eLe
|
||||
QA7s3QnIDOwLHKuEzMFnAC7/IESWzl+A/IcfiHH8wlfx8JWtnOekpTXCYO/YLIgagf10golzZlMWiLhe
|
||||
VZ4sJ+HyQ7SEtMeIzFq3SiarHfiiucOvKF+8RyBgjlzLZcxudEKwL3XkLYUs9+ZrClmtMDseZdsjO/gi
|
||||
5N8bg+LnE5B/d8zrl+Qygu1vY8Hd6FQwOxezPVOaPisEls5dgPSSVi9hs5H/s63tTi7Hb+zglx4onp4q
|
||||
i5v+Cq+TYO/pk8nmBGb04RiX47e0ERoQjsvb3eV9/Uj5XsdihaxhLGtjqSsde8S9Z2gHuBy/pQxt1HGk
|
||||
hOsIpPNVEDQJdt8mscetHjefmnp4hMvxGzocEwS4oYXALesFQbNgbep2+Z/aIo2Fx7kcv6FDoECaTZeg
|
||||
OVAEYhXkjlUQKC+xrSxxQiJoDljS5vzVLzGW6cLxcV0Q5IaHBEGzkKWkTfy4DynvirFo+Fkux29me7hD
|
||||
JqF6jkjoNJHvNwPFz04xbqp41LHQMi7Hb9TgoBP1EMyZik1nFmnPuCSNgZbU4c0NH5LHchUTNRnmoTOC
|
||||
CCthJxUUxsdlooZAXEwgFg5m11JpLDzJZcxu1H3JZPmxUfG29ZRZXmSf7xd8VJnLY1TmcRmzG5U8VOU6
|
||||
D9GJIqrob6+wBCuT1gKWnL+7yrjobPe0ADNVt6UpI9wlPQj2th63B8EAmef2ysR+yEcXBytYHQ78a2/v
|
||||
UcbN9oUrefjqjFpDmYCOO+ftCbSPgkp+M96Jdd774jedtWrJfw0y+3epzxjaCR62eqO+VV5qgr29V22a
|
||||
EJl9O9xAWKYVJ6ewnL9YbkknJhVfWlbvzCFmqMzjYWszagmR4IZMaK6IuG0n9hiU0NnYYwuhcPy4IkgA
|
||||
fekZavBlLsx5v9lLtPt5uPqMRHpnkkDpITOwX/zOHNijisL0VJxMQu7Iq7jsMeVZjpmGxTlGfSu1hgFB
|
||||
FNBXWkyeYQIpnQT5EGjP1b2slYxaQwxw3RtQAS519oWD2PMOBo3P1Py11mqUq6j7wmBJhDgWfcAujl/n
|
||||
6ISgJDzn/37zGp2b1ENQmU5lEoqhevIYu8Z7dPD/EYncwd3nbd781tLyLxOgcrDBNHH8AAAAAElFTkSu
|
||||
QmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="erase" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAK
|
||||
YQAACmEB/MxKJQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAJrSURBVEhLvdZd
|
||||
b9JQGAdwEr3wTm9M/AheqJlfxWSfQudMBnYaWarQ8WIyMBlUWoSp0CkzawWM6C5G0aiZzhfoMCZidIu6
|
||||
bG5DL8yc0mMPO8cwOIUyWv/J/6aF55eekifYzMogHT424AqdoGl6H7pkfSgvn/bzYu36XVmlfNHNU3Tk
|
||||
MLplXRwe7mn0zqw6pyyCuYUlIL+sgLPe6O+BS+xx9BHzA1GGnVLThTJ4UvxUh2ELrypg2BezBseomFeA
|
||||
JCsg84iMn2FCfegrvacZxW3BtWMf9se2TMH10B14aSdO+a719uSdUFxTcaMorg7e3bHbPZH0yBVBlfIl
|
||||
IqLX7OMyeNbwzvPz74HDw//UlsxeNFo/rnCSCgnZqjNwE9x6ME8E2jXThN+QCurgxXA/Gk8OROPizFr1
|
||||
lwreLa2CnnFtyVzmp2unGfYIIlrTiP7YAvX+wx/uAtfeOZeaUbWjTiOiNe6Q4Elm5Y3vCGxs5es6GNHw
|
||||
yfvPiQCp4mwJXAgmVDvD3UZEa9qhuBgXci+IUGNNQ3GN4KajuO1wQyjDCkPNPySjJeEQdWqow8uJiGiN
|
||||
wx8/FJyQlneD4kLcObaNG0Jhzvu5PuGevEoa2E3fLq7Un9wZTKpDTCSLxuunP5XaM8pOvi5/XK6RBhot
|
||||
PLHxRKZq9/ASGt05lDey380KpTeVz39IQzt1Y7OmLYfcmms8cRKNNJ46HhaUbvGeUByMFytfDOGmoDhG
|
||||
cVNRnE44RKNTuW+mojh0IH6AhFuK4kCcCQsLxQ/b+H9Bcc6Nxg66rwqKtsfXAxPTK3C9olvWB/5Hosbi
|
||||
R+F6RZd6jM32F+J393EUKic/AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="error" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons8-hazard-warning-flasher-80.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="help" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons8-help-80.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="icons8_pause_button_30" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAK
|
||||
YQAACmEB/MxKJQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAKmSURBVEhL1ZfL
|
||||
bxJRFMbrwvj4a4wLXdRUXZo4vGkxtDst0MQFGKMwMB1eKdVNI9CdaNQmxkWtIQyvqRTqprU8VpZuNLFt
|
||||
FOq0tbpo7ALvCbch0gsZ4Frjl3wJmTnn/HIvl3MPff+F9NZXZxi7cFnBCka1K3lf7Uzcg88KNjZwhc+c
|
||||
xmH0pOFSar17Pmfwvd0YCxertsjavmPmUw1se1zeh2cGf2Z90D2fVXMJJU7rXhoucVXPi2vm6dKe/021
|
||||
9jC+29YQYw4X9/QesazhkwO4TGfSuUXXSCD3zfe6QoS0s3euUhtGuTo+5cDl5EnHi89NofzuA2GHWFiO
|
||||
IdcULOwg+FNctr104ym/JVz6QSrWjS2hwne09RwuT5aajV8yBhalXlbabKhlDOQkrSt2EWOaVTuhd6dX
|
||||
fTIOUaf2z1VrWj79ARgY1pDKmVTBd0JKfLn0s3aoz9LBkffw7FAQ2/webArmtxln8jrGNTToSb9rtVoa
|
||||
YPh16N1iFuPqYvjoWYN/YZOUAKYBBhu8C5t/dDhoeZbpkkQKBtMCm0NFSWEX+jEWTrNgvBMpH5CCwbTA
|
||||
tsjqL4aN3cBY1BpRl7K/+EgMBtMC21FvR33fhbHQk5Pj9pljAqNFYmx9q2EbSMFgWmArYihZYQhj/+Hh
|
||||
unZbODXky2yQgsG0wAZvZn10dOUkxtaF2mXubzcQHZ/OYFxD0DLNocI2KYkG2PSoRcsEocu/4Jn9Skzs
|
||||
xZ7ZL9AuVzDmqDQuod84kduifS0OT2SrKjZ6AWPIQrPS2K2p9y1PeKe+ObUsabi4CZdvL3R3PqM1+mh5
|
||||
8QkuK09aLn13ZLKHYW9ycUvrTltxuc7EOKLnUfIyGlkrssfbYL6KBrwllSN2DpfpXjCkyx3olVySwWn0
|
||||
dOx/Yeirr+83SXRvTbd4pKkAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="info" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons8-info-80.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="mot" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAABF1JREFUWEft
|
||||
Vt1PU2ccZtebu5gXy7Ys2TJ3vf9id5rtZhdeumQxQbaQQQnooAWhxZaPtpSV0p5+QG0nLT0gVaHGQqQF
|
||||
lkgUK6UyQJSYbZmaqVkCi5ydp/m97Hh62h5LSxazJ3mSk/M+z+/39LwffateOySCX22lr317rxTCS2Uq
|
||||
h3Ss+o+d9T6hFMJLZSqH/wPuF//pgDVnLJ/09bU/dwx2PyuF8KIGlSsvTp2xftxs9qdH40sCP5MqiZH4
|
||||
baHFHMjUt9k/pbLlQTnCMZY9ZDnDMZYtZCXCMe47ZCXDMZYc8iDCMb5yyIMMx6g6JM6oZvP5ZRiUCknJ
|
||||
jSWeGRyRVTU0cRcfFKuJcfQueE42mrw31YT7MXj1UZ3e2UG2oqAfnlYTEhnIlovmXv+MklFK6/Dkb/Ud
|
||||
Tg1ZVANL54fe4ksHGciSi3qD2x2O31I0gl3c+P269oHjJH9lFAuJ9w0GzkXyXJxq6z/mjszuyI2R6ZSg
|
||||
t4+u1bcNfE7SklEoJMdf/7tGZztK0lyc0HQeOufk78mNLZZApqbV/hnJ9g2syRZxTcr7oDcykEwZzRZ/
|
||||
Um4UN4SHhssG1JT3EUMnaDg/Gjpdgcj0y7tNKeCggW8K2q9tXnDMbBQiNNCSbQ/ygOjZcI7z03B+fNfa
|
||||
f9w7nnwhNcsD9mgDH0U8iY1f7jwV1JD3JDZt2qEjZM9CHtA7lnxRq+0vvgG/1na/Y3Jf3JKa5QHdXdHp
|
||||
zNKTvQCrqafC8o3Hwu2FR1niGe/Y+F1R6zZGp4Uq4Q0qkRPQxI1vVTf2HabhwtBZAj9LzdKAg/rI9wvx
|
||||
jb9Y8yUx0NzUQ+FSMCWEXfPbIJ7xDmGZDh54qUxOQK01sEBDxdFgdId5yTpkAbtPez8Ic7NrrOni7O/C
|
||||
ZGh519cbW7ad5Y8a63xvgnbx2WeeSk+G0rvQMD28qIFa0oA4xhqNnhG8V4XaVvvJoej8rjwgZ4zGVmhq
|
||||
8eUQzmO6wmVNCuCMV7xToZVdaOGBFzUwJg04HJ0Xas86TmZNavBNU897vZ7or9KAg+189dzV9edohPWF
|
||||
KcSXI0teiJqVudhD0fNnNiRqoJY0YI/Y64TG+j5Z1EFnDS6yAho9FxxxzqyiAYhNgHWGaSV5Xgy0hb64
|
||||
/FNKuHPj302FWqjJ6uusgUWSq0edwTXCrktave/+ys3Hew0wZSHn3LZNe+EtkudFp8Z1SNTuSDdM5tYT
|
||||
oUXve8DqoxfJS4PbOHFZIeCOmoCWmuG3lQK6TdEJkuwfvU3n31WaYuxWkuSFQxf+UmmKUZMk5YHiJhGP
|
||||
EhrOiyFLLKO0SWi4vJAeM5gynHM4Smg4B+6uS/5YnmOmIlA6qHHO4Uv2d4wdw5oEMa0+cyyDcPkO6opB
|
||||
8a9OnEKss1FufhvEM96xLwfK/+oqCs40EcdOZM2xvrAJMO0gntmaA3FZEKf2pctCRWE7HfiQ9ybXWYBi
|
||||
5D3JTVzRyH4wwCU0zF1f472J1UKERunC+pqgquofdvoa6+LDQkwAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="plc" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAnhJREFUWEft
|
||||
ls1rE1EUxd/eP0BcigvBpS5sQcVdFEVTUFuoOi1pG8ViotSkBGea1tSQzJBObEhSMOmHMYm2JqmlWgNq
|
||||
IoiLdiXBD1zozmVx6cJc33u+DIozNZ1JYsU58CMhN/eew7tvYJApU1tZMIe2wRSaw6w1lDh6jj/3Mhv9
|
||||
ghgaxMOgKcRQidnoFx7iVR3eGCrMRr/++YDvvAgWL6pTvorgW0y9j9H8gPJpBMEObT6Oq/cxmh/wlQvB
|
||||
LKdO/gKCrxH1PoZ5B41iBjSKGdAoZkCjmAGNYgY0yv8RcOu98vd6pT0cL+0juH3uA6/Du5ffT+5800je
|
||||
yrtWs+KxrrOeiR3Mtn71jYY+9fAitIpeQfrACVI3s/+zAsl7n8dvp6EV8JEZ6B+TqzSsII6xCBur8Oxl
|
||||
BQPzKyVw+SQYuMaDP5YA8tvPTM5mwe4SwDnih9TSk19qm+lN5pbBKcbIaVbP82I7i6EtPIAG7By4DPst
|
||||
JxW8oahicGsmC20Wq1KzdHIwXywp9c32JguP2cqlaRZDW3hIJfWwSJs5hwvuLK7AoRNn4JTtkmJidwu0
|
||||
Hs88gCteP/0uT6dpTW+v/Ua4ygniKouhLTykQlbUfrQDjnfbwBMIQ9sRK5wbHFJMHCM36WBiUDutqUyO
|
||||
1vT0xtM5sI2GyF18wWJoCw+hKx72TyirOGztUgIQyJ0jqyE1Qv/QdaWmpzeSKbAnWvSxGNrCQ2hAQnJh
|
||||
CUKJFGQfPVUMaiwUyyAn72Lz/G81Qj298XSehvtxetJ6n0fezmJoa1hOfHEGo9BsHIFoba3k4Vjv4YMH
|
||||
WYSNhf98HzettQRBLJO11nVypkz9FSH0HdsLU8gVsNwDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="reel_big" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
D1WHWk/swkxBAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
<comment>rell icon ( 80x80)</comment>
|
||||
</data>
|
||||
<data name="reel_small" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
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
|
||||
</value>
|
||||
<comment>reel icon (40x40)</comment>
|
||||
</data>
|
||||
<data name="safty" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAW9JREFUWEfl
|
||||
2E1qwlAUBeBndygvC9CdCHHcuIkWqp27DK3toLiIOrRkkno1B6TcJO/e95fSA2fiUfgwPogx/yLNYvGw
|
||||
K4rqOJt9UPfWPtJr7Zw3BNlPpy+nsvw+V1VD/SrL+s3a1+zIxpjJBfJ8j0NPy2V9KIpNNmQfDs2GdMGh
|
||||
yZESHJoMqcGh0ZE+ODQaMgQODY6U4BBuu28wpPSbQ7jtd72RmsuKcBtXNVL7m0O4ratipM+BQLitr85I
|
||||
HxwV4bahDiJ9cVSE21zaiQyBoyLc5loWSTebdA/HfUBShNskJQuZWp4xx/n8nXujtAi3Sft5MbW8PwAc
|
||||
4yWm/zUt73ZIDtY+jeiQrNmTHALp004ckhM5iEPUyNWqqbfba9m9p844RIMkGCJBinGIFKkBqnGIBpkM
|
||||
h8Q4OMFwSEhkcBwSAhkNh/ggo+MQDTIZDpEgk+MQF2Q2HNKHzI5DCDDaR8AIQeiml+6CqaN6iB43xvwA
|
||||
iFk1KsvXeuAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
BIN
Handler/Sub/UIControl/Resources/air.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
Handler/Sub/UIControl/Resources/bcd.png
Normal file
|
After Width: | Height: | Size: 789 B |
BIN
Handler/Sub/UIControl/Resources/bg_blue.png
Normal file
|
After Width: | Height: | Size: 778 B |
BIN
Handler/Sub/UIControl/Resources/bg_red.png
Normal file
|
After Width: | Height: | Size: 778 B |
BIN
Handler/Sub/UIControl/Resources/emg.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Handler/Sub/UIControl/Resources/erase.png
Normal file
|
After Width: | Height: | Size: 750 B |
BIN
Handler/Sub/UIControl/Resources/icons8-assembly-machine-40.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-barcode-reader-40.png
Normal file
|
After Width: | Height: | Size: 865 B |
BIN
Handler/Sub/UIControl/Resources/icons8-bug-40.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-bug-80.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-code-30.png
Normal file
|
After Width: | Height: | Size: 667 B |
BIN
Handler/Sub/UIControl/Resources/icons8-deployment-40.png
Normal file
|
After Width: | Height: | Size: 816 B |
|
After Width: | Height: | Size: 1.7 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-erase-30.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-help-80.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-high-priority-40.png
Normal file
|
After Width: | Height: | Size: 648 B |
BIN
Handler/Sub/UIControl/Resources/icons8-info-80.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-pause-button-30.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-rounded-square-80.png
Normal file
|
After Width: | Height: | Size: 825 B |
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-rounded-square-80_red.png
Normal file
|
After Width: | Height: | Size: 997 B |
BIN
Handler/Sub/UIControl/Resources/icons8-settings-30.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Handler/Sub/UIControl/Resources/icons8-start-30.png
Normal file
|
After Width: | Height: | Size: 570 B |
BIN
Handler/Sub/UIControl/Resources/icons8_pause_button_30.png
Normal file
|
After Width: | Height: | Size: 809 B |
BIN
Handler/Sub/UIControl/Resources/mot.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Handler/Sub/UIControl/Resources/plc.png
Normal file
|
After Width: | Height: | Size: 705 B |
BIN
Handler/Sub/UIControl/Resources/reel_big.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
Handler/Sub/UIControl/Resources/reel_small.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
Handler/Sub/UIControl/Resources/safty.png
Normal file
|
After Width: | Height: | Size: 440 B |
214
Handler/Sub/UIControl/UIControl.csproj
Normal file
@@ -0,0 +1,214 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{9264CD2E-7CF8-4237-A69F-DCDA984E0613}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>UIControl</RootNamespace>
|
||||
<AssemblyName>UIControl</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="arCommUtil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\DLL\arCommUtil.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CItem.cs" />
|
||||
<Compile Include="CMenu.cs" />
|
||||
<Compile Include="Common.cs" />
|
||||
<Compile Include="CPicker.cs" />
|
||||
<Compile Include="CIcon.cs" />
|
||||
<Compile Include="CPort.cs" />
|
||||
<Compile Include="EnumStruct.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Events.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="fTestControl.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="fTestControl.Designer.cs">
|
||||
<DependentUpon>fTestControl.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="HMI.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Loader\Draw_PickerPrinter.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Loader\Draw_PickerY.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PrintDirection.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PrintDirection.Designer.cs">
|
||||
<DependentUpon>PrintDirection.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Utility.cs" />
|
||||
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="fTestControl.resx">
|
||||
<DependentUpon>fTestControl.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-code-30.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-erase-30.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-pause-button-30.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-settings-30.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-start-30.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-assembly-machine-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-rounded-square-80.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-rounded-square-80_blue.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-rounded-square-80_red.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-high-priority-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-wind-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-emergency-stop-button-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-deployment-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-barcode-reader-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\reel_big.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\reel_small.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\bg_red.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\air.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\bcd.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\bg_blue.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\emg.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\erase.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8_pause_button_30.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\mot.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\plc.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\safty.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-automatic-gearbox-warning-80.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-hazard-warning-flasher-80.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-info-80.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-help-80.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-bug-80.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\icons8-bug-40.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\arAjinextek\Library\arAjinextek_Union\arAjinextek_Union.csproj">
|
||||
<Project>{62370293-92aa-4b73-b61f-5c343eeb4ded}</Project>
|
||||
<Name>arAjinextek_Union</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\CommData\CommData.csproj">
|
||||
<Project>{14e8c9a5-013e-49ba-b435-efefc77dd623}</Project>
|
||||
<Name>CommData</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Setting\Setting.csproj">
|
||||
<Project>{48654765-548d-42ed-9238-d65eb3bc99ad}</Project>
|
||||
<Name>Setting</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
168
Handler/Sub/UIControl/Utility.cs
Normal file
@@ -0,0 +1,168 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public static class Utility
|
||||
{
|
||||
|
||||
public static Rectangle OffsetRect(this Rectangle rect, int x,int y)
|
||||
{
|
||||
var retval = new Rectangle(rect.X + x, rect.Y + y, rect.Width, rect.Height);
|
||||
return retval;
|
||||
}
|
||||
|
||||
public static void DrawString(this Graphics g,
|
||||
string msg,
|
||||
Font font,
|
||||
Color fcolor,
|
||||
RectangleF rect,
|
||||
ContentAlignment textalign = ContentAlignment.MiddleCenter,
|
||||
Color? ShadowColor = null,
|
||||
Brush BackBrush = null,
|
||||
Pen BorderPen = null)
|
||||
{
|
||||
DrawString(g, msg, font, fcolor, rect.toRect(), textalign, ShadowColor, BackBrush, BorderPen);
|
||||
}
|
||||
|
||||
public static void DrawRectangle(this Graphics g, Pen pen, RectangleF rect)
|
||||
{
|
||||
g.DrawRectangle(pen, rect.Left, rect.Top, rect.Width, rect.Height);
|
||||
}
|
||||
|
||||
public static void DrawString(this Graphics g,
|
||||
string msg,
|
||||
Font font,
|
||||
Color fcolor,
|
||||
Rectangle rect,
|
||||
ContentAlignment textalign = ContentAlignment.MiddleCenter,
|
||||
Color? ShadowColor = null,
|
||||
Brush BackBrush = null,
|
||||
Pen BorderPen = null)
|
||||
{
|
||||
//배경색 지정되어 있다면
|
||||
if (BackBrush != null) g.FillRectangle(BackBrush, rect);
|
||||
|
||||
//테두리 지정되어 있다면
|
||||
if (BorderPen != null) g.DrawRectangle(BorderPen, rect);
|
||||
|
||||
//그립자가 지정되있다면 별도 처리를 한다
|
||||
if (ShadowColor != null && ShadowColor != Color.Transparent)
|
||||
{
|
||||
SizeF fsize;
|
||||
var drawPT = GetTextPosition(g, msg, font, rect, textalign, out fsize);
|
||||
|
||||
//그림자를 먼저 그린다
|
||||
g.DrawString(msg, font, new SolidBrush((Color)ShadowColor), drawPT.X + 1, drawPT.Y + 1);
|
||||
g.DrawString(msg, font, new SolidBrush(fcolor), drawPT.X, drawPT.Y);
|
||||
}
|
||||
else
|
||||
{
|
||||
var sf = new StringFormat();
|
||||
|
||||
if (textalign == ContentAlignment.BottomCenter) { sf.Alignment = StringAlignment.Center; sf.LineAlignment = StringAlignment.Near; }
|
||||
else if (textalign == ContentAlignment.BottomLeft) { sf.Alignment = StringAlignment.Near; sf.LineAlignment = StringAlignment.Near; }
|
||||
else if (textalign == ContentAlignment.BottomRight) { sf.Alignment = StringAlignment.Far; sf.LineAlignment = StringAlignment.Near; }
|
||||
else if (textalign == ContentAlignment.MiddleCenter) { sf.Alignment = StringAlignment.Center; sf.LineAlignment = StringAlignment.Center; }
|
||||
else if (textalign == ContentAlignment.MiddleLeft) { sf.Alignment = StringAlignment.Near; sf.LineAlignment = StringAlignment.Center; }
|
||||
else if (textalign == ContentAlignment.MiddleRight) { sf.Alignment = StringAlignment.Far; sf.LineAlignment = StringAlignment.Center; }
|
||||
else if (textalign == ContentAlignment.TopCenter) { sf.Alignment = StringAlignment.Center; sf.LineAlignment = StringAlignment.Far; }
|
||||
else if (textalign == ContentAlignment.TopLeft) { sf.Alignment = StringAlignment.Near; sf.LineAlignment = StringAlignment.Far; }
|
||||
else if (textalign == ContentAlignment.TopRight) { sf.Alignment = StringAlignment.Far; sf.LineAlignment = StringAlignment.Far; }
|
||||
else { sf.Alignment = StringAlignment.Center; sf.LineAlignment = StringAlignment.Center; }
|
||||
|
||||
|
||||
g.DrawString(msg, font, new SolidBrush(fcolor), rect, sf);
|
||||
|
||||
sf.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public static void DrawRect(this Graphics g, Rectangle rect, Color color, Color shadowColor, int pensize = 1)
|
||||
{
|
||||
//우측하단에 선을 그려준다. 일단은 검은색
|
||||
g.DrawLine(new Pen(shadowColor, pensize), rect.Left + 1, rect.Bottom + 1, rect.Right - 1, rect.Bottom + 1);
|
||||
g.DrawLine(new Pen(shadowColor, pensize), rect.Right + 1, rect.Top + 1, rect.Right + 1, rect.Bottom - 1);
|
||||
DrawRect(g, rect, color, pensize);
|
||||
}
|
||||
public static void DrawRect(this Graphics g, Rectangle rect, Color color, int pensize = 1)
|
||||
{
|
||||
g.DrawRectangle(new Pen(color, pensize), rect);
|
||||
}
|
||||
|
||||
public static void DrawRect(this Graphics g, RectangleF rect, Color color, int pensize = 1, Boolean shadow = false)
|
||||
{
|
||||
g.DrawRectangle(new Pen(color, pensize), rect.Left, rect.Top, rect.Width, rect.Height);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Rectangle 개체를 반환 합니다. 단순 float -> int 로 값을 변환 합니다.
|
||||
/// </summary>
|
||||
/// <param name="rect"></param>
|
||||
/// <returns></returns>
|
||||
public static Rectangle toRect(this RectangleF rect)
|
||||
{
|
||||
return new Rectangle((int)rect.Left, (int)rect.Top, (int)rect.Width, (int)rect.Height); ;
|
||||
}
|
||||
|
||||
static PointF GetTextPosition(Graphics g, string data, Font f, Rectangle rect, ContentAlignment align, System.Windows.Forms.Padding Padding, out SizeF fsize)
|
||||
{
|
||||
float x = 0;
|
||||
float y = 0;
|
||||
fsize = g.MeasureString(data, f);
|
||||
if (align == ContentAlignment.MiddleCenter)
|
||||
{
|
||||
x = (rect.Width - fsize.Width) / 2 + Padding.Left - Padding.Right;
|
||||
y = (rect.Height - fsize.Height) / 2 + Padding.Top - Padding.Bottom;
|
||||
}
|
||||
else if (align == ContentAlignment.MiddleLeft)
|
||||
{
|
||||
x = Padding.Left;
|
||||
y = (rect.Height - fsize.Height) / 2;
|
||||
}
|
||||
else if (align == ContentAlignment.MiddleRight)
|
||||
{
|
||||
x = rect.Width - fsize.Width - Padding.Right;
|
||||
y = (rect.Height - fsize.Height) / 2;
|
||||
}
|
||||
else if (align == ContentAlignment.BottomLeft)
|
||||
{
|
||||
x = Padding.Left;
|
||||
y = rect.Height - fsize.Height - Padding.Bottom;
|
||||
}
|
||||
else if (align == ContentAlignment.BottomRight)
|
||||
{
|
||||
x = rect.Width - fsize.Width - Padding.Right;
|
||||
y = rect.Height - fsize.Height - Padding.Bottom;
|
||||
}
|
||||
else if (align == ContentAlignment.BottomCenter)
|
||||
{
|
||||
x = (rect.Width - fsize.Width) / 2;
|
||||
y = rect.Height - fsize.Height - Padding.Bottom;
|
||||
}
|
||||
else if (align == ContentAlignment.TopLeft)
|
||||
{
|
||||
x = Padding.Left;
|
||||
y = Padding.Top;
|
||||
}
|
||||
else if (align == ContentAlignment.TopRight)
|
||||
{
|
||||
x = rect.Width - fsize.Width - Padding.Right;
|
||||
y = Padding.Top;
|
||||
}
|
||||
else if (align == ContentAlignment.TopCenter)
|
||||
{
|
||||
x = (rect.Width - fsize.Width) / 2;
|
||||
y = Padding.Top;
|
||||
}
|
||||
return new PointF(x + rect.Left, y + rect.Top);
|
||||
}
|
||||
static PointF GetTextPosition(Graphics g, string data, Font f, Rectangle rect, ContentAlignment align, out SizeF fsize)
|
||||
{
|
||||
return GetTextPosition(g, data, f, rect, align, new System.Windows.Forms.Padding(0), out fsize);
|
||||
}
|
||||
}
|
||||
}
|
||||
82
Handler/Sub/UIControl/fTestControl.Designer.cs
generated
Normal file
@@ -0,0 +1,82 @@
|
||||
namespace UIControl
|
||||
{
|
||||
partial class fTestControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.printDirection1 = new UIControl.PrintDirection();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// printDirection1
|
||||
//
|
||||
this.printDirection1.BackColor = System.Drawing.Color.White;
|
||||
this.printDirection1.BorderColor = System.Drawing.Color.Black;
|
||||
this.printDirection1.colors = new System.Drawing.Color[] {
|
||||
System.Drawing.Color.Empty,
|
||||
System.Drawing.Color.Empty,
|
||||
System.Drawing.Color.Empty,
|
||||
System.Drawing.Color.Empty,
|
||||
System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))),
|
||||
System.Drawing.Color.Empty,
|
||||
System.Drawing.Color.Empty,
|
||||
System.Drawing.Color.Empty,
|
||||
System.Drawing.Color.Empty};
|
||||
this.printDirection1.Font = new System.Drawing.Font("맑은 고딕", 36F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.printDirection1.Location = new System.Drawing.Point(62, 56);
|
||||
this.printDirection1.Margin = new System.Windows.Forms.Padding(7, 10, 7, 10);
|
||||
this.printDirection1.Name = "printDirection1";
|
||||
this.printDirection1.Size = new System.Drawing.Size(323, 283);
|
||||
this.printDirection1.TabIndex = 0;
|
||||
this.printDirection1.TitleFont = new System.Drawing.Font("궁서체", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.printDirection1.titles = new string[] {
|
||||
"↖",
|
||||
"↑",
|
||||
"↗",
|
||||
"←",
|
||||
"?",
|
||||
"→",
|
||||
"↙",
|
||||
"↓",
|
||||
"↘"};
|
||||
//
|
||||
// fTestControl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(476, 453);
|
||||
this.Controls.Add(this.printDirection1);
|
||||
this.Name = "fTestControl";
|
||||
this.Text = "fTestControl";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private PrintDirection printDirection1;
|
||||
}
|
||||
}
|
||||
20
Handler/Sub/UIControl/fTestControl.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace UIControl
|
||||
{
|
||||
public partial class fTestControl : Form
|
||||
{
|
||||
public fTestControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Handler/Sub/UIControl/fTestControl.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||