C# Class BLL.ActiveImagingTask

显示文件 Open project: cdadmin/clonedeploy Class Usage Examples

Public Methods

Method Description
ActiveUnicastCount ( int userId, string taskType ) : string
AddActiveImagingTask ( Models activeImagingTask ) : bool
AllActiveCount ( int userId ) : string
AllActiveCountAdmin ( ) : int
DeleteActiveImagingTask ( int activeImagingTaskId ) : bool
DeleteAll ( ) : void
DeleteForMulticast ( int multicastId ) : void
GetCurrentQueue ( string qType ) : int
GetLastQueuedTask ( string qType ) : Models.ActiveImagingTask
GetMulticastComputers ( int multicastId ) : List
GetNextComputerInQueue ( string qType ) : Models.ActiveImagingTask
GetQueuePosition ( int computerId ) : string
GetTask ( int computerId ) : Models.ActiveImagingTask
IsComputerActive ( int computerId ) : bool
MulticastMemberStatus ( int multicastId ) : List
MulticastProgress ( int multicastId ) : List
ReadAll ( int userId ) : List
ReadUnicasts ( int userId, string taskType ) : List
SendTaskCompletedEmail ( Models task ) : void
SendTaskErrorEmail ( Models task, string error ) : void
UpdateActiveImagingTask ( Models activeImagingTask ) : bool

Method Details

ActiveUnicastCount() public static method

public static ActiveUnicastCount ( int userId, string taskType ) : string
userId int
taskType string
return string

AddActiveImagingTask() public static method

public static AddActiveImagingTask ( Models activeImagingTask ) : bool
activeImagingTask Models
return bool

AllActiveCount() public static method

public static AllActiveCount ( int userId ) : string
userId int
return string

AllActiveCountAdmin() public static method

public static AllActiveCountAdmin ( ) : int
return int

DeleteActiveImagingTask() public static method

public static DeleteActiveImagingTask ( int activeImagingTaskId ) : bool
activeImagingTaskId int
return bool

DeleteAll() public static method

public static DeleteAll ( ) : void
return void

DeleteForMulticast() public static method

public static DeleteForMulticast ( int multicastId ) : void
multicastId int
return void

GetCurrentQueue() public static method

public static GetCurrentQueue ( string qType ) : int
qType string
return int

GetLastQueuedTask() public static method

public static GetLastQueuedTask ( string qType ) : Models.ActiveImagingTask
qType string
return Models.ActiveImagingTask

GetMulticastComputers() public static method

public static GetMulticastComputers ( int multicastId ) : List
multicastId int
return List

GetNextComputerInQueue() public static method

public static GetNextComputerInQueue ( string qType ) : Models.ActiveImagingTask
qType string
return Models.ActiveImagingTask

GetQueuePosition() public static method

public static GetQueuePosition ( int computerId ) : string
computerId int
return string

GetTask() public static method

public static GetTask ( int computerId ) : Models.ActiveImagingTask
computerId int
return Models.ActiveImagingTask

IsComputerActive() public static method

public static IsComputerActive ( int computerId ) : bool
computerId int
return bool

MulticastMemberStatus() public static method

public static MulticastMemberStatus ( int multicastId ) : List
multicastId int
return List

MulticastProgress() public static method

public static MulticastProgress ( int multicastId ) : List
multicastId int
return List

ReadAll() public static method

public static ReadAll ( int userId ) : List
userId int
return List

ReadUnicasts() public static method

public static ReadUnicasts ( int userId, string taskType ) : List
userId int
taskType string
return List

SendTaskCompletedEmail() public static method

public static SendTaskCompletedEmail ( Models task ) : void
task Models
return void

SendTaskErrorEmail() public static method

public static SendTaskErrorEmail ( Models task, string error ) : void
task Models
error string
return void

UpdateActiveImagingTask() public static method

public static UpdateActiveImagingTask ( Models activeImagingTask ) : bool
activeImagingTask Models
return bool