新增功能:
1 编写海底基站、主/备地震仪电源控制功能; 2 编写电源开关、功能启停状态On/Off提示,并根据用户操作情况实时更改;
This commit is contained in:
parent
694a624124
commit
c4840dff0c
Binary file not shown.
@ -2,38 +2,54 @@
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\viewmodels\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\viewmodels\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\viewmodels\\boosterstationstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\viewmodels\\boosterstationstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\views\\systemcontrolview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\views\\systemcontrolview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\models\\servermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\models\\servermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\viewmodels\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\viewmodels\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\models\\clientmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\models\\clientmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\models\\lowercomputermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\models\\lowercomputermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\common\\server.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\common\\server.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\base\\command.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\base\\command.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\models\\seismographmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\models\\seismographmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\viewmodels\\systemstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\viewmodels\\systemstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\views\\realtimedataview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\views\\realtimedataview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\base\\command.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\base\\command.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\viewmodels\\systemstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\viewmodels\\systemstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\views\\seismometerstatedataview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\views\\seismometerstatedataview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
@ -46,14 +62,6 @@
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\viewmodels\\seismometerstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\viewmodels\\seismometerstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\viewmodels\\boosterstationstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\viewmodels\\boosterstationstatedataviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\models\\clientmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\models\\clientmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\views\\boosterstationstatedataview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\views\\boosterstationstatedataview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
@ -94,11 +102,11 @@
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 169,
|
||||
"SelectedChildIndex": 16,
|
||||
"SelectedChildIndex": 20,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 15,
|
||||
"DocumentIndex": 17,
|
||||
"Title": "App.config",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\App.config",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\App.config",
|
||||
@ -109,22 +117,48 @@
|
||||
"WhenOpened": "2024-04-24T08:54:53.626Z",
|
||||
"IsPinned": true
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "LowerComputerModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\LowerComputerModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\LowerComputerModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\LowerComputerModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Models\\LowerComputerModel.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAGMBAAA5AAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-17T02:27:46.939Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "ServerModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\ServerModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\ServerModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\ServerModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Models\\ServerModel.cs",
|
||||
"ViewState": "AQIAAHkAAAAAAAAAAAAQwJAAAAAgAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-17T01:54:39.276Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "Server.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Common\\Server.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Common\\Server.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Common\\Server.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Common\\Server.cs",
|
||||
"ViewState": "AQIAAO8AAAAAAAAAAAAQwAUBAAAdAAAA",
|
||||
"ViewState": "AQIAAOUAAAAAAAAAAAAzwAkBAAAqAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-16T07:49:02.5Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"DocumentIndex": 10,
|
||||
"Title": "Command.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Base\\Command.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Base\\Command.cs",
|
||||
@ -137,7 +171,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"DocumentIndex": 12,
|
||||
"Title": "SeismometerStateDataView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
@ -149,7 +183,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"DocumentIndex": 14,
|
||||
"Title": "SeismometerStateDataViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
@ -162,7 +196,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"DocumentIndex": 13,
|
||||
"Title": "SystemControlView.xaml.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SystemControlView.xaml.cs",
|
||||
@ -175,20 +209,20 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 11,
|
||||
"DocumentIndex": 1,
|
||||
"Title": "BoosterStationStateDataViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\BoosterStationStateDataViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\BoosterStationStateDataViewModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\BoosterStationStateDataViewModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\ViewModels\\BoosterStationStateDataViewModel.cs",
|
||||
"ViewState": "AQIAAO8BAAAAAAAAAAAqwAYCAAA6AAAA",
|
||||
"ViewState": "AQIAAH8AAAAAAAAAAAAAAEUBAAAwAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-14T00:25:10.523Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 13,
|
||||
"DocumentIndex": 15,
|
||||
"Title": "BoosterStationStateDataView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\BoosterStationStateDataView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\BoosterStationStateDataView.xaml",
|
||||
@ -200,7 +234,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 14,
|
||||
"DocumentIndex": 16,
|
||||
"Title": "CSVDownload.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Common\\CSVDownload.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Common\\CSVDownload.cs",
|
||||
@ -213,7 +247,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"DocumentIndex": 9,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\MainWindow.xaml",
|
||||
@ -225,7 +259,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 17,
|
||||
"DocumentIndex": 19,
|
||||
"Title": "AlarmRecordViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\AlarmRecordViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\AlarmRecordViewModel.cs",
|
||||
@ -237,7 +271,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 18,
|
||||
"DocumentIndex": 20,
|
||||
"Title": "EarthQuakeParaSetModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\EarthQuakeParaSetModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\EarthQuakeParaSetModel.cs",
|
||||
@ -249,7 +283,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 20,
|
||||
"DocumentIndex": 22,
|
||||
"Title": "DBHelper.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\DataAccess\\DBHelper.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\DataAccess\\DBHelper.cs",
|
||||
@ -261,7 +295,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 16,
|
||||
"DocumentIndex": 18,
|
||||
"Title": "VolCurCollectorModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\VolCurCollectorModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\VolCurCollectorModel.cs",
|
||||
@ -273,7 +307,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"DocumentIndex": 11,
|
||||
"Title": "SystemStateDataViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SystemStateDataViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\SystemStateDataViewModel.cs",
|
||||
@ -286,7 +320,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 19,
|
||||
"DocumentIndex": 21,
|
||||
"Title": "Tools.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Common\\Tools.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Common\\Tools.cs",
|
||||
@ -298,19 +332,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "SystemControlView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-05-09T08:34:40.529Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 12,
|
||||
"DocumentIndex": 4,
|
||||
"Title": "ClientModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
@ -324,32 +346,44 @@
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "SystemControlView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-05-09T08:34:40.529Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "MainViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\MainViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\MainViewModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\MainViewModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\ViewModels\\MainViewModel.cs",
|
||||
"ViewState": "AQIAACkAAAAAAAAAAAAUwEQFAAAAAAAA",
|
||||
"ViewState": "AQIAAIMKAAAAAAAAAAAgwKcKAABHAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-03-12T06:03:03.53Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"DocumentIndex": 7,
|
||||
"Title": "SeismographModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\SeismographModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\SeismographModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\SeismographModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Models\\SeismographModel.cs",
|
||||
"ViewState": "AQIAABkAAAAAAAAAAAAkwDoAAAAJAAAA",
|
||||
"ViewState": "AQIAAEICAAAAAAAAAAAkwCsDAABVAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-14T07:44:15.338Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"DocumentIndex": 8,
|
||||
"Title": "RealTimeDataView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\RealTimeDataView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\RealTimeDataView.xaml",
|
||||
|
||||
@ -249,7 +249,7 @@ namespace JiangsuEarthquake.Common
|
||||
/// 向所有在线的客户端发送信息.
|
||||
/// </summary>
|
||||
/// <param name="SendData">发送的byte[]</param>
|
||||
public void SendToAll(byte[] SendData)
|
||||
public bool SendToAll(byte[] SendData)
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -258,10 +258,13 @@ namespace JiangsuEarthquake.Common
|
||||
if (item != null)
|
||||
SendToClient(item.Ip, SendData);
|
||||
});
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//Console.Write(ex.Message);
|
||||
Console.Write(ex.Message);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -52,11 +52,24 @@ namespace JiangsuEarthquake.Models
|
||||
//CRC校验失败
|
||||
if (checkCodeCRC != byteList[^1])
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
try
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
@ -77,11 +90,24 @@ namespace JiangsuEarthquake.Models
|
||||
byteLength = BitConverter.ToInt16(new byte[] { byteList[3], byteList[2] }, 0);
|
||||
if(byteLength!=106) //长度校验失败
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
try
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (byteList[7] == 0x00) //数据类型(0-hex格式,1-string)
|
||||
@ -99,19 +125,46 @@ namespace JiangsuEarthquake.Models
|
||||
gestureY = BitConverter.ToSingle(new byte[4] { byteList[27], byteList[26], byteList[25], byteList[24] }, 0);
|
||||
gestureZ = BitConverter.ToSingle(new byte[4] { byteList[31], byteList[30], byteList[29], byteList[28] }, 0);
|
||||
|
||||
//发送成功信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
try
|
||||
{
|
||||
//发送成功信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
try
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//数据存储
|
||||
@ -134,11 +187,24 @@ namespace JiangsuEarthquake.Models
|
||||
byteLength = BitConverter.ToInt16(new byte[] { byteList[3], byteList[2] }, 0);
|
||||
if (byteLength != 45) //长度校验失败
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
try
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
@ -206,19 +272,45 @@ namespace JiangsuEarthquake.Models
|
||||
voltage121 = BitConverter.ToSingle(new byte[] { byteList[18], byteList[17], byteList[16], byteList[15] }, 0);
|
||||
voltage122 = BitConverter.ToSingle(new byte[] { byteList[18], byteList[17], byteList[16], byteList[15] }, 0);
|
||||
|
||||
//发送成功信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
try
|
||||
{
|
||||
//发送成功信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x01).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
try
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//数据存储
|
||||
@ -231,11 +323,24 @@ namespace JiangsuEarthquake.Models
|
||||
byteLength = BitConverter.ToInt16(new byte[] { byteList[3], byteList[2] }, 0);
|
||||
if (byteLength != 8) //长度校验失败
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
else if (id == 2)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
try
|
||||
{
|
||||
//发送失败信息
|
||||
if (id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1 != null && MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
else if (id == 2)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2 != null && MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(ServerReplyData(byteList[5], byteList[6], 0x00).ToArray());
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
List<byte> SendData = new List<byte>();
|
||||
|
||||
@ -642,6 +642,7 @@ namespace JiangsuEarthquake.Models
|
||||
MainWindow.mainViewModel.timerOpenSetMsgHidden.Start();
|
||||
MainWindow.mainViewModel.OpenSetMsgForeground = new SolidColorBrush(Colors.Green);
|
||||
MainWindow.mainViewModel.timerSeisZeroSetStart.Stop();
|
||||
MainWindow.mainViewModel.ImageSourceSetZero = (ImageSource)Application.Current.FindResource("DeviceOn");
|
||||
MainWindow.mainViewModel.SeisZeroSetStartButtonIsEnabled = true;
|
||||
MainWindow.mainViewModel.SeisZeroSetStopButtonIsEnabled = true;
|
||||
}
|
||||
@ -658,6 +659,7 @@ namespace JiangsuEarthquake.Models
|
||||
MainWindow.mainViewModel.timerCloseSetMsgHidden.Start();
|
||||
MainWindow.mainViewModel.CloseSetMsgForeground = new SolidColorBrush(Colors.Green);
|
||||
MainWindow.mainViewModel.timerSeisZeroSetStop.Stop();
|
||||
MainWindow.mainViewModel.ImageSourceSetZero = (ImageSource)Application.Current.FindResource("DeviceOff");
|
||||
MainWindow.mainViewModel.SeisZeroSetStopButtonIsEnabled = true;
|
||||
MainWindow.mainViewModel.SeisZeroSetStartButtonIsEnabled = true;
|
||||
}
|
||||
@ -788,6 +790,7 @@ namespace JiangsuEarthquake.Models
|
||||
MainWindow.mainViewModel.timerOpenSetMsgHidden.Start();
|
||||
MainWindow.mainViewModel.OpenSetMsgForeground = new SolidColorBrush(Colors.Green);
|
||||
MainWindow.mainViewModel.timerSeisLevelSetStart.Stop();
|
||||
MainWindow.mainViewModel.ImageSourceSetLevel = (ImageSource)Application.Current.FindResource("DeviceOn");
|
||||
MainWindow.mainViewModel.SeisLevelSetStartButtonIsEnabled = true;
|
||||
MainWindow.mainViewModel.SeisLevelSetStopButtonIsEnabled = true;
|
||||
}
|
||||
@ -804,6 +807,7 @@ namespace JiangsuEarthquake.Models
|
||||
MainWindow.mainViewModel.timerCloseSetMsgHidden.Start();
|
||||
MainWindow.mainViewModel.CloseSetMsgForeground = new SolidColorBrush(Colors.Green);
|
||||
MainWindow.mainViewModel.timerSeisLevelSetStop.Stop();
|
||||
MainWindow.mainViewModel.ImageSourceSetLevel = (ImageSource)Application.Current.FindResource("DeviceOff");
|
||||
MainWindow.mainViewModel.SeisLevelSetStopButtonIsEnabled = true;
|
||||
MainWindow.mainViewModel.SeisLevelSetStartButtonIsEnabled = true;
|
||||
}
|
||||
|
||||
@ -140,12 +140,21 @@ namespace JiangsuEarthquake.Models
|
||||
/// <summary>
|
||||
/// 推送消息
|
||||
/// </summary>
|
||||
public void SendMess(byte[] SendData)
|
||||
public bool SendMessage(byte[] SendData)
|
||||
{
|
||||
Task.Factory.StartNew(new Action(() =>
|
||||
bool result = false;
|
||||
try
|
||||
{
|
||||
_server.SendToAll(SendData);
|
||||
}));
|
||||
Task.Factory.StartNew(new Action(() =>
|
||||
{
|
||||
result = _server.SendToAll(SendData);
|
||||
}));
|
||||
}
|
||||
catch
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -323,6 +323,8 @@ namespace JiangsuEarthquake.ViewModels
|
||||
}
|
||||
#endregion
|
||||
|
||||
public BoosterStationStateDataViewModel()
|
||||
{ }
|
||||
|
||||
public BoosterStationStateDataViewModel(int id)
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -243,12 +243,12 @@ namespace JiangsuEarthquake.ViewModels
|
||||
if (station_id == 1)
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel1.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel1.SendMess(new byte[4] { 0x00, 0x01, 0x02, 0x04 });
|
||||
MainWindow.mainViewModel.serverModel1.SendMessage(new byte[4] { 0x00, 0x01, 0x02, 0x04 });
|
||||
}
|
||||
else
|
||||
{
|
||||
if (MainWindow.mainViewModel.serverModel2.IsOpened)
|
||||
MainWindow.mainViewModel.serverModel2.SendMess(new byte[4] { 0x00, 0x01, 0x02, 0x03 });
|
||||
MainWindow.mainViewModel.serverModel2.SendMessage(new byte[4] { 0x00, 0x01, 0x02, 0x03 });
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -853,9 +853,12 @@
|
||||
|
||||
<TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
FontSize="16" Foreground="White" Text="海底基站电源:"/>
|
||||
<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<!--<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding BaseStationPowerBackground}"/>
|
||||
Background="{Binding BaseStationPowerBackground}"/>-->
|
||||
<Image Grid.Column="1" Source="{Binding ImageSourceBaseStation}" Height="40" Width="40"
|
||||
Stretch="Fill"/>
|
||||
|
||||
<Button Grid.Column="2" Name="BaseStationPowerPicker" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
@ -920,9 +923,12 @@
|
||||
|
||||
<TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
FontSize="16" Foreground="White" Text="主地震仪电源:"/>
|
||||
<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<!--<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding MainSeisPowerBackground}"/>
|
||||
Background="{Binding MainSeisPowerBackground}"/>-->
|
||||
<Image Grid.Column="1" Source="{Binding ImageSourceMainSeis}" Height="40" Width="40"
|
||||
Stretch="Fill"/>
|
||||
|
||||
<Button Grid.Column="2" Name="MainSeisPowerPicker" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
@ -987,9 +993,12 @@
|
||||
|
||||
<TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
FontSize="16" Foreground="White" Text="备地震仪电源:"/>
|
||||
<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<!--<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding BackupSeisPowerBackground}"/>
|
||||
Background="{Binding BackupSeisPowerBackground}"/>-->
|
||||
<Image Grid.Column="1" Source="{Binding ImageSourceBackupSeis}" Height="40" Width="40"
|
||||
Stretch="Fill"/>
|
||||
|
||||
<Button Grid.Column="2" Name="BackupSeisPowerPicker" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
@ -1229,7 +1238,7 @@
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Image Grid.Column="0" Source="/Assets/Images/DeviceOff.png" Height="40" Width="40"
|
||||
<Image Grid.Column="0" Source="{Binding ImageSourceSetZero}" Height="40" Width="40"
|
||||
Stretch="Fill" HorizontalAlignment="Left"/>
|
||||
|
||||
<TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
@ -1245,7 +1254,7 @@
|
||||
<ColumnDefinition Width="1*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Image Grid.Column="0" Source="/Assets/Images/DeviceOn.png" Height="40" Width="40"
|
||||
<Image Grid.Column="0" Source="{Binding ImageSourceSetLevel}" Height="40" Width="40"
|
||||
Stretch="Fill" HorizontalAlignment="Left"/>
|
||||
|
||||
<!--<TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
|
||||
|
||||
Binary file not shown.
@ -16,5 +16,5 @@ F:\Code\JSEQ\20240301_JSEQ_upperpc\JiangsuEarthquake\JiangsuEarthquake\App.xaml
|
||||
218-546962702
|
||||
Assets\Styles\DefaultStyle.xaml;ImageDictionary.xaml;MainWindow.xaml;Views\AlarmRecordView.xaml;Views\BoosterStationStateDataView.xaml;Views\LogRecordView.xaml;Views\RealTimeDataView.xaml;Views\SeismometerStateDataView.xaml;Views\SystemControlView.xaml;Views\SystemStateDataView.xaml;Views\UserControls\AlarmSettingView.xaml;Views\UserControls\BaseStationModel.xaml;Views\UserControls\InitialView.xaml;Views\UserControls\InitialView1.xaml;Views\UserControls\OtherSettingView.xaml;Views\UserControls\TextDialog.xaml;
|
||||
|
||||
False
|
||||
True
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\..\Views\SystemControlView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7844E5112977C136D9075A911C82DEF0FDA633B9"
|
||||
#pragma checksum "..\..\..\..\Views\SystemControlView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCBEA7B7F1C374787815C7F003ECACFE23545C6E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@ -223,7 +223,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 859 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 862 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BaseStationPowerPicker;
|
||||
|
||||
@ -231,7 +231,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 926 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 932 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button MainSeisPowerPicker;
|
||||
|
||||
@ -239,7 +239,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 993 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1002 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BackupSeisPowerPicker;
|
||||
|
||||
@ -247,7 +247,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1056 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1065 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BaseStationMsg;
|
||||
|
||||
@ -255,7 +255,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1060 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1069 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock MainSeisMsg;
|
||||
|
||||
@ -263,7 +263,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1064 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1073 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BackupSeisMsg;
|
||||
|
||||
@ -271,7 +271,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1088 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1097 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisZeroSetStart;
|
||||
|
||||
@ -279,7 +279,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1115 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1124 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisZeroSetStop;
|
||||
|
||||
@ -287,7 +287,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1143 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1152 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock OpenSetMsg;
|
||||
|
||||
@ -295,7 +295,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1147 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1156 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock CloseSetMsg;
|
||||
|
||||
@ -303,7 +303,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1164 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1173 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisLevelSetStart;
|
||||
|
||||
@ -311,7 +311,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1190 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1199 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisLevelSetStop;
|
||||
|
||||
@ -319,7 +319,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1287 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1300 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationNo;
|
||||
|
||||
@ -327,7 +327,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1312 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1325 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationName;
|
||||
|
||||
@ -335,7 +335,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1327 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1340 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationAbbreviation;
|
||||
|
||||
@ -343,7 +343,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1351 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1364 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TotalSeismometers;
|
||||
|
||||
@ -351,7 +351,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1366 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1379 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TotalNumberOfChannels;
|
||||
|
||||
@ -359,7 +359,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1381 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1394 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Latitude;
|
||||
|
||||
@ -367,7 +367,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1405 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1418 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Longitude;
|
||||
|
||||
@ -375,7 +375,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1420 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1433 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Altitude;
|
||||
|
||||
@ -383,7 +383,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1435 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1448 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StartDate;
|
||||
|
||||
@ -391,7 +391,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1459 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1472 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox NetworkMarking;
|
||||
|
||||
@ -399,7 +399,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1474 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1487 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SoftwareVersion;
|
||||
|
||||
@ -407,7 +407,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1500 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1513 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button EarthQuakeParaSetBtn;
|
||||
|
||||
@ -415,7 +415,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1541 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1554 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock SeisParaMsg;
|
||||
|
||||
@ -423,7 +423,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1547 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1560 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button EarthQuakeParaReadBtn;
|
||||
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
// Updated by XamlIntelliSenseFileGenerator 2024/5/16 16:15:26
|
||||
#pragma checksum "..\..\..\..\Views\SystemControlView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7844E5112977C136D9075A911C82DEF0FDA633B9"
|
||||
#pragma checksum "..\..\..\..\Views\SystemControlView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCBEA7B7F1C374787815C7F003ECACFE23545C6E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@ -47,386 +46,389 @@ using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace JiangsuEarthquake.Views
|
||||
{
|
||||
namespace JiangsuEarthquake.Views {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// SystemControlView
|
||||
/// </summary>
|
||||
public partial class SystemControlView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector
|
||||
{
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
public partial class SystemControlView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 171 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 12 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal JiangsuEarthquake.Views.SystemControlView SystemControlPage;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 171 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MUIP1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 189 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 189 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Port1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 246 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 246 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MUIP2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 264 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 264 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Port2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 331 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 331 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZIP1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 357 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 357 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZPort1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 423 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 423 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZIP2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 449 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 449 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZPort2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 520 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 520 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MainSeisIP1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 538 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 538 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MainSeisPort1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 553 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 553 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock MainSeis1ConnectMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 601 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 601 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox BackupSeisIP1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 619 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 619 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox BackupSeisPort1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 634 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 634 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BackupSeis1ConnectMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 682 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 682 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MainSeisIP2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 700 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 700 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MainSeisPort2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 715 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 715 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock MainSeis2ConnectMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 763 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 763 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox BackupSeisIP2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 781 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 781 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox BackupSeisPort2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 796 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 796 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BackupSeis2ConnectMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 859 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 862 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BaseStationPowerPicker;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 926 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 932 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button MainSeisPowerPicker;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 993 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1002 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BackupSeisPowerPicker;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1056 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1065 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BaseStationMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1060 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1069 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock MainSeisMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1064 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1073 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BackupSeisMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1088 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1097 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisZeroSetStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1115 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1124 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisZeroSetStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1143 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1152 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock OpenSetMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1147 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1156 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock CloseSetMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1164 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1173 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisLevelSetStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1190 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1199 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisLevelSetStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1287 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1300 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationNo;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1312 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1325 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationName;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1327 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1340 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationAbbreviation;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1351 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1364 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TotalSeismometers;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1366 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1379 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TotalNumberOfChannels;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1381 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1394 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Latitude;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1405 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1418 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Longitude;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1420 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1433 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Altitude;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1435 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1448 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StartDate;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1459 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1472 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox NetworkMarking;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1474 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1487 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SoftwareVersion;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1500 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1513 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button EarthQuakeParaSetBtn;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1541 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1554 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock SeisParaMsg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1547 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1560 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button EarthQuakeParaReadBtn;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
@ -435,27 +437,24 @@ namespace JiangsuEarthquake.Views
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.2.0")]
|
||||
public void InitializeComponent()
|
||||
{
|
||||
if (_contentLoaded)
|
||||
{
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/JiangsuEarthquake;component/views/systemcontrolview.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.2.0")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler)
|
||||
{
|
||||
internal System.Delegate _CreateDelegate(System.Type delegateType, string handler) {
|
||||
return System.Delegate.CreateDelegate(delegateType, this, handler);
|
||||
}
|
||||
|
||||
@ -465,156 +464,153 @@ namespace JiangsuEarthquake.Views
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
|
||||
{
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
this.SystemControlPage = ((JiangsuEarthquake.Views.SystemControlView)(target));
|
||||
return;
|
||||
case 2:
|
||||
this.MUIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 3:
|
||||
this.Port1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.MUIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 5:
|
||||
this.Port2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.SYZIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 7:
|
||||
this.SYZPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 8:
|
||||
this.SYZIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 9:
|
||||
this.SYZPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.MainSeisIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.MainSeisPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.MainSeis1ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.BackupSeisIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.BackupSeisPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.BackupSeis1ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 16:
|
||||
this.MainSeisIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 17:
|
||||
this.MainSeisPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 18:
|
||||
this.MainSeis2ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 19:
|
||||
this.BackupSeisIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 20:
|
||||
this.BackupSeisPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 21:
|
||||
this.BackupSeis2ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 22:
|
||||
this.BaseStationPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 23:
|
||||
this.MainSeisPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 24:
|
||||
this.BackupSeisPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 25:
|
||||
this.BaseStationMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 26:
|
||||
this.MainSeisMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 27:
|
||||
this.BackupSeisMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 28:
|
||||
this.SeisZeroSetStart = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 29:
|
||||
this.SeisZeroSetStop = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 30:
|
||||
this.OpenSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 31:
|
||||
this.CloseSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 32:
|
||||
this.SeisLevelSetStart = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 33:
|
||||
this.SeisLevelSetStop = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 34:
|
||||
this.StationNo = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 35:
|
||||
this.StationName = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 36:
|
||||
this.StationAbbreviation = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 37:
|
||||
this.TotalSeismometers = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 38:
|
||||
this.TotalNumberOfChannels = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 39:
|
||||
this.Latitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 40:
|
||||
this.Longitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 41:
|
||||
this.Altitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 42:
|
||||
this.StartDate = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 43:
|
||||
this.NetworkMarking = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 44:
|
||||
this.SoftwareVersion = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 45:
|
||||
this.EarthQuakeParaSetBtn = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 46:
|
||||
this.SeisParaMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 47:
|
||||
this.EarthQuakeParaReadBtn = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 1:
|
||||
this.SystemControlPage = ((JiangsuEarthquake.Views.SystemControlView)(target));
|
||||
return;
|
||||
case 2:
|
||||
this.MUIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 3:
|
||||
this.Port1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.MUIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 5:
|
||||
this.Port2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.SYZIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 7:
|
||||
this.SYZPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 8:
|
||||
this.SYZIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 9:
|
||||
this.SYZPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.MainSeisIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.MainSeisPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.MainSeis1ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.BackupSeisIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.BackupSeisPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.BackupSeis1ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 16:
|
||||
this.MainSeisIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 17:
|
||||
this.MainSeisPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 18:
|
||||
this.MainSeis2ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 19:
|
||||
this.BackupSeisIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 20:
|
||||
this.BackupSeisPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 21:
|
||||
this.BackupSeis2ConnectMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 22:
|
||||
this.BaseStationPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 23:
|
||||
this.MainSeisPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 24:
|
||||
this.BackupSeisPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 25:
|
||||
this.BaseStationMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 26:
|
||||
this.MainSeisMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 27:
|
||||
this.BackupSeisMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 28:
|
||||
this.SeisZeroSetStart = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 29:
|
||||
this.SeisZeroSetStop = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 30:
|
||||
this.OpenSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 31:
|
||||
this.CloseSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 32:
|
||||
this.SeisLevelSetStart = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 33:
|
||||
this.SeisLevelSetStop = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 34:
|
||||
this.StationNo = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 35:
|
||||
this.StationName = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 36:
|
||||
this.StationAbbreviation = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 37:
|
||||
this.TotalSeismometers = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 38:
|
||||
this.TotalNumberOfChannels = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 39:
|
||||
this.Latitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 40:
|
||||
this.Longitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 41:
|
||||
this.Altitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 42:
|
||||
this.StartDate = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 43:
|
||||
this.NetworkMarking = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 44:
|
||||
this.SoftwareVersion = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 45:
|
||||
this.EarthQuakeParaSetBtn = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 46:
|
||||
this.SeisParaMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 47:
|
||||
this.EarthQuakeParaReadBtn = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
||||
internal System.Windows.Controls.UserControl SystemControlPage;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user