async void SetDouble(object sender, RoutedEventArgs e) { double val = 1234.123d; double result = await AtTest.SetDouble(val); _tbInfo.Text = (result == val) ? "调用成功!" : "调用不成功!"; }