步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.4 KiB

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
{
/// <summary>
/// LookCerWindow.xaml 的交互逻辑
/// </summary>
public partial class LookCerWindow : BWindow
{
public LookCerWindow(CertificateModel[] certificate)
{
InitializeComponent();
GoodsNumberCerList = new ObservableCollection<GoodsNumberCer>();
int goodsNumberIndex = 0;
foreach (CertificateModel certificateModel in certificate)
{
goodsNumberIndex++;
certificateModel.GoodsNumberIndex = goodsNumberIndex;
GoodsNumberCerList.Add(new GoodsNumberCer
{
CertificateModel = certificateModel.Copy(),
});
}
this.DataContext = this;
}
public ObservableCollection<GoodsNumberCer> GoodsNumberCerList { get; set; }
}
}