using BBWY.Client.Models; using BBWY.Controls; using NPOI.Util; using Org.BouncyCastle.Crypto.Tls; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace BBWY.Client.Views.PackTask { /// /// LookCerWindow.xaml 的交互逻辑 /// public partial class LookCerWindow : BWindow { public LookCerWindow(CertificateModel[] certificate) { InitializeComponent(); GoodsNumberCerList = new ObservableCollection(); foreach (CertificateModel certificateModel in certificate) GoodsNumberCerList.Add(new GoodsNumberCer { CertificateModel = certificateModel.Copy(), }); this.DataContext = this; } public ObservableCollection GoodsNumberCerList { get; set; } } }