示例#1
0
        public PhoneDataController()
        {
            _sessionCtx = SessionContextProvider.GetSessionContext();
            _dataProcessor = new DataProcessor(_sessionCtx.DataContext);

            _piWebClients = _dataProcessor.Consumers.Select(consumer => new PIWebClient(_sessionCtx.UserContext, consumer)).ToList();

            
            _efClient = new PIWebClient(_sessionCtx.UserContext, null);
        }
示例#2
0
 public AFMetaDataController()
 {
     _sessionContext = SessionContextProvider.GetSessionContext();
     _piWebClient = new PIWebClient(_sessionContext.UserContext, null);
 }