Пример #1
0
 public override int CompareTo(OrderDetail other)
 {
     return(ManifestId.CompareTo(other.ManifestId) + DSP_SEQ.CompareTo(other.DSP_SEQ) +
            ORD_NO.CompareTo(other.ORD_NO) + MDL_CNT.CompareTo(other.MDL_CNT) +
            MDL_NO.CompareTo(other.MDL_NO));// + WIN_CNT.CompareTo(other.WIN_CNT) +
     //BIN_NO.CompareTo(other.BIN_NO);
 }
Пример #2
0
 public override int CompareTo(Order other)
 {
     return(ManifestId.CompareTo(other.ManifestId) + DSP_SEQ.CompareTo(other.DSP_SEQ) +
            ORD_NO.CompareTo(other.ORD_NO) + MDL_CNT.CompareTo(other.MDL_CNT) +
            MDL_NO.CompareTo(other.MDL_NO) + HEIGHT.CompareTo(other.HEIGHT) + WIDTH.CompareTo(other.WIDTH));
 }