|
@@ -23,17 +23,28 @@ namespace SCADA_DAQ.Plugin.Qilin.Uct.BedNetworkInformation
|
|
|
public UctBedMeshCloth()
|
|
|
{
|
|
|
InitializeComponent();
|
|
|
- var firstMeshClothString = new string[] {"接布延迟时间","s" };
|
|
|
- var secondMeshClothString = new string[] {"接布焊接时间","s"};
|
|
|
- var thirMeshClothString = new string[] { "接布保压时间","s"};
|
|
|
- var arrayMeshCloth = new List<string[]>(){ firstMeshClothString, secondMeshClothString , thirMeshClothString };
|
|
|
+ var clothName = new List<string>() { "上面布", "上面布焊接", "上接布气缸", "下面布", "下面布焊接", "下接布气缸" };
|
|
|
+ for (int i = 0; i < 6; i++)
|
|
|
+ {
|
|
|
+ var basicInformation = new UctButtonControl() { FontSize = 20, Title = clothName[i],Width=150,Height=50};
|
|
|
+ var row = i / 3;
|
|
|
+ Grid.SetRow(basicInformation, row);
|
|
|
+ var colum = i % 3;
|
|
|
+ Grid.SetColumn(basicInformation, colum);
|
|
|
+ FirstBedMeshCloth.Children.Add(basicInformation);
|
|
|
+ }
|
|
|
+
|
|
|
+ var firstMeshClothString = new string[] { "接布延迟时间", "s" };
|
|
|
+ var secondMeshClothString = new string[] { "接布焊接时间", "s" };
|
|
|
+ var thirMeshClothString = new string[] { "接布保压时间", "s" };
|
|
|
+ var arrayMeshCloth = new List<string[]>() { firstMeshClothString, secondMeshClothString, thirMeshClothString };
|
|
|
for (int i = 0; i < 3; i++)
|
|
|
{
|
|
|
var basicInformation = new UctArrayTextValueUnitControl() { FontSize = 20, Title = arrayMeshCloth[i] };
|
|
|
var row = i % 3;
|
|
|
- Grid.SetRow(basicInformation,row);
|
|
|
- var col = 1;
|
|
|
- Grid.SetColumn(basicInformation,col);
|
|
|
+ Grid.SetRow(basicInformation, row);
|
|
|
+ var colum = 1;
|
|
|
+ Grid.SetColumn(basicInformation, colum);
|
|
|
ScendBedMeshCloth.Children.Add(basicInformation);
|
|
|
}
|
|
|
}
|