コード例 #1
0
ファイル: ConstraintModel.cs プロジェクト: sbist/dcmsconnect
 /// <summary>
 /// Generate constraints based on the passed list of SPLH
 /// </summary>
 /// <param name="entity"></param>
 internal ConstraintModel(ConfigService.Constraint entity)
 {
     this.MaxBoxWeight         = entity.MaxBoxWeight;
     this.MaxSkuWithinBox      = entity.MaxSkuWithinBox;
     this.IsSingleStyleColor   = entity.IsSingleStyleColor;
     this.RequiredMinSkuPieces = entity.RequiredMinSkuPieces;
     this.RequiredMaxSkuPieces = entity.RequiredMaxSkuPieces;
 }
コード例 #2
0
ファイル: ConstraintModel.cs プロジェクト: sbist/dcmsconnect
 internal CustomerConstraintEditorModel(ConfigService.Constraint entity)
     : base(entity)
 {
     OrigRequiredMinSkuPieces = this.RequiredMinSkuPieces;
     OrigRequiredMaxSkuPieces = this.RequiredMaxSkuPieces;
     OrigMaxBoxWeight         = this.MaxBoxWeight;
     OrigMaxSkuWithinBox      = this.MaxSkuWithinBox;
     OrigIsSingleStyleColor   = this.IsSingleStyleColor;
 }