using HighWayIot.Log4net; using HighWayIot.Repository.service; using HighWayIot.Repository.service.Impl; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HighWayIot { internal class Program { private static LogHelper logger = LogHelper.Instance; private static ISysUserInfoService mysqlTest = new SysUserInfoServiceImpl(); private static IBaseBomInfoService oracleTest = new BaseBomInfoServiceImpl(); private static readonly IBaseSpaceInfoService spaceInfoService = new BaseSpaceInfoServiceImpl(); static void Main(string[] args) { logger.Info("初始化启动"); var info = spaceInfoService.GetSpaceInfoByMaterialType("X-001", "SC232"); } } }