示例#1
0
 public WorkQueueTypeProperties(
     WorkQueueTypeEnum _workQueueTypeEnum_
     , WorkQueuePriorityEnum _workQueuePriorityEnum_
     , Boolean _memoryLimited_
     , Boolean _alertFailedWorkQueue_
     , Int32 _maxFailureCount_
     , Int32 _processDelaySeconds_
     , Int32 _failureDelaySeconds_
     , Int32 _deleteDelaySeconds_
     , Int32 _postponeDelaySeconds_
     , Int32 _expireDelaySeconds_
     , Int32 _maxBatchSize_
     , Boolean _readLock_
     , Boolean _writeLock_
     , QueueStudyStateEnum _queueStudyStateEnum_
     , Int16 _queueStudyStateOrder_
     ) : base("WorkQueueTypeProperties")
 {
     WorkQueueTypeEnum     = _workQueueTypeEnum_;
     WorkQueuePriorityEnum = _workQueuePriorityEnum_;
     MemoryLimited         = _memoryLimited_;
     AlertFailedWorkQueue  = _alertFailedWorkQueue_;
     MaxFailureCount       = _maxFailureCount_;
     ProcessDelaySeconds   = _processDelaySeconds_;
     FailureDelaySeconds   = _failureDelaySeconds_;
     DeleteDelaySeconds    = _deleteDelaySeconds_;
     PostponeDelaySeconds  = _postponeDelaySeconds_;
     ExpireDelaySeconds    = _expireDelaySeconds_;
     MaxBatchSize          = _maxBatchSize_;
     ReadLock             = _readLock_;
     WriteLock            = _writeLock_;
     QueueStudyStateEnum  = _queueStudyStateEnum_;
     QueueStudyStateOrder = _queueStudyStateOrder_;
 }
 public WorkQueue(
     ServerEntityKey _serverPartitionKey_
     , ServerEntityKey _studyStorageKey_
     , WorkQueueTypeEnum _workQueueTypeEnum_
     , WorkQueueStatusEnum _workQueueStatusEnum_
     , WorkQueuePriorityEnum _workQueuePriorityEnum_
     , DateTime _scheduledTime_
     , DateTime _insertTime_
     , Int32 _failureCount_
     , String _failureDescription_
     , XmlDocument _data_
     , DateTime _lastUpdatedTime_
     , String _processorID_
     , String _groupID_
     , DateTime _expirationTime_
     , ServerEntityKey _deviceKey_
     , ServerEntityKey _studyHistoryKey_
     ) : base("WorkQueue")
 {
     ServerPartitionKey    = _serverPartitionKey_;
     StudyStorageKey       = _studyStorageKey_;
     WorkQueueTypeEnum     = _workQueueTypeEnum_;
     WorkQueueStatusEnum   = _workQueueStatusEnum_;
     WorkQueuePriorityEnum = _workQueuePriorityEnum_;
     ScheduledTime         = _scheduledTime_;
     InsertTime            = _insertTime_;
     FailureCount          = _failureCount_;
     FailureDescription    = _failureDescription_;
     Data            = _data_;
     LastUpdatedTime = _lastUpdatedTime_;
     ProcessorID     = _processorID_;
     GroupID         = _groupID_;
     ExpirationTime  = _expirationTime_;
     DeviceKey       = _deviceKey_;
     StudyHistoryKey = _studyHistoryKey_;
 }