You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aucma.Scada/HighWayIot/Program.cs

34 lines
925 B
C#

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 IBaseDeviceinfoService sqliteTest = new BaseDeviceinfoServiceImpl();
1 year ago
private static ISysUserInfoService mysqlTest = new SysUserInfoServiceImpl();
private static IBaseBomInfoService oracleTest = new BaseBomInfoServiceImpl();
static void Main(string[] args)
{
logger.Info("初始化启动");
var info = sqliteTest.GetDeviceInfoListByProcessId(3);
var info2 = mysqlTest.GetUserInfos();
var info3 = oracleTest.GetBomInfos();
}
}
}