查询细节

This commit is contained in:
Administrator committed 2026-05-17 02:25:09 +08:00
commit c70e3430f9
7 files changed
+223 -43

No files matched your search

+9 -37
View File
@@ -8,7 +8,7 @@ namespace SunlightAggregationTerminal;
public partial class InfoDetail : ContentPage
{
public static ObservableCollection<ProbuctItem> InfoProbuctItems { get; set; } = new();
public static ObservableCollection<DyelotItem> InfoDyelotItems { get; set; } = new();
public static ObservableCollection<DyelotDetailsItem> InfoDyelotDetailsItems { get; set; } = new();
public InfoDetail(InfoItem item)
{
InitializeComponent();
@@ -20,75 +20,47 @@ public partial class InfoDetail : ContentPage
InfoProbuctItems.Add(new ProbuctItem { ProductName = "afars", ProductCode = "cs", ProductState = "", ProductInf = "" });
InfoDyelotItems.Add(new DyelotItem { Dyelot = "2134566", Machine = "g01", CreationTime = "", CallTime = "" ,
InfoDyelotDetailsItems.Add(new DyelotDetailsItem
{ Dyelot = "2134566", Machine = "g01", CreationTime = "", CallTime = "" ,
ReDye="0",
Step = "0",
FabricName = "21345122343566",
ColorName = "g01",
CustomerName = "",
EndTime = "",
StartTime = "",
Information = "yyjjy\nfxfxdsdg\n",
});
InfoDyelotItems.Add(new DyelotItem
});
InfoDyelotDetailsItems.Add(new DyelotDetailsItem
{
Step = "3",
Dyelot = "231423134566",
Machine = "g01",
CreationTime = "",
CallTime = "",
FabricName = "2134566",
ColorName = "g01",
CustomerName = "",
EndTime = "",
StartTime = "",
Information = "yyjjy\nfxfxdsdg\n",
});
InfoDyelotItems.Add(new DyelotItem
InfoDyelotDetailsItems.Add(new DyelotDetailsItem
{
Step = "3",
Dyelot = "2131324354566",
Machine = "g01",
CreationTime = "",
CallTime = "",
FabricName = "2134566",
ColorName = "g01",
CustomerName = "",
EndTime = "",
StartTime = "",
Information = "yyjjy\nfxfxdsdg\n",
});
InfoDyelotItems.Add(new DyelotItem
InfoDyelotDetailsItems.Add(new DyelotDetailsItem
{
Dyelot = "2134123243566",
Machine = "g01",
CreationTime = "",
CallTime = "",
FabricName = "2134566",
ColorName = "g01",
CustomerName = "",
EndTime = "",
StartTime = "",
Information = "yyjjy\nfxfxdsdg\n",
});
InfoDyelotItems.Add(new DyelotItem
InfoDyelotDetailsItems.Add(new DyelotDetailsItem
{
Dyelot = "2134566",
Machine = "g01",
CreationTime = "",
CallTime = "",
FabricName = "2134566",
ColorName = "g01",
CustomerName = "",
EndTime = "",
StartTime = "",
Information = "yyjjy\nfxfxdsdg\n",
});
CardCollectionView_machine.ItemsSource = InfoProbuctItems;
CardCollectionView_history.ItemsSource = InfoDyelotItems;
CardCollectionView_history.ItemsSource = InfoDyelotDetailsItems;
}
private void Button_real(object sender, EventArgs e)