Exemple #1
0
        private void BtnModifyArchor_OnClick(object sender, RoutedEventArgs e)
        {
            Archor Archor = new Archor();

            Archor.Code       = "85G8";
            Archor.Name       = "测试";
            Archor.X          = 1000;
            Archor.Y          = 1000;
            Archor.Z          = 1000;
            Archor.Type       = 0;
            Archor.IsAutoIp   = true;
            Archor.Ip         = "127.0.0.1";
            Archor.ServerIp   = "127.0.0.1";
            Archor.ServerPort = 40010;
            Archor.Power      = 100;
            Archor.AliveTime  = 100;
            Archor.Enable     = 0;
            Archor.DevInfoId  = 10;

            client.EditBusAnchor(Archor, 1);
        }