示例#1
0
 public static PreWarningLastedResultQuery GetLatestWarningResultInstance()
 {
     //单例模式
     return(_latestWarningResult ?? (_latestWarningResult = new PreWarningLastedResultQuery()));
 }
示例#2
0
 public static void ReleaseLatestWarningResultInstance()
 {
     _latestWarningResult.Close();
     _latestWarningResult.Dispose();
     _latestWarningResult = null;
 }
示例#3
0
 public static void CleanLatestWarningResult()
 {
     _latestWarningResult.Close();
     _latestWarningResult.Dispose();
     _latestWarningResult = null;
 }