示例#1
0
        public void ScalaUpdate()
        {
            ScalaConnector        scalaConnector = new ScalaConnector(Config.ScalaFactoryConfigPath);
            IList <ScalaProvider> scalaProvList  = scalaConnector.GetProvidersData();
            List <Provider>       provList       = GetAll() as List <Provider>;

            ScalaUpdate(provList, scalaProvList);
        }
示例#2
0
        public void ScalaUpdate(List <int> provIDList, bool markedAll)
        {
            ScalaConnector  scalaConnector = new ScalaConnector(Config.ScalaFactoryConfigPath);
            List <Provider> provList       = GetProviderList(provIDList, markedAll);
            List <string>   provCodeList   = new List <string>();

            foreach (Provider provider in provList)
            {
                provCodeList.Add(provider.Code);
            }
            IList <ScalaProvider> scalaProvList = scalaConnector.GetProvidersData(provCodeList);

            ScalaUpdate(provList, scalaProvList);
        }