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

28 lines
811 B
C#

using HighWayIot.Config;
using HighWayIot.Log4net;
using HighWayIot.Repository.service;
using HighWayIot.Repository.service.Impl;
using System;
namespace HighWayIot
{
internal class Program
{
private static LogHelper logger = LogHelper.Instance;
private static AppConfig appConfig = AppConfig.Instance;
private static IExecutePlanInfoService execPlanInfoService = new ExecutePlanInfoServiceImpl();
static void Main(string[] args)
{
logger.Info("初始化启动");
var info = execPlanInfoService.GetStationHourAmount(appConfig.stationCode);
foreach (var item in info)
{
Console.WriteLine($"productLine_code:{item.productLine_code}");
}
}
}
}