..
This commit is contained in:
@@ -67,8 +67,6 @@ namespace UIControl
|
||||
public int ConveyorRunPoint = 1; //컨베어 모터 이동시 이동 화살표의 위치값(내부 타이머에의해 증가함)
|
||||
public double arMcLengthW = 1460;
|
||||
public double arMcLengthH = 1350;//
|
||||
public Boolean arJoystickOn = false;
|
||||
public int arJoystickGroup = 0;
|
||||
public bool CVLeftBusy = false;
|
||||
public bool CVLeftReady = false;
|
||||
public bool CVRightBusy = false;
|
||||
@@ -867,30 +865,6 @@ namespace UIControl
|
||||
if (this.Scean == eScean.Nomal) Scean_Normal(e.Graphics);
|
||||
else if (this.Scean == eScean.MotHome) Scean_MotHome(e.Graphics);
|
||||
else if (this.Scean == eScean.xmove) Scean_XMove(e.Graphics);
|
||||
|
||||
|
||||
|
||||
//조이스틱표시
|
||||
if (arJoystickOn)
|
||||
{
|
||||
var joyname = string.Empty;
|
||||
if (arJoystickGroup == 0) joyname = "PICKER X/Z";
|
||||
else if (arJoystickGroup == 1) joyname = "LEFT Y/Z";
|
||||
else if (arJoystickGroup == 2) joyname = "RIGHT Y/Z";
|
||||
else if (arJoystickGroup == 3) joyname = "THETA";
|
||||
else joyname = arJoystickGroup.ToString();
|
||||
|
||||
|
||||
var joystr = "JOYSTICK(" + joyname + ")";
|
||||
var joyfsize = e.Graphics.MeasureString(joystr, this.Font);
|
||||
var joyrect = new Rectangle(0, 0, (int)(joyfsize.Width * 1.1), (int)(joyfsize.Height * 1.1));
|
||||
e.Graphics.FillRectangle(Brushes.Black, joyrect);
|
||||
e.Graphics.DrawString(joystr, this.Font,
|
||||
Brushes.Gold,
|
||||
joyrect,
|
||||
new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center });
|
||||
e.Graphics.DrawRect(joyrect, Color.Black, 3);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user