コード例 #1
0
ファイル: ModelSelection.cs プロジェクト: snJustice/YSMS_SZSK
 public void copy(ModelSelection ms)
 {
     this.PhotoIndex = ms.PhotoIndex;
     this.HasModel1  = ms.HasModel1;
     this.HasModel2  = ms.HasModel2;
     this.HasModel3  = ms.HasModel3;
     this.HasModel4  = ms.HasModel4;
 }
コード例 #2
0
        ///// <summary>
        ///// 优先匹配工位几 0,不指定 1,工位1...
        ///// </summary>
        //public int PriorityStationModel { get; set; }

        //设置拍照张数,并设置模板选择列表
        public void SetCameraPhotoCount(int PhotoCount)
        {
            if (CameraPhotoCount != PhotoCount &&
                PhotoCount >= 0)
            {
                CameraPhotoCount = PhotoCount;
                PhotoModelSelectionList.Clear();
                for (int i = 1; i < PhotoCount + 1; i++)
                {
                    ModelSelection ms = new ModelSelection(i);
                    PhotoModelSelectionList.Add(ms);
                }
            }
        }