コード例 #1
0
ファイル: MovementCommandDto.cs プロジェクト: uwitec/wms-8
            public MovementCommands.AddLine ToAddLine()
            {
                var cmd = new MovementCommands.AddLine();

                cmd.LineNumber           = this.LineNumber;
                cmd.ProductId            = this.ProductId;
                cmd.LocatorIdFrom        = this.LocatorIdFrom;
                cmd.LocatorIdTo          = this.LocatorIdTo;
                cmd.AttributeSetInstance = this.AttributeSetInstance;
                cmd.Description          = this.Description;
                cmd.QuantityUomId        = this.QuantityUomId;
                cmd.MovementQuantity     = this.MovementQuantity;
                cmd.DocumentNumber       = this.DocumentNumber;
                cmd.Version     = this.Version;
                cmd.CommandId   = this.CommandId;
                cmd.RequesterId = this.RequesterId;
                return(cmd);
            }
コード例 #2
0
 public virtual void When(MovementCommands.AddLine c)
 {
     Update(c, ar => ar.AddLine(c.LineNumber, c.ProductId, c.LocatorIdFrom, c.LocatorIdTo, c.AttributeSetInstance, c.Description, c.QuantityUomId, c.MovementQuantity, c.Version, c.CommandId, c.RequesterId));
 }