• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Enterprise.ServerEntityKey类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ClearCanvas.ImageServer.Enterprise.ServerEntityKey的典型用法代码示例。如果您正苦于以下问题:C# ServerEntityKey类的具体用法?C# ServerEntityKey怎么用?C# ServerEntityKey使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ServerEntityKey类属于ClearCanvas.ImageServer.Enterprise命名空间,在下文中一共展示了ServerEntityKey类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: StudyDeleteRecord

 public StudyDeleteRecord(
      String _studyInstanceUid_
     ,DateTime _timestamp_
     ,String _serverPartitionAE_
     ,ServerEntityKey _filesystemKey_
     ,String _backupPath_
     ,String _reason_
     ,String _accessionNumber_
     ,String _patientId_
     ,String _patientsName_
     ,String _studyId_
     ,String _studyDescription_
     ,String _studyDate_
     ,String _studyTime_
     ,XmlDocument _archiveInfo_
     ,String _extendedInfo_
     ):base("StudyDeleteRecord")
 {
     StudyInstanceUid = _studyInstanceUid_;
     Timestamp = _timestamp_;
     ServerPartitionAE = _serverPartitionAE_;
     FilesystemKey = _filesystemKey_;
     BackupPath = _backupPath_;
     Reason = _reason_;
     AccessionNumber = _accessionNumber_;
     PatientId = _patientId_;
     PatientsName = _patientsName_;
     StudyId = _studyId_;
     StudyDescription = _studyDescription_;
     StudyDate = _studyDate_;
     StudyTime = _studyTime_;
     ArchiveInfo = _archiveInfo_;
     ExtendedInfo = _extendedInfo_;
 }
开发者ID:nhannd,项目名称:Xian,代码行数:34,代码来源:StudyDeleteRecord.gen.cs


示例2: Load

 static public FilesystemStudyStorage Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:FilesystemStudyStorage.gen.cs


示例3: Load

 static public StudyIntegrityQueueUid Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:StudyIntegrityQueueUid.gen.cs


示例4: Load

 static public ProcedureCode Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:ProcedureCode.gen.cs


示例5: Load

 static public RequestAttributes Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:RequestAttributes.gen.cs


示例6: Load

 static public RequestAttributes Load(ServerEntityKey key)
 {
     using (var read = PersistentStoreRegistry.GetDefaultStore().OpenReadContext())
     {
         return Load(read, key);
     }
 }
开发者ID:UIKit0,项目名称:ClearCanvas,代码行数:7,代码来源:RequestAttributes.gen.cs


示例7: Load

 static public DatabaseVersion Load(ServerEntityKey key)
 {
     using (var read = PersistentStoreRegistry.GetDefaultStore().OpenReadContext())
     {
         return Load(read, key);
     }
 }
开发者ID:UIKit0,项目名称:ClearCanvas,代码行数:7,代码来源:DatabaseVersion.gen.cs


示例8: Load

 static public PartitionTransferSyntax Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:PartitionTransferSyntax.gen.cs


示例9: Load

 static public ServerSopClass Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:ServerSopClass.gen.cs


示例10: Device

 public Device(
      Boolean _dhcp_
     ,Boolean _enabled_
     ,Boolean _allowStorage_
     ,Boolean _acceptKOPR_
     ,Boolean _allowRetrieve_
     ,Boolean _allowQuery_
     ,Boolean _allowAutoRoute_
     ,Int16 _throttleMaxConnections_
     ,DateTime _lastAccessedTime_
     ,DeviceTypeEnum _deviceTypeEnum_
     ,ServerEntityKey _serverPartitionKey_
     ,String _aeTitle_
     ,Int32 _port_
     ,String _description_
     ,String _ipAddress_
     ):base("Device")
 {
     Dhcp = _dhcp_;
     Enabled = _enabled_;
     AllowStorage = _allowStorage_;
     AcceptKOPR = _acceptKOPR_;
     AllowRetrieve = _allowRetrieve_;
     AllowQuery = _allowQuery_;
     AllowAutoRoute = _allowAutoRoute_;
     ThrottleMaxConnections = _throttleMaxConnections_;
     LastAccessedTime = _lastAccessedTime_;
     DeviceTypeEnum = _deviceTypeEnum_;
     ServerPartitionKey = _serverPartitionKey_;
     AeTitle = _aeTitle_;
     Port = _port_;
     Description = _description_;
     IpAddress = _ipAddress_;
 }
开发者ID:nhannd,项目名称:Xian,代码行数:34,代码来源:Device.gen.cs


示例11: Load

 static public ArchiveQueue Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:ArchiveQueue.gen.cs


示例12: LockStudyCommand

		public LockStudyCommand(ServerEntityKey studyStorageKey, bool writeLock, bool readLock)
			: base("LockStudy")
		{
			_studyStorageKey = studyStorageKey;
			_readLock = readLock;
			_writeLock = writeLock;
		}
开发者ID:UIKit0,项目名称:ClearCanvas,代码行数:7,代码来源:LockStudyCommand.cs


示例13: Load

 static public StudyIntegrityQueueUid Load(ServerEntityKey key)
 {
     using (var read = PersistentStoreRegistry.GetDefaultStore().OpenReadContext())
     {
         return Load(read, key);
     }
 }
开发者ID:nhannd,项目名称:Xian,代码行数:7,代码来源:StudyIntegrityQueueUid.gen.cs


示例14: Load

 static public FilesystemQueue Load(ServerEntityKey key)
 {
     using (var read = PersistentStoreRegistry.GetDefaultStore().OpenReadContext())
     {
         return Load(read, key);
     }
 }
开发者ID:UIKit0,项目名称:ClearCanvas,代码行数:7,代码来源:FilesystemQueue.gen.cs


示例15: Load

 static public ArchiveStudyStorage Load(ServerEntityKey key)
 {
     using (var read = PersistentStoreRegistry.GetDefaultStore().OpenReadContext())
     {
         return Load(read, key);
     }
 }
开发者ID:nhannd,项目名称:Xian,代码行数:7,代码来源:ArchiveStudyStorage.gen.cs


示例16: Load

 static public DataAccessGroup Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:DataAccessGroup.gen.cs


示例17: Load

 static public ServerTransferSyntax Load(ServerEntityKey key)
 {
     using (var read = PersistentStoreRegistry.GetDefaultStore().OpenReadContext())
     {
         return Load(read, key);
     }
 }
开发者ID:UIKit0,项目名称:ClearCanvas,代码行数:7,代码来源:ServerTransferSyntax.gen.cs


示例18: Load

 static public StudyHistory Load(ServerEntityKey key)
 {
     using (var context = new ServerExecutionContext())
     {
         return Load(context.ReadContext, key);
     }
 }
开发者ID:m-berkani,项目名称:ClearCanvas,代码行数:7,代码来源:StudyHistory.gen.cs


示例19: MoveSeries

        /// <summary>
        /// Inserts a move request to move one or more series in a study.
        /// </summary>
        /// <param name="context">The persistence context used for database connection.</param>
        /// <param name="partition">The <see cref="ServerPartition"/> where the study resides</param>
        /// <param name="studyInstanceUid">The Study Instance Uid of the study</param>
        /// <param name="deviceKey">The Key of the device to move the series to.</param> 
        /// <param name="seriesInstanceUids">The Series Instance Uid of the series to be move.</param>
        /// <param name="externalRequest">Optional <see cref="ExternalRequestQueue"/> entry that triggered this move</param>
        /// <returns>A MoveSeries <see cref="WorkQueue"/> entry inserted into the system.</returns>
        /// <exception cref="InvalidStudyStateOperationException"></exception>
        public static IList<WorkQueue> MoveSeries(IUpdateContext context, ServerPartition partition, string studyInstanceUid, ServerEntityKey deviceKey, List<string> seriesInstanceUids, ExternalRequestQueue externalRequest=null)
        {
            // Find all location of the study in the system and insert series delete request
			IList<StudyStorageLocation> storageLocations = StudyStorageLocation.FindStorageLocations(partition.Key, studyInstanceUid);
			IList<WorkQueue> entries = new List<WorkQueue>();

            foreach (StudyStorageLocation location in storageLocations)
            {
                try
                {
                    // insert a move series request
                    WorkQueue request = InsertMoveSeriesRequest(context, location, seriesInstanceUids, deviceKey, externalRequest);
                    Debug.Assert(request.WorkQueueTypeEnum.Equals(WorkQueueTypeEnum.WebMoveStudy));
                    entries.Add(request);
                }
                catch (Exception ex)
                {
                    Platform.Log(LogLevel.Error, ex, "Errors occurred when trying to insert move request");
                    if (!ServerHelper.UnlockStudy(location.Key))
                        throw new ApplicationException("Unable to unlock the study");
                }
            }

            return entries;
        }
开发者ID:yjsyyyjszf,项目名称:ClearCanvas-1,代码行数:36,代码来源:StudyEditorHelper.cs


示例20: Load

 static public PartitionSopClass Load(ServerEntityKey key)
 {
     using (var read = PersistentStoreRegistry.GetDefaultStore().OpenReadContext())
     {
         return Load(read, key);
     }
 }
开发者ID:UIKit0,项目名称:ClearCanvas,代码行数:7,代码来源:PartitionSopClass.gen.cs



注:本文中的ClearCanvas.ImageServer.Enterprise.ServerEntityKey类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Model.ServerPartition类代码示例发布时间:2022-05-24
下一篇:
C# Command.CommandProcessor类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap