Namespace UTSModule.Service ''' ''' 任务类型接口,每个任务必须实现的功能 ''' Public Interface IServiceTask ''' ''' 任务开始 ''' Sub Start() ''' ''' 任务退出 ''' Sub [Stop]() ''' ''' 重启任务 ''' Sub Restart() ''' ''' 设置任务参数 ''' ''' Sub SetParams(params As Dictionary(Of String, String)) ''' ''' 获取任务参数 ''' ''' Function GetParams() As Dictionary(Of String, String) End Interface End Namespace