初始化CRICS
This commit is contained in:
22
RCUHost/INetworkSettingReceiver.cs
Normal file
22
RCUHost/INetworkSettingReceiver.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Domain;
|
||||
|
||||
namespace RCUHost
|
||||
{
|
||||
public interface INetworkSettingReceiver
|
||||
{
|
||||
/// <summary>
|
||||
/// 设置主机网络参数
|
||||
/// </summary>
|
||||
/// <param name="host"></param>
|
||||
/// <param name="ip"></param>
|
||||
/// <param name="subnetmask"></param>
|
||||
/// <param name="gateway"></param>
|
||||
/// <param name="port"></param>
|
||||
/// <returns></returns>
|
||||
bool SetNetwork(Host host, string ip, string subnetmask, string gateway, int port);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user