Пример #1
0
 public CCTVStaticInfo GetStaticInfo(string videoId)
 {
     if (Environment.TickCount - _lastSITick > 60000)
     {
         _lastSITick = Environment.TickCount;
         ClientHub.UpdateDefault(CCTVInfoType.StaticInfo);
     }
     return(ClientHub.GetStaticInfo(videoId));
 }
Пример #2
0
 public CCTVStaticInfo GetStaticInfo(string videoId)
 {
     return(ClientHub?.GetStaticInfo(videoId));
 }