修改vpn名称绑定

master
mzhifa 6 months ago
parent ff0fdb85d5
commit 67a1f9cb86

@ -180,7 +180,7 @@
<TextBlock Text="VPN名称" Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" />
<TextBox Text="{Binding MainModel.VpnName}" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" />
<TextBlock Text="用户名:" Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" />
<TextBox Text="{Binding MainModel.VpnPsw}" Grid.Row="3" Grid.Column="1" VerticalAlignment="Center" />
<TextBox Text="{Binding MainModel.VpnUserName}" Grid.Row="3" Grid.Column="1" VerticalAlignment="Center" />
<TextBlock Text="密码:" Grid.Row="4" Grid.Column="0" VerticalAlignment="Center" />
<TextBox Text="{Binding MainModel.VpnPsw}" Grid.Row="4" Grid.Column="1" VerticalAlignment="Center" />

@ -1021,7 +1021,7 @@ namespace StartServerWPF.Modules.MseedChart.ViewModels
stopwatch.Stop();
currentTime = currentTime.AddSeconds(1);
double time3 = stopwatch.ElapsedMilliseconds;
Debug.WriteLine("timeFrame:{0},time1:{1}ms,time2:{2}mstime3:{3}ms", currentTime, time1, time2,time3);
Debug.WriteLine("timeFrame: {0},time1: {1}ms,time2: {2}mstime3: {3}ms, Now:{4}", currentTime, time1, time2,time3, DateTime.Now);
}
double _pointsAppended = 0;
double[][] _data;
@ -1046,8 +1046,8 @@ namespace StartServerWPF.Modules.MseedChart.ViewModels
_lChartAll.ViewXY.YAxes[yindex].SetRange(thisSeriesData.Min()-1, thisSeriesData.Max() + 1);
}
_lChartAll.ViewXY.SampleDataSeries[seriesIndex].AddSamples(thisSeriesData, false);
Debug.WriteLine($"{DateTime.Now}*********** index:{seriesIndex}," +
$" pointCount:{_lChartAll.ViewXY.SampleDataSeries[seriesIndex].PointCount}");
//Debug.WriteLine($"{DateTime.Now}*********** index:{seriesIndex}," +
// $" pointCount:{_lChartAll.ViewXY.SampleDataSeries[seriesIndex].PointCount}");
}
_pointsAppended += 1;

@ -14,7 +14,7 @@
"vpnInfo": {
"VpnName": "YUWU-VPN-BySM",
"VpnIP": "49.232.209.49",
"VpnUserName": "lzvpn",
"VpnUserName": "lzvpn02",
"VpnPsw": "Lz123456789",
"SystemLogPath": "Systemlog\\"
},

Loading…
Cancel
Save