public override string ToString() { string sequenceStr = ""; if (OutOfSequence) { sequenceStr = " - OUT OF SEQUENCE "; } return(PbiNumber.ToString().Trim().PadLeft(25, ' ') + (ScaleWeight.ToString("0.00") + "LBS").PadLeft(25, ' ') + Created.ToLocalTime().ToString("MM/dd/yyyy hh:mm:ss tt").PadLeft(25, ' ') + sequenceStr); }
//=============== { Scale Weight } ==============// public object Any(ScaleWeight request) { string ScaleDataResult = "newWeight"; return(ScaleDataResult); }
public void ProduceLabel(int orderDetailId, ScaleWeight weight, OmsLabelType labelType, DateTime?processDate) { ProduceLabel(orderDetailId, weight.Gross, labelType, 1, processDate); }
public int ProduceLabel(int orderDetailId, ScaleWeight weight, OmsLabelType labelType) { return(ProduceLabel(orderDetailId, weight.Gross, labelType)); }