protected override void OnConnectStart() { devp_ = Property as DevicePropertyImpl; connect_task_ar_ = null; send_task_ar_ = null; recv_task_ar_ = null; send_data_ = null; recv_data_ = null; }
public DevicePropertyEditorImpl(DevicePropertyImpl devp) : this() { devp_ = devp as DevicePropertyImpl; initialize_ = true; { /* Address Family Type */ CBox_AddressFamily.SelectedItem = devp_.AddressFamily.Value; /* Server - Search Name */ IPAddrList_Server.HostName = devp_.RemoteAddress.Value; /* Server - Select IP Address */ IPAddrList_Server.SelectedIPAddress = devp_.RemoteIpAddress.Value; /* Server - Port No. */ Num_RemotePortNo.Value = (ushort)devp_.RemotePortNo.Value; /* Send Buffer Size */ Num_SendBufferSize.Value = devp_.SendBufferSize.Value; /* Recv Buffer Size */ Num_RecvBufferSize.Value = devp_.RecvBufferSize.Value; /* Reuse Address */ ChkBox_ReuseAddr.Checked = devp_.ReuseAddress.Value; /* KeepAlive - OnOff */ ChkBox_KeepAliveOnOff.Checked = devp_.KeepAliveOnOff.Value; /* KeepAlive - Time */ // ChkBox_KeepAliveTime.Checked = devp_.KeepAliveTime.Value; Num_KeepAliveTime.Value = devp_.KeepAliveTime_Value.Value; /* KeepAlive - Interval */ // ChkBox_KeepAliveInterval.Checked = devp_.KeepAliveInterval.Value; // Num_KeepAliveInterval.Value = devp_.KeepAliveInterval_Value.Value; /* KeepAlive - Retry Count */ // ChkBox_KeepAliveRetryCount.Checked = devp_.KeepAliveRetryCount.Value; // Num_KeepAliveRetryCount.Value = devp_.KeepAliveRetryCount_Value.Value; /* Unicast - TTL */ ChkBox_Unicast_TTL.Checked = devp_.TTL_Unicast.Value; Num_Unicast_TTL.Value = devp_.TTL_Unicast_Value.Value; } initialize_ = false; UpdateView(); }