|
@@ -27,8 +27,8 @@ namespace SCADA_DAQ.Plugin.Qilin.Uct.FeedingInformation
|
|
|
{
|
|
|
InitializeComponent();
|
|
|
|
|
|
- //var firstButtonWeldingKnivesString = new string[] { "焊架切刀", "切刀工作", "焊架刀模", "下面刀", "双面刀", "上面刀" };
|
|
|
- //var secondButtonWeldingKnivesString = new string[] { "焊架刀模闭合", "焊架切刀往上", "焊架切割点检", "焊架切刀往下" };
|
|
|
+ var firstButtonWeldingKnivesString = new string[] { "焊架切刀", "切刀工作", "焊架刀模", "下面刀", "双面刀", "上面刀" };
|
|
|
+ var secondButtonWeldingKnivesString = new string[] { "焊架刀模闭合", "焊架切刀往上", "焊架切割点检", "焊架切刀往下" };
|
|
|
var oneWeldingKnivesString = new string[] { "焊架延迟时间", "s" };
|
|
|
var twoWeldingKnivesString = new string[] { "焊架保持时间", "s" };
|
|
|
var threeWeldingKnivesString = new string[] { "焊架打开延迟", "s" };
|
|
@@ -36,7 +36,7 @@ namespace SCADA_DAQ.Plugin.Qilin.Uct.FeedingInformation
|
|
|
var weldingKnivesList = new List<string[]>() { oneWeldingKnivesString, twoWeldingKnivesString, threeWeldingKnivesString };
|
|
|
for (int i = 0; i < 6; i++)
|
|
|
{
|
|
|
- var basicInformation = new UctSingleButtonControl() { FontSize = 20 ,Width=150,Height=50};
|
|
|
+ var basicInformation = new UctButtonControl() { FontSize = 20 ,Width=150,Height=50,Title= firstButtonWeldingKnivesString[i]};
|
|
|
basicInformation.DataContext = Omron.GetListenReg(firstReg[i]);
|
|
|
var row = i / 3;
|
|
|
Grid.SetRow(basicInformation, row);
|
|
@@ -56,7 +56,7 @@ namespace SCADA_DAQ.Plugin.Qilin.Uct.FeedingInformation
|
|
|
var ScendReg = new string[] {"CIO303.4", "CIO303.5", "CIO303.7", "CIO303.6" };
|
|
|
for (int i = 0; i < 4; i++)
|
|
|
{
|
|
|
- var basicInformation = new UctRegButtonTitleUnit() { FontSize = 20 };
|
|
|
+ var basicInformation = new UctButtonControl() { FontSize = 20,Width = 220, Height = 50, Title = secondButtonWeldingKnivesString[i] };
|
|
|
basicInformation.DataContext = Omron.GetListenReg(ScendReg[i]);
|
|
|
var row = i / 2;
|
|
|
Grid.SetRow(basicInformation, row);
|