TrendViewer, 차트 LegendText 변경한 셀이름으로 표시
This commit is contained in:
@@ -578,8 +578,9 @@ namespace vmsnet
|
||||
}
|
||||
else myScatter.LineColor = ScottPlot.Colors.Red;
|
||||
myScatter.Color = myScatter.LineColor;
|
||||
myScatter.LegendText = $"CH{i + 1}";
|
||||
this.myPlots[i] = myScatter; //visible 변경및 데이터 접근을 위해 변수에 따로 저장해둔다.
|
||||
/* 작성자: 이재웅, 작성일: 2024-11-27, 내용: 변경한 셀이름으로 차트범례 표시 */
|
||||
myScatter.LegendText = chinfo.ItemArray[1].ToString(); //$"CH{i + 1}";
|
||||
this.myPlots[i] = myScatter; //visible 변경 및 데이터 접근을 위해 변수에 따로 저장해둔다.
|
||||
}
|
||||
formsPlot1.Plot.Axes.DateTimeTicksBottom();
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ using System.Data.SqlTypes;
|
||||
using System.Diagnostics;
|
||||
using vmsnet.Attributes;
|
||||
using vmsnet.Configures;
|
||||
using AR;
|
||||
|
||||
namespace vmsnet.HMI
|
||||
{
|
||||
@@ -1700,105 +1701,116 @@ namespace vmsnet.HMI
|
||||
base.OnPaint(e);
|
||||
//this.SuspendLayout();
|
||||
|
||||
///각영역을 새로 만들어야하는경우이다.
|
||||
if (bMakeRect)
|
||||
try
|
||||
{
|
||||
if (FullScreen)
|
||||
///각영역을 새로 만들어야하는경우이다.
|
||||
if (bMakeRect)
|
||||
{
|
||||
WindowRect = new RectangleF(Padding.Left, Padding.Top, this.Width - Padding.Left - Padding.Right, this.Height - Padding.Top - Padding.Bottom);
|
||||
//TrendRect = new RectangleF(0,0,0,0);
|
||||
// BarRect = new RectangleF(0, 0, 0, 0);
|
||||
// NavRect = new RectangleF(0, 0, 0, 0);
|
||||
if (FullScreen)
|
||||
{
|
||||
WindowRect = new RectangleF(Padding.Left, Padding.Top, this.Width - Padding.Left - Padding.Right, this.Height - Padding.Top - Padding.Bottom);
|
||||
//TrendRect = new RectangleF(0,0,0,0);
|
||||
// BarRect = new RectangleF(0, 0, 0, 0);
|
||||
// NavRect = new RectangleF(0, 0, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
WindowRect = new RectangleF(Padding.Left, Padding.Top, this.Width - Padding.Left - Padding.Right, this.Height - Padding.Top - Padding.Bottom);
|
||||
|
||||
//개별화면일경우
|
||||
// int WindowWidth = SmallSize; // (int)((this.Width - Padding.Left - Padding.Right) * 0.4);
|
||||
// int halfHeight = (int)((this.Height- Padding.Top - Padding.Bottom - 50-10) * 0.5);
|
||||
// WindowRect = new RectangleF(Padding.Left, Padding.Top, WindowWidth, this.Height - Padding.Top - Padding.Bottom);
|
||||
|
||||
// NavRect = new RectangleF(WindowRect.Right + 10, WindowRect.Top, this.Width - WindowRect.Right - 10 - 1, 50);
|
||||
// TrendRect = new RectangleF(NavRect.Left, WindowRect.Top + 50, this.Width - WindowRect.Right - 10 - 1, halfHeight);
|
||||
// BarRect = new RectangleF(NavRect.Left, TrendRect.Bottom + 10, TrendRect.Width, halfHeight);
|
||||
}
|
||||
bMakeRect = false;
|
||||
}
|
||||
|
||||
Buttons = new List<CButton>(0);
|
||||
//Buttonstag = new List<Object>(0);
|
||||
//Buttonstype = new List<EBUTTONTYPE>(0);
|
||||
|
||||
Boolean isnull = false;
|
||||
if (!init) isnull = true;
|
||||
else
|
||||
{
|
||||
|
||||
WindowRect = new RectangleF(Padding.Left, Padding.Top, this.Width - Padding.Left - Padding.Right, this.Height - Padding.Top - Padding.Bottom);
|
||||
|
||||
//개별화면일경우
|
||||
// int WindowWidth = SmallSize; // (int)((this.Width - Padding.Left - Padding.Right) * 0.4);
|
||||
// int halfHeight = (int)((this.Height- Padding.Top - Padding.Bottom - 50-10) * 0.5);
|
||||
// WindowRect = new RectangleF(Padding.Left, Padding.Top, WindowWidth, this.Height - Padding.Top - Padding.Bottom);
|
||||
|
||||
// NavRect = new RectangleF(WindowRect.Right + 10, WindowRect.Top, this.Width - WindowRect.Right - 10 - 1, 50);
|
||||
// TrendRect = new RectangleF(NavRect.Left, WindowRect.Top + 50, this.Width - WindowRect.Right - 10 - 1, halfHeight);
|
||||
// BarRect = new RectangleF(NavRect.Left, TrendRect.Bottom + 10, TrendRect.Width, halfHeight);
|
||||
}
|
||||
bMakeRect = false;
|
||||
}
|
||||
|
||||
Buttons = new List<CButton>(0);
|
||||
//Buttonstag = new List<Object>(0);
|
||||
//Buttonstype = new List<EBUTTONTYPE>(0);
|
||||
|
||||
Boolean isnull = false;
|
||||
if (!init) isnull = true;
|
||||
else
|
||||
{
|
||||
if (this.WINDOW == null || this.GROUPS == null) isnull = true;
|
||||
if (isnull && this.GROUPS.Length == 0) isnull = true;
|
||||
}
|
||||
|
||||
//표시아이템이없다면 오류를 낸다.
|
||||
if (isnull)
|
||||
{
|
||||
//progress
|
||||
int bw = (int)(this.Width * 0.8);
|
||||
int bh = 30;
|
||||
|
||||
Rectangle rr = new Rectangle((this.Width - bw) / 2, (this.Height - bh) / 2, bw, bh);
|
||||
Rectangle FullRect = new Rectangle(0, 0, this.Width, this.Height);
|
||||
using (var gradientBrush = new LinearGradientBrush(FullRect, Color.White, Color.White, LinearGradientMode.Vertical))
|
||||
{
|
||||
e.Graphics.FillRectangle(gradientBrush, FullRect);
|
||||
SizeF initsize = e.Graphics.MeasureString(initmsg, FONT_NANUM_20_BOLD);
|
||||
e.Graphics.DrawString(initmsg, FONT_NANUM_20_BOLD, Brushes.Black, this.Width / 2 - initsize.Width / 2, this.Height / 2 - initsize.Height / 2 - bh - 20);
|
||||
if (this.WINDOW == null || this.GROUPS == null) isnull = true;
|
||||
if (isnull && this.GROUPS.Length == 0) isnull = true;
|
||||
}
|
||||
|
||||
using (var lb = new LinearGradientBrush(rr, Color.LightBlue, Color.SkyBlue, LinearGradientMode.Vertical))
|
||||
//표시아이템이없다면 오류를 낸다.
|
||||
if (isnull)
|
||||
{
|
||||
if (initpercent > 100) initpercent = 100;
|
||||
int perc = (int)(rr.Width * initpercent / 100);
|
||||
e.Graphics.FillRectangle(lb, new Rectangle(rr.Left, rr.Top, perc, rr.Height));
|
||||
e.Graphics.DrawRectangle(Pens.DarkGray, rr);
|
||||
e.Graphics.DrawRectangle(Pens.DarkGoldenrod, FullRect.Left, FullRect.Top, FullRect.Width - 1, FullRect.Height - 1);
|
||||
//progress
|
||||
int bw = (int)(this.Width * 0.8);
|
||||
int bh = 30;
|
||||
|
||||
Rectangle rr = new Rectangle((this.Width - bw) / 2, (this.Height - bh) / 2, bw, bh);
|
||||
Rectangle FullRect = new Rectangle(0, 0, this.Width, this.Height);
|
||||
using (var gradientBrush = new LinearGradientBrush(FullRect, Color.White, Color.White, LinearGradientMode.Vertical))
|
||||
{
|
||||
e.Graphics.FillRectangle(gradientBrush, FullRect);
|
||||
SizeF initsize = e.Graphics.MeasureString(initmsg, FONT_NANUM_20_BOLD);
|
||||
e.Graphics.DrawString(initmsg, FONT_NANUM_20_BOLD, Brushes.Black, this.Width / 2 - initsize.Width / 2, this.Height / 2 - initsize.Height / 2 - bh - 20);
|
||||
}
|
||||
|
||||
using (var lb = new LinearGradientBrush(rr, Color.LightBlue, Color.SkyBlue, LinearGradientMode.Vertical))
|
||||
{
|
||||
if (initpercent > 100) initpercent = 100;
|
||||
int perc = (int)(rr.Width * initpercent / 100);
|
||||
e.Graphics.FillRectangle(lb, new Rectangle(rr.Left, rr.Top, perc, rr.Height));
|
||||
e.Graphics.DrawRectangle(Pens.DarkGray, rr);
|
||||
e.Graphics.DrawRectangle(Pens.DarkGoldenrod, FullRect.Left, FullRect.Top, FullRect.Width - 1, FullRect.Height - 1);
|
||||
}
|
||||
|
||||
this.ResumeLayout();
|
||||
return;
|
||||
}
|
||||
|
||||
this.ResumeLayout();
|
||||
return;
|
||||
}
|
||||
// AntiAliasing
|
||||
e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
|
||||
|
||||
// AntiAliasing
|
||||
e.Graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
|
||||
//그룹목록
|
||||
DrawGroups(e.Graphics); /* GROUPS 화면 Display !!! */
|
||||
|
||||
//그룹목록
|
||||
DrawGroups(e.Graphics); /* GROUPS 화면 Display !!! */
|
||||
|
||||
//monitor off display
|
||||
if (MonitorOn == false)
|
||||
{
|
||||
e.Graphics.FillRectangle(SB_WhiteSmoke_200, DisplayRectangle);
|
||||
e.Graphics.DrawString("MONITOR PAUSE", FONT_TAHOMA_80_BOLD, Brushes.Gray, DisplayRectangle, new StringFormat
|
||||
//monitor off display
|
||||
if (MonitorOn == false)
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
});
|
||||
}
|
||||
|
||||
//if (!FullScreen && ShowIndex >= 0)
|
||||
{
|
||||
//트렌드뷰용채널데이터를 새로 만드는경우
|
||||
//if (bMakeTrendViewChData) MakeTrendViewChData();
|
||||
|
||||
//마지막데이터와 2초의 차이가 있다면 데이터를 생성해준다.
|
||||
DateTime NOwdate = DateTime.Now;
|
||||
TimeSpan ts = NOwdate - LastNotifyTime;
|
||||
if (ts.TotalSeconds >= NotifyDataSecond)
|
||||
{
|
||||
//알림
|
||||
if (OnNotifyData != null) OnNotifyData(NOwdate);
|
||||
LastNotifyTime = NOwdate;
|
||||
e.Graphics.FillRectangle(SB_WhiteSmoke_200, DisplayRectangle);
|
||||
e.Graphics.DrawString("MONITOR PAUSE", FONT_TAHOMA_80_BOLD, Brushes.Gray, DisplayRectangle, new StringFormat
|
||||
{
|
||||
Alignment = StringAlignment.Center,
|
||||
LineAlignment = StringAlignment.Center,
|
||||
});
|
||||
}
|
||||
|
||||
//if (!FullScreen && ShowIndex >= 0)
|
||||
{
|
||||
//트렌드뷰용채널데이터를 새로 만드는경우
|
||||
//if (bMakeTrendViewChData) MakeTrendViewChData();
|
||||
|
||||
//마지막데이터와 2초의 차이가 있다면 데이터를 생성해준다.
|
||||
DateTime NOwdate = DateTime.Now;
|
||||
TimeSpan ts = NOwdate - LastNotifyTime;
|
||||
if (ts.TotalSeconds >= NotifyDataSecond)
|
||||
{
|
||||
//알림
|
||||
if (OnNotifyData != null) OnNotifyData(NOwdate);
|
||||
LastNotifyTime = NOwdate;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (NullReferenceException ex1)
|
||||
{
|
||||
// UI 디스플레이 중, 예외발생 문제
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// else error !!!
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -58,9 +58,10 @@ namespace vmsnet
|
||||
ErrorMessage = "포트명이 입력되지 않았습니다";
|
||||
return false;
|
||||
}
|
||||
|
||||
if (port != null && port.IsOpen) port.Close();
|
||||
|
||||
if (port == null) port = new SerialPort(this.PortName);
|
||||
//if (port == null) port = new SerialPort(this.PortName);
|
||||
port = new SerialPort(this.PortName);
|
||||
port.BaudRate = Configure.BaudRate;
|
||||
port.Parity = Configure.Parity;
|
||||
port.DataBits = Configure.DataBits;
|
||||
|
||||
10
cVMS.NET_CS/Properties/Resources.Designer.cs
generated
10
cVMS.NET_CS/Properties/Resources.Designer.cs
generated
@@ -60,6 +60,16 @@ namespace vmsnet.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap applix {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("applix", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
|
||||
/// </summary>
|
||||
|
||||
@@ -118,23 +118,17 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="Backup_Green_Button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Backup Green Button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Blue_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Blue Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="Purple_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Purple Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Clear_Green_Button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Clear Green Button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="down_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\down_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="Blue_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Blue Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="down_orange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\down_orange.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Get_Info_Blue_Button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Get Info Blue Button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="Backup_Green_Button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Backup Green Button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="graphsetting" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\icons8-positive-dynamic-48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
@@ -142,16 +136,25 @@
|
||||
<data name="Green_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Green Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Orange_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Orange Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Purple_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Purple Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Red_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Red Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="Get_Info_Blue_Button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Get Info Blue Button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="up_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\up_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="down_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\down_16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="down_orange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\down_orange.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Orange_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Orange Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Red_Ball" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Red Ball.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="applix" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\applix.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
||||
BIN
cVMS.NET_CS/Resources/applix.png
Normal file
BIN
cVMS.NET_CS/Resources/applix.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 735 B |
32
cVMS.NET_CS/Setting/Frm_Config.Designer.cs
generated
32
cVMS.NET_CS/Setting/Frm_Config.Designer.cs
generated
@@ -1229,7 +1229,7 @@ namespace vmsnet
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dv_device.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.dv_device.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dv_device.Location = new System.Drawing.Point(0, 34);
|
||||
this.dv_device.Location = new System.Drawing.Point(0, 33);
|
||||
this.dv_device.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.dv_device.MultiSelect = false;
|
||||
this.dv_device.Name = "dv_device";
|
||||
@@ -1245,7 +1245,7 @@ namespace vmsnet
|
||||
this.dv_device.RowHeadersWidth = 62;
|
||||
this.dv_device.RowTemplate.Height = 23;
|
||||
this.dv_device.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dv_device.Size = new System.Drawing.Size(1509, 815);
|
||||
this.dv_device.Size = new System.Drawing.Size(1509, 816);
|
||||
this.dv_device.TabIndex = 0;
|
||||
//
|
||||
// M_IDX
|
||||
@@ -1411,7 +1411,7 @@ namespace vmsnet
|
||||
this.bn_Device.Name = "bn_Device";
|
||||
this.bn_Device.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0);
|
||||
this.bn_Device.PositionItem = this.BindingNavigatorPositionItem;
|
||||
this.bn_Device.Size = new System.Drawing.Size(1509, 34);
|
||||
this.bn_Device.Size = new System.Drawing.Size(1509, 33);
|
||||
this.bn_Device.TabIndex = 1;
|
||||
this.bn_Device.Text = "BindingNavigator1";
|
||||
//
|
||||
@@ -1421,13 +1421,13 @@ namespace vmsnet
|
||||
this.BindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorAddNewItem.Image")));
|
||||
this.BindingNavigatorAddNewItem.Name = "BindingNavigatorAddNewItem";
|
||||
this.BindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
|
||||
this.BindingNavigatorAddNewItem.Size = new System.Drawing.Size(34, 29);
|
||||
this.BindingNavigatorAddNewItem.Size = new System.Drawing.Size(34, 28);
|
||||
this.BindingNavigatorAddNewItem.Text = "새로 추가";
|
||||
//
|
||||
// BindingNavigatorCountItem
|
||||
//
|
||||
this.BindingNavigatorCountItem.Name = "BindingNavigatorCountItem";
|
||||
this.BindingNavigatorCountItem.Size = new System.Drawing.Size(39, 29);
|
||||
this.BindingNavigatorCountItem.Size = new System.Drawing.Size(39, 28);
|
||||
this.BindingNavigatorCountItem.Text = "/{0}";
|
||||
this.BindingNavigatorCountItem.ToolTipText = "전체 항목 수";
|
||||
//
|
||||
@@ -1437,7 +1437,7 @@ namespace vmsnet
|
||||
this.BindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorDeleteItem.Image")));
|
||||
this.BindingNavigatorDeleteItem.Name = "BindingNavigatorDeleteItem";
|
||||
this.BindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
|
||||
this.BindingNavigatorDeleteItem.Size = new System.Drawing.Size(34, 29);
|
||||
this.BindingNavigatorDeleteItem.Size = new System.Drawing.Size(34, 28);
|
||||
this.BindingNavigatorDeleteItem.Text = "삭제";
|
||||
//
|
||||
// BindingNavigatorMoveFirstItem
|
||||
@@ -1446,7 +1446,7 @@ namespace vmsnet
|
||||
this.BindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMoveFirstItem.Image")));
|
||||
this.BindingNavigatorMoveFirstItem.Name = "BindingNavigatorMoveFirstItem";
|
||||
this.BindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
|
||||
this.BindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(34, 29);
|
||||
this.BindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(34, 28);
|
||||
this.BindingNavigatorMoveFirstItem.Text = "처음으로 이동";
|
||||
//
|
||||
// BindingNavigatorMovePreviousItem
|
||||
@@ -1455,13 +1455,13 @@ namespace vmsnet
|
||||
this.BindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMovePreviousItem.Image")));
|
||||
this.BindingNavigatorMovePreviousItem.Name = "BindingNavigatorMovePreviousItem";
|
||||
this.BindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
|
||||
this.BindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(34, 29);
|
||||
this.BindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(34, 28);
|
||||
this.BindingNavigatorMovePreviousItem.Text = "이전으로 이동";
|
||||
//
|
||||
// BindingNavigatorSeparator
|
||||
//
|
||||
this.BindingNavigatorSeparator.Name = "BindingNavigatorSeparator";
|
||||
this.BindingNavigatorSeparator.Size = new System.Drawing.Size(6, 34);
|
||||
this.BindingNavigatorSeparator.Size = new System.Drawing.Size(6, 33);
|
||||
//
|
||||
// BindingNavigatorPositionItem
|
||||
//
|
||||
@@ -1476,7 +1476,7 @@ namespace vmsnet
|
||||
// BindingNavigatorSeparator1
|
||||
//
|
||||
this.BindingNavigatorSeparator1.Name = "BindingNavigatorSeparator1";
|
||||
this.BindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 34);
|
||||
this.BindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 33);
|
||||
//
|
||||
// BindingNavigatorMoveNextItem
|
||||
//
|
||||
@@ -1484,7 +1484,7 @@ namespace vmsnet
|
||||
this.BindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMoveNextItem.Image")));
|
||||
this.BindingNavigatorMoveNextItem.Name = "BindingNavigatorMoveNextItem";
|
||||
this.BindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
|
||||
this.BindingNavigatorMoveNextItem.Size = new System.Drawing.Size(34, 29);
|
||||
this.BindingNavigatorMoveNextItem.Size = new System.Drawing.Size(34, 28);
|
||||
this.BindingNavigatorMoveNextItem.Text = "다음으로 이동";
|
||||
//
|
||||
// BindingNavigatorMoveLastItem
|
||||
@@ -1493,18 +1493,18 @@ namespace vmsnet
|
||||
this.BindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("BindingNavigatorMoveLastItem.Image")));
|
||||
this.BindingNavigatorMoveLastItem.Name = "BindingNavigatorMoveLastItem";
|
||||
this.BindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
|
||||
this.BindingNavigatorMoveLastItem.Size = new System.Drawing.Size(34, 29);
|
||||
this.BindingNavigatorMoveLastItem.Size = new System.Drawing.Size(34, 28);
|
||||
this.BindingNavigatorMoveLastItem.Text = "마지막으로 이동";
|
||||
//
|
||||
// BindingNavigatorSeparator2
|
||||
//
|
||||
this.BindingNavigatorSeparator2.Name = "BindingNavigatorSeparator2";
|
||||
this.BindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 34);
|
||||
this.BindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 33);
|
||||
//
|
||||
// ToolStripSeparator8
|
||||
//
|
||||
this.ToolStripSeparator8.Name = "ToolStripSeparator8";
|
||||
this.ToolStripSeparator8.Size = new System.Drawing.Size(6, 34);
|
||||
this.ToolStripSeparator8.Size = new System.Drawing.Size(6, 33);
|
||||
//
|
||||
// toolStripButton1
|
||||
//
|
||||
@@ -1513,6 +1513,7 @@ namespace vmsnet
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(172, 29);
|
||||
this.toolStripButton1.Text = "IP SET(127.0.0.1)";
|
||||
this.toolStripButton1.Visible = false;
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
|
||||
//
|
||||
// toolStripButton2
|
||||
@@ -1522,6 +1523,7 @@ namespace vmsnet
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(217, 29);
|
||||
this.toolStripButton2.Text = "IP SET(192.168.0.1 ~ )";
|
||||
this.toolStripButton2.Visible = false;
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
|
||||
//
|
||||
// TabPage5
|
||||
@@ -2726,7 +2728,7 @@ namespace vmsnet
|
||||
//
|
||||
// toolStripButton15
|
||||
//
|
||||
this.toolStripButton15.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton15.Image")));
|
||||
this.toolStripButton15.Image = global::vmsnet.Properties.Resources.applix;
|
||||
this.toolStripButton15.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton15.Name = "toolStripButton15";
|
||||
this.toolStripButton15.Size = new System.Drawing.Size(130, 29);
|
||||
|
||||
@@ -38,11 +38,16 @@ namespace vmsnet
|
||||
this.Controls.Add(StatusStrip1);
|
||||
this.Controls.Add(ToolStrip1);
|
||||
|
||||
/* 작성자: 이재웅, 작성일: 2024-10-11, 작성내용: PC에 인가된 통신포트들만 표시 */
|
||||
string[] ports = GetAvailablePorts();
|
||||
|
||||
/* 작성자: 이재웅, 작성일: 2024-10-11, 작성내용: PC에 인가된 통신포트들만 표시 */
|
||||
cmb_plcport.Items.Clear();
|
||||
cmb_plcport.Items.AddRange(ports);
|
||||
|
||||
/* 작성자: 이재웅, 작성일: 2024-11-27, 작성내용: KA 인디게이터용 PC에서 인가된 통신포트 표시 */
|
||||
cmbIndiport.Items.Clear();
|
||||
cmbIndiport.Items.AddRange(ports);
|
||||
|
||||
/* 작성자: 이재웅, 작성일: 2024-09-24, 작성내용: 유닛의 채널설정 ToolTip 초기화 */
|
||||
for (int i = 0; i < tTip.GetLength(0); i++)
|
||||
for (int j = 0; j < tTip.GetLength(1); j++)
|
||||
@@ -1017,7 +1022,7 @@ namespace vmsnet
|
||||
}
|
||||
|
||||
private void toolStripButton15_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
{ // 셀이름변경
|
||||
this.bs_channel.EndEdit();
|
||||
using (var f = new Dialog.fCellNameChange())
|
||||
if (f.ShowDialog() == DialogResult.OK)
|
||||
@@ -1053,7 +1058,7 @@ namespace vmsnet
|
||||
dr.EndEdit();
|
||||
chno += 1;
|
||||
}
|
||||
UTIL.MsgE("이름이 변경되었습니다");
|
||||
UTIL.MsgI("이름이 변경되었습니다");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -647,21 +647,6 @@
|
||||
+UkzM4NkSVIS9Kf8d6OjoxdNuQMUj96BoKCg2TExMc9RoRfYEBV9mYuFhITM4w7R+I0R+J5O/BrlvRIc
|
||||
HPwS76H554lnp/QOjApOFsyMwEX4FGyOofunRuB7ypnBOaP3jNThgu4xbdpfHAkWza6mNEcAAAAASUVO
|
||||
RK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton15.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="bs_normal.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
||||
Reference in New Issue
Block a user