This commit is contained in:
@@ -48,8 +48,8 @@ namespace 外科辅料和患者防护罩激光抗性测试仪
|
|||||||
|
|
||||||
private void PrimaryIgnitionForm_Load(object sender, EventArgs e)
|
private void PrimaryIgnitionForm_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//string plcIp = "192.168.1.10";
|
string plcIp = "192.168.1.10";
|
||||||
string plcIp = "127.0.0.1";
|
//string plcIp = "127.0.0.1";
|
||||||
bool initSuccess = Data.ModbusResourceManager.Instance.Init(plcIp, 502);
|
bool initSuccess = Data.ModbusResourceManager.Instance.Init(plcIp, 502);
|
||||||
if (!initSuccess)
|
if (!initSuccess)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user