Пример #1
0
        private async void button4_Click(object sender, EventArgs e)
        {
            // 热启动
            OperateResult result = await siemensTcpNet.HotStartAsync( );

            if (result.IsSuccess)
            {
                MessageBox.Show("Success");
            }
            else
            {
                MessageBox.Show("Failed: " + result.Message);
            }
        }