/*翻译QueueStatusEntity至QueueStatus数据契约 TranslateQueueStatusEntityToQueueStatusContractData()*/
 private void TranslateQueueStatusEntityToQueueStatusContractData(QueueStatusEntity queueStatusEntity, QueueStatus queueStatus) {
     queueStatus.ErrorMessage    = queueStatusEntity.ErrorMessage;
     queueStatus.Capacity        = queueStatusEntity.Capacity;
     queueStatus.Process         = queueStatusEntity.Process;
     queueStatus.Mine            = queueStatusEntity.Mine;
     queueStatus.When            = queueStatusEntity.When;
 }
 /*查询排队状况 MyQueueStatus(Guid gAppointment)*/
 public QueueStatus MyQueueStatus(string userID, string password, string sAppointment) {
     UserService userService = new UserService();
     UserInfo userInfo = userService.Login(userID, password);
     if (userInfo.ErrorMessage == null) {
         return userService.MyQueueStatus(sAppointment);
     }
     else {
         QueueStatus queueStatus = new QueueStatus();
         queueStatus.ErrorMessage = userInfo.ErrorMessage;
         return queueStatus;
     }
 }
        /*查询排队状况 MyQueueStatus(Guid gAppointment)*/
        public QueueStatus MyQueueStatus(string sAppointment) {
            QueueStatus queueStatus = new QueueStatus();
            Guid gAppointment = Guid.Empty;
            try {
                gAppointment = new Guid(sAppointment);
            }
            catch {
                queueStatus.ErrorMessage = "480 Invalid Guid! @Service";
                return queueStatus;
            }
            QueueStatusEntity queueStatusEntity = userLogic.MyQueueStatus(gAppointment);
            TranslateQueueStatusEntityToQueueStatusContractData(queueStatusEntity, queueStatus);

            return queueStatus;
        }