You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
787 B
28 lines
787 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Monitor.ModbusTcpEMeterTest
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
if(!HslCommunication.Authorization.SetAuthorizationCode("e3ef2dd5-2e1e-481d-99fe-452fe6bc00f0"))
|
|
{
|
|
MessageBox.Show("¼¤»îʧ°Ü!");
|
|
}
|
|
Application.SetHighDpiMode(HighDpiMode.SystemAware);
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new FrmElecMeterResult());
|
|
}
|
|
}
|
|
}
|