示例#1
0
        public static OperationType GetOperationType(OperationDetailsResult detailsResult)
        {
            if (detailsResult == null)
            {
                return(OperationType.Unknown);
            }

            return((detailsResult.OperationType == OperationType.IncomingTransfer && detailsResult.Status == ResponseStatus.InProgress)
                ? OperationType.HoldForPickupTransfer
                : detailsResult.OperationType);
        }
        public static OperationType GetOperationType(OperationDetailsResult detailsResult)
        {
            if (detailsResult == null)
                return OperationType.Unknown;

            return (detailsResult.OperationType == OperationType.IncomingTransfer && detailsResult.Status == ResponseStatus.InProgress)
                ? OperationType.HoldForPickupTransfer
                : detailsResult.OperationType;
        }