/// <summary>
        /// Updata processStatus
        /// </summary>
        /// <param name="generalRequestCommand">GeneralRequestCommand object</param>
        /// <returns></returns>
        private ByteString UpdateProcessStatus(SessionRequestCommand sRequestCommand)
        {
            if (sRequestCommand.ParametersCount < 2)
            {
                return(null);
            }
            string     proxyName     = sRequestCommand.GetParameters(0).ToStringUtf8();
            ByteString processStatus = sRequestCommand.GetParameters(1);

            if (_processStatusDic.ContainsKey(proxyName))
            {
                _processStatusDic[proxyName] = processStatus;
            }
            else
            {
                _processStatusDic.Add(proxyName, processStatus);
            }
            return(ByteString.CopyFromUtf8(string.Empty));
        }
        /// <summary>
        /// Merge datahead
        /// </summary>
        /// <param name="generalRequestCommand"></param>
        /// <returns></returns>
        private byte[] StoreSystemSessionData(SessionRequestCommand sRequestCommand)//deadhead的merge,注意tag的vr
        {
            if (sRequestCommand.ParametersCount < 1)
            {
                return(null);
            }
            byte[] serializeDataHead = sRequestCommand.GetParameters(0).ToByteArray();
            DicomAttributeCollection dAttributeCollection = SessionUtility.DeserializeDataHead(serializeDataHead);

            foreach (DicomAttribute dAttribute in dAttributeCollection)
            {
                if (_dataHead.Contains(dAttribute.Tag))
                {
                    _dataHead.RemoveDicomAttribute(dAttribute);
                }
                _dataHead.AddDicomAttribute(dAttribute);
            }
            return(new byte[] { });
        }
        /// <summary>
        /// Query processStatus by proxyName
        /// </summary>
        /// <param name="generalRequestCommand">GeneralRequestCommand object</param>
        /// <returns></returns>
        private ByteString QueryProcessStatus(SessionRequestCommand sRequestCommand)
        {
            ByteString proxyName = sRequestCommand.GetParameters(0);

            return(_processStatusDic.ContainsKey(proxyName.ToStringUtf8()) ? _processStatusDic[proxyName.ToStringUtf8()] : null);
        }