新增功能:
1 新增两个地震仪通信; 2 将地震仪运行状态数据独立出来,完成数据操作部分功能; 3 所有对地震仪的操作均区分主备地震仪,包括运行状态数据请求、参数读取/设置、调平、凋零等;
This commit is contained in:
parent
d7f51483a7
commit
188f694afa
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,56 +2,64 @@
|
||||
"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\\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\\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\\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\\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}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\models\\earthquakesensormodel.cs||{8B382828-6202-11D1-8870-0000F87579D2}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\models\\earthquakesensormodel.cs||{8B382828-6202-11D1-8870-0000F87579D2}"
|
||||
"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\\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}"
|
||||
},
|
||||
{
|
||||
"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\\app.config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\app.config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|f:\\code\\jseq\\20240301_jseq_upperpc\\jiangsuearthquake\\jiangsuearthquake\\common\\csvdownload.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\\csvdownload.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\common\\csvdownload.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\\systemstatedataview.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\\views\\systemstatedataview.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\views\\systemstatedataview.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\\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\\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}"
|
||||
},
|
||||
{
|
||||
"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\\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\\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\\app.config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\app.config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\views\\systemcontrolview.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\views\\systemcontrolview.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\jiangsuearthquake\\models\\volcurcollectormodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{51CD2C1B-B7CD-4AC0-8087-846E14D316AD}|JiangsuEarthquake\\JiangsuEarthquake.csproj|solutionrelative:jiangsuearthquake\\models\\volcurcollectormodel.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\\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\\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}"
|
||||
},
|
||||
{
|
||||
@ -77,51 +85,122 @@
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 197,
|
||||
"SelectedChildIndex": 10,
|
||||
"DockedWidth": 138,
|
||||
"SelectedChildIndex": 17,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"DocumentIndex": 11,
|
||||
"Title": "App.config",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\App.config",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\App.config",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\App.config",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\App.config",
|
||||
"ViewState": "AQIAAD8AAAAAAAAAAAAAAGEAAAAQAAAA",
|
||||
"ViewState": "AQIAABUAAAAAAAAAAAAAADEAAAAjAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000601|",
|
||||
"WhenOpened": "2024-04-24T08:54:53.626Z",
|
||||
"IsPinned": true,
|
||||
"EditorCaption": ""
|
||||
"IsPinned": true
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "SeismometerStateDataView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-05-14T08:02:27.552Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"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": "AQIAAHIAAAAAAAAAAAAswIwAAAApAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-14T07:44:15.338Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"Title": "SeismometerStateDataViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"ViewState": "AQIAAJwBAAAAAAAAAAAkwP8AAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-14T07:31:53.747Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 12,
|
||||
"Title": "SystemControlView.xaml.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SystemControlView.xaml.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Views\\SystemControlView.xaml.cs",
|
||||
"ViewState": "AQIAAAMAAAAAAAAAAAAAAAAAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-14T01:31:43.485Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"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": "AQIAANkBAAAAAAAAAAAgwAYCAAAsAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-14T00:25:10.523Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "BoosterStationStateDataView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\BoosterStationStateDataView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\BoosterStationStateDataView.xaml",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\BoosterStationStateDataView.xaml",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Views\\BoosterStationStateDataView.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-05-13T07:36:41.444Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "CSVDownload.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Common\\CSVDownload.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Common\\CSVDownload.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Common\\CSVDownload.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Common\\CSVDownload.cs",
|
||||
"ViewState": "AQIAAOAAAAAAAAAAAAAywPoAAAA8AAAA",
|
||||
"ViewState": "AQIAACoAAAAAAAAAAAAgwPoAAAA8AAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-13T06:22:56.037Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 12,
|
||||
"DocumentIndex": 14,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\MainWindow.xaml",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\MainWindow.xaml",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\MainWindow.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-05-11T08:13:03.306Z",
|
||||
"EditorCaption": ""
|
||||
"WhenOpened": "2024-05-11T08:13:03.306Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 13,
|
||||
"DocumentIndex": 15,
|
||||
"Title": "AlarmRecordViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\AlarmRecordViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\AlarmRecordViewModel.cs",
|
||||
@ -129,12 +208,11 @@
|
||||
"RelativeToolTip": "JiangsuEarthquake\\ViewModels\\AlarmRecordViewModel.cs",
|
||||
"ViewState": "AQIAAF8AAAAAAAAAAAAUwMIAAAArAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-09T08:08:20.353Z",
|
||||
"EditorCaption": ""
|
||||
"WhenOpened": "2024-05-09T08:08:20.353Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 14,
|
||||
"DocumentIndex": 16,
|
||||
"Title": "EarthQuakeParaSetModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\EarthQuakeParaSetModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\EarthQuakeParaSetModel.cs",
|
||||
@ -146,7 +224,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 16,
|
||||
"DocumentIndex": 18,
|
||||
"Title": "DBHelper.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\DataAccess\\DBHelper.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\DataAccess\\DBHelper.cs",
|
||||
@ -158,7 +236,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 11,
|
||||
"DocumentIndex": 13,
|
||||
"Title": "VolCurCollectorModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\VolCurCollectorModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\VolCurCollectorModel.cs",
|
||||
@ -166,25 +244,24 @@
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Models\\VolCurCollectorModel.cs",
|
||||
"ViewState": "AQIAAG8AAAAAAAAAAAAAAIUAAAAVAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-04-25T08:11:58.297Z",
|
||||
"EditorCaption": ""
|
||||
"WhenOpened": "2024-04-25T08:11:58.297Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"DocumentIndex": 6,
|
||||
"Title": "SystemStateDataViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SystemStateDataViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\SystemStateDataViewModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SystemStateDataViewModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\ViewModels\\SystemStateDataViewModel.cs",
|
||||
"ViewState": "AQIAANUAAAAAAAAAAAAkwP8AAAAAAAAA",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAGIAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-13T00:26:48.284Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 15,
|
||||
"DocumentIndex": 17,
|
||||
"Title": "Tools.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Common\\Tools.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Common\\Tools.cs",
|
||||
@ -196,33 +273,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"Title": "ClientModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"ViewState": "AQIAAFcAAAAAAAAAAAAAAGYAAACDAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-04-22T06:58:22.442Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"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": "AQIAAOsCAAAAAAAAAAAQwPcCAACIAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-03-12T06:03:03.53Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 9,
|
||||
"DocumentIndex": 5,
|
||||
"Title": "SystemControlView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SystemControlView.xaml",
|
||||
@ -234,7 +285,7 @@
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 8,
|
||||
"DocumentIndex": 4,
|
||||
"Title": "SystemStateDataView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SystemStateDataView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SystemStateDataView.xaml",
|
||||
@ -243,63 +294,31 @@
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-05-13T00:26:53.606Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"DockedWidth": 199,
|
||||
"SelectedChildIndex": 3,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"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": "AQIAAOUAAAAAAAAAAAAUwCUBAAAtAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-13T06:46:46.354Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "SeismometerStateDataView.xaml",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Views\\SeismometerStateDataView.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2024-05-11T08:14:50.75Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "EarthquakeSensorModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\EarthquakeSensorModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\EarthquakeSensorModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\EarthquakeSensorModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Models\\EarthquakeSensorModel.cs",
|
||||
"ViewState": "AQIAALQAAAAAAAAAAAAuwOMAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-04-29T06:08:55.808Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "SeismometerStateDataViewModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\ViewModels\\SeismometerStateDataViewModel.cs",
|
||||
"ViewState": "AQIAAK0AAAAAAAAAAAAUwIkAAAA1AAAA",
|
||||
"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": "AQIAAOsHAAAAAAAAAAAUwAgIAAAdAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-05-11T08:16:12.449Z",
|
||||
"WhenOpened": "2024-03-12T06:03:03.53Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 10,
|
||||
"Title": "ClientModel.cs",
|
||||
"DocumentMoniker": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"RelativeDocumentMoniker": "JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"ToolTip": "F:\\Code\\JSEQ\\20240301_JSEQ_upperpc\\JiangsuEarthquake\\JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"RelativeToolTip": "JiangsuEarthquake\\Models\\ClientModel.cs",
|
||||
"ViewState": "AQIAAKgAAAAAAAAAAAAuwNQAAAAZAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2024-04-22T06:58:22.442Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -37,19 +37,25 @@
|
||||
<add key="SYZ_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="SYZ_Client_Port2" value="55001"/>
|
||||
|
||||
<!--地震仪连接信息1-->
|
||||
<add key="DZY_Client_IP1" value="10.20.102.201"/>
|
||||
<add key="DZY_Client_Port1" value="55002"/>
|
||||
<!--主地震仪连接信息-->
|
||||
<add key="MainSeis_Client_IP1" value="10.20.102.201"/>
|
||||
<add key="MainSeis_Client_Port1" value="55002"/>
|
||||
<add key="MainSeis_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="MainSeis_Client_Port2" value="55004"/>
|
||||
|
||||
<!--地震仪连接信息2-->
|
||||
<add key="DZY_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="DZY_Client_Port2" value="55003"/>
|
||||
<!--备地震仪连接信息-->
|
||||
<add key="BackupSeis_Client_IP1" value="10.20.102.201"/>
|
||||
<add key="BackupSeis_Client_Port1" value="55003"/>
|
||||
<add key="BackupSeis_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="BackupSeis_Client_Port2" value="55005"/>
|
||||
|
||||
<!--地震仪编号1-->
|
||||
<add key="DZYNum1" value="0"/>
|
||||
<!--主地震仪编号-->
|
||||
<add key="MainSeisNum1" value="0"/>
|
||||
<add key="MainSeisNum2" value="0"/>
|
||||
|
||||
<!--地震仪编号2-->
|
||||
<add key="DZYNum2" value="0"/>
|
||||
<!--备地震仪编号2-->
|
||||
<add key="BackupSeisNum1" value="0"/>
|
||||
<add key="BackupSeisNum2" value="0"/>
|
||||
|
||||
<!--升压站量程信息-->
|
||||
<add key="SYZVoltageRange" value="100"/>
|
||||
|
||||
@ -110,15 +110,25 @@ namespace JiangsuEarthquake.Models
|
||||
stationName = 2;
|
||||
volCurCollectorModel.ParsingData(new List<byte>(buffer), stationName);
|
||||
}
|
||||
else if (SI.IP == Tools.GetAppSetting("DZY_Client_IP1") && SI.Port == int.Parse(Tools.GetAppSetting("DZY_Client_Port1")))
|
||||
else if (SI.IP == Tools.GetAppSetting("MainSeis_Client_IP1") && SI.Port == int.Parse(Tools.GetAppSetting("MainSeis_Client_Port1")))
|
||||
{
|
||||
stationName = 1;
|
||||
seismographModel.ParsingData(new List<byte>(buffer), stationName);
|
||||
seismographModel.ParsingData(new List<byte>(buffer), stationName, true);
|
||||
}
|
||||
else if (SI.IP == Tools.GetAppSetting("DZY_Client_IP2") && SI.Port == int.Parse(Tools.GetAppSetting("DZY_Client_Port2")))
|
||||
else if (SI.IP == Tools.GetAppSetting("MainSeis_Client_IP2") && SI.Port == int.Parse(Tools.GetAppSetting("MainSeis_Client_Port2")))
|
||||
{
|
||||
stationName = 2;
|
||||
seismographModel.ParsingData(new List<byte>(buffer), stationName);
|
||||
seismographModel.ParsingData(new List<byte>(buffer), stationName, true);
|
||||
}
|
||||
else if (SI.IP == Tools.GetAppSetting("BackupSeis_Client_IP1") && SI.Port == int.Parse(Tools.GetAppSetting("BackupSeis_Client_Port1")))
|
||||
{
|
||||
stationName = 1;
|
||||
seismographModel.ParsingData(new List<byte>(buffer), stationName, false);
|
||||
}
|
||||
else if (SI.IP == Tools.GetAppSetting("BackupSeis_Client_IP2") && SI.Port == int.Parse(Tools.GetAppSetting("BackupSeis_Client_Port2")))
|
||||
{
|
||||
stationName = 2;
|
||||
seismographModel.ParsingData(new List<byte>(buffer), stationName, false);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@ -32,7 +32,7 @@ namespace JiangsuEarthquake.Models
|
||||
|
||||
private List<byte> checkByte { get; set; } = new List<byte>(); //校验码Byte
|
||||
|
||||
public void ParsingData(List<byte> byteList, int id)
|
||||
public void ParsingData(List<byte> byteList, int id,bool isMain)
|
||||
{
|
||||
if (byteList.Count == 0)
|
||||
return;
|
||||
@ -125,11 +125,17 @@ namespace JiangsuEarthquake.Models
|
||||
dataSend.AddRange(checkCode);
|
||||
if (id == 1)
|
||||
{
|
||||
MainWindow.mainViewModel.clientModelDZY1.SendMessage(dataSend.ToArray());
|
||||
if(isMain)
|
||||
MainWindow.mainViewModel.clientModelMainSeis1.SendMessage(dataSend.ToArray());
|
||||
else
|
||||
MainWindow.mainViewModel.clientModelBackupSeis1.SendMessage(dataSend.ToArray());
|
||||
}
|
||||
else
|
||||
{
|
||||
MainWindow.mainViewModel.clientModelDZY2.SendMessage(dataSend.ToArray());
|
||||
if (isMain)
|
||||
MainWindow.mainViewModel.clientModelMainSeis2.SendMessage(dataSend.ToArray());
|
||||
else
|
||||
MainWindow.mainViewModel.clientModelBackupSeis2.SendMessage(dataSend.ToArray());
|
||||
}
|
||||
}
|
||||
else if (response == 405)
|
||||
@ -363,49 +369,49 @@ namespace JiangsuEarthquake.Models
|
||||
$"'{zeroPointV}','{zeroPointW}','{northSeekingAngle}');";
|
||||
DBHelper.ExecuteNonQuery(sql, 1);
|
||||
|
||||
//通知到前端
|
||||
if (id == 1)
|
||||
{
|
||||
MainViewModel.earthquakeSensorModel1.Out_Vol = supplyVoltage;
|
||||
MainViewModel.earthquakeSensorModel1.Backup_Vol = batteryVoltage;
|
||||
MainViewModel.earthquakeSensorModel1.Pre = pressure;
|
||||
MainViewModel.earthquakeSensorModel1.Tem = temperature;
|
||||
MainViewModel.earthquakeSensorModel1.Sei_Tilt_Angle = tiltAngleSeis;
|
||||
MainViewModel.earthquakeSensorModel1.OBS_Tilt_Angle = tiltAngleOBS;
|
||||
MainViewModel.earthquakeSensorModel1.Species_Dif = clockDeviation;
|
||||
MainViewModel.earthquakeSensorModel1.Frequency_Dif = freDifference;
|
||||
MainViewModel.earthquakeSensorModel1.CF_Total_Cap = totalSpaceCF;
|
||||
MainViewModel.earthquakeSensorModel1.CF_Usable_Cap = canUseSpaceCF;
|
||||
MainViewModel.earthquakeSensorModel1.SD_Total_Cap1 = totalSpaceSD1;
|
||||
MainViewModel.earthquakeSensorModel1.SD_Usable_Cap1 = canUseSpaceSD1;
|
||||
MainViewModel.earthquakeSensorModel1.SD_Total_Cap2 = totalSpaceSD2;
|
||||
MainViewModel.earthquakeSensorModel1.SD_Usable_Cap2 = canUseSpaceSD2;
|
||||
MainViewModel.earthquakeSensorModel1.Sei_U_Point = zeroPointU;
|
||||
MainViewModel.earthquakeSensorModel1.Sei_V_Point = zeroPointV;
|
||||
MainViewModel.earthquakeSensorModel1.Sei_W_Point = zeroPointW;
|
||||
MainViewModel.earthquakeSensorModel1.North_Angle = northSeekingAngle;
|
||||
}
|
||||
else
|
||||
{
|
||||
MainViewModel.earthquakeSensorModel2.Out_Vol = supplyVoltage;
|
||||
MainViewModel.earthquakeSensorModel2.Backup_Vol = batteryVoltage;
|
||||
MainViewModel.earthquakeSensorModel2.Pre = pressure;
|
||||
MainViewModel.earthquakeSensorModel2.Tem = temperature;
|
||||
MainViewModel.earthquakeSensorModel2.Sei_Tilt_Angle = tiltAngleSeis;
|
||||
MainViewModel.earthquakeSensorModel2.OBS_Tilt_Angle = tiltAngleOBS;
|
||||
MainViewModel.earthquakeSensorModel2.Species_Dif = clockDeviation;
|
||||
MainViewModel.earthquakeSensorModel2.Frequency_Dif = freDifference;
|
||||
MainViewModel.earthquakeSensorModel2.CF_Total_Cap = totalSpaceCF;
|
||||
MainViewModel.earthquakeSensorModel2.CF_Usable_Cap = canUseSpaceCF;
|
||||
MainViewModel.earthquakeSensorModel2.SD_Total_Cap1 = totalSpaceSD1;
|
||||
MainViewModel.earthquakeSensorModel2.SD_Usable_Cap1 = canUseSpaceSD1;
|
||||
MainViewModel.earthquakeSensorModel2.SD_Total_Cap2 = totalSpaceSD2;
|
||||
MainViewModel.earthquakeSensorModel2.SD_Usable_Cap2 = canUseSpaceSD2;
|
||||
MainViewModel.earthquakeSensorModel2.Sei_U_Point = zeroPointU;
|
||||
MainViewModel.earthquakeSensorModel2.Sei_V_Point = zeroPointV;
|
||||
MainViewModel.earthquakeSensorModel2.Sei_W_Point = zeroPointW;
|
||||
MainViewModel.earthquakeSensorModel2.North_Angle = northSeekingAngle;
|
||||
}
|
||||
////通知到前端
|
||||
//if (id == 1)
|
||||
//{
|
||||
// MainViewModel.earthquakeSensorModel1.Out_Vol = supplyVoltage;
|
||||
// MainViewModel.earthquakeSensorModel1.Backup_Vol = batteryVoltage;
|
||||
// MainViewModel.earthquakeSensorModel1.Pre = pressure;
|
||||
// MainViewModel.earthquakeSensorModel1.Tem = temperature;
|
||||
// MainViewModel.earthquakeSensorModel1.Sei_Tilt_Angle = tiltAngleSeis;
|
||||
// MainViewModel.earthquakeSensorModel1.OBS_Tilt_Angle = tiltAngleOBS;
|
||||
// MainViewModel.earthquakeSensorModel1.Species_Dif = clockDeviation;
|
||||
// MainViewModel.earthquakeSensorModel1.Frequency_Dif = freDifference;
|
||||
// MainViewModel.earthquakeSensorModel1.CF_Total_Cap = totalSpaceCF;
|
||||
// MainViewModel.earthquakeSensorModel1.CF_Usable_Cap = canUseSpaceCF;
|
||||
// MainViewModel.earthquakeSensorModel1.SD_Total_Cap1 = totalSpaceSD1;
|
||||
// MainViewModel.earthquakeSensorModel1.SD_Usable_Cap1 = canUseSpaceSD1;
|
||||
// MainViewModel.earthquakeSensorModel1.SD_Total_Cap2 = totalSpaceSD2;
|
||||
// MainViewModel.earthquakeSensorModel1.SD_Usable_Cap2 = canUseSpaceSD2;
|
||||
// MainViewModel.earthquakeSensorModel1.Sei_U_Point = zeroPointU;
|
||||
// MainViewModel.earthquakeSensorModel1.Sei_V_Point = zeroPointV;
|
||||
// MainViewModel.earthquakeSensorModel1.Sei_W_Point = zeroPointW;
|
||||
// MainViewModel.earthquakeSensorModel1.North_Angle = northSeekingAngle;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// MainViewModel.earthquakeSensorModel2.Out_Vol = supplyVoltage;
|
||||
// MainViewModel.earthquakeSensorModel2.Backup_Vol = batteryVoltage;
|
||||
// MainViewModel.earthquakeSensorModel2.Pre = pressure;
|
||||
// MainViewModel.earthquakeSensorModel2.Tem = temperature;
|
||||
// MainViewModel.earthquakeSensorModel2.Sei_Tilt_Angle = tiltAngleSeis;
|
||||
// MainViewModel.earthquakeSensorModel2.OBS_Tilt_Angle = tiltAngleOBS;
|
||||
// MainViewModel.earthquakeSensorModel2.Species_Dif = clockDeviation;
|
||||
// MainViewModel.earthquakeSensorModel2.Frequency_Dif = freDifference;
|
||||
// MainViewModel.earthquakeSensorModel2.CF_Total_Cap = totalSpaceCF;
|
||||
// MainViewModel.earthquakeSensorModel2.CF_Usable_Cap = canUseSpaceCF;
|
||||
// MainViewModel.earthquakeSensorModel2.SD_Total_Cap1 = totalSpaceSD1;
|
||||
// MainViewModel.earthquakeSensorModel2.SD_Usable_Cap1 = canUseSpaceSD1;
|
||||
// MainViewModel.earthquakeSensorModel2.SD_Total_Cap2 = totalSpaceSD2;
|
||||
// MainViewModel.earthquakeSensorModel2.SD_Usable_Cap2 = canUseSpaceSD2;
|
||||
// MainViewModel.earthquakeSensorModel2.Sei_U_Point = zeroPointU;
|
||||
// MainViewModel.earthquakeSensorModel2.Sei_V_Point = zeroPointV;
|
||||
// MainViewModel.earthquakeSensorModel2.Sei_W_Point = zeroPointW;
|
||||
// MainViewModel.earthquakeSensorModel2.North_Angle = northSeekingAngle;
|
||||
//}
|
||||
}
|
||||
else if (Tools.CompareByte(cmdRecv, new byte[] { 0xC0, 0x90 })) //启动地震计调平
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -96,6 +96,8 @@ namespace JiangsuEarthquake.ViewModels
|
||||
#region Timer Define
|
||||
public DispatcherTimer timerDownloadDataMsgHidden = new DispatcherTimer();
|
||||
|
||||
public DispatcherTimer timerAskData = new DispatcherTimer();
|
||||
|
||||
public DispatcherTimer timerAskDataMsgHidden = new DispatcherTimer();
|
||||
#endregion
|
||||
|
||||
@ -242,6 +244,9 @@ namespace JiangsuEarthquake.ViewModels
|
||||
timerDownloadDataMsgHidden.Interval = TimeSpan.FromSeconds(2);
|
||||
timerDownloadDataMsgHidden.Tick += TimerDownloadDataMsgHidden_Tick;
|
||||
|
||||
timerAskData.Interval = TimeSpan.FromSeconds(20);
|
||||
timerAskData.Tick += TimerAskData_Tick;
|
||||
|
||||
timerAskDataMsgHidden.Interval = TimeSpan.FromSeconds(2);
|
||||
timerAskDataMsgHidden.Tick += TimerAskDataMsgHidden_Tick;
|
||||
#endregion
|
||||
@ -250,6 +255,21 @@ namespace JiangsuEarthquake.ViewModels
|
||||
|
||||
|
||||
#region Ask Data
|
||||
private void TimerAskData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
if (!AskDataBtnIsReceived)
|
||||
{
|
||||
AskDataMsgVisibility = Visibility.Visible;
|
||||
AskDataMsg = "请求数据发送成功,但未接收到数据!";
|
||||
timerAskDataMsgHidden.Start();
|
||||
AskDataMsgForeground = new SolidColorBrush(Colors.Red);
|
||||
AskDataBtnIsEnabled = true;
|
||||
}
|
||||
|
||||
// 停止定时器
|
||||
(sender as DispatcherTimer).Stop();
|
||||
}
|
||||
|
||||
private void TimerAskDataMsgHidden_Tick(object sender, EventArgs e)
|
||||
{
|
||||
//DownloadDataMsgVisibility = Visibility.Hidden;
|
||||
@ -258,15 +278,191 @@ namespace JiangsuEarthquake.ViewModels
|
||||
(sender as DispatcherTimer).Stop();
|
||||
}
|
||||
|
||||
private string askDataMsg;
|
||||
|
||||
public string AskDataMsg
|
||||
{
|
||||
get { return askDataMsg; }
|
||||
set { askDataMsg = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
private Brush askDataMsgForeground;
|
||||
|
||||
public Brush AskDataMsgForeground
|
||||
{
|
||||
get { return askDataMsgForeground; }
|
||||
set { askDataMsgForeground = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
private bool askDataBtnIsEnabled = true;
|
||||
|
||||
public bool AskDataBtnIsEnabled
|
||||
{
|
||||
get { return askDataBtnIsEnabled; }
|
||||
set { askDataBtnIsEnabled = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
private bool askDataBtnIsReceived = false;
|
||||
|
||||
public bool AskDataBtnIsReceived
|
||||
{
|
||||
get { return askDataBtnIsReceived; }
|
||||
set { askDataBtnIsReceived = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
private Visibility askDataMsgVisibility = Visibility.Visible;
|
||||
|
||||
public Visibility AskDataMsgVisibility
|
||||
{
|
||||
get { return askDataMsgVisibility; }
|
||||
set { askDataMsgVisibility = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
private bool mainSeisIsChecked = true;
|
||||
|
||||
public bool MainSeisIsChecked
|
||||
{
|
||||
get { return mainSeisIsChecked; }
|
||||
set { mainSeisIsChecked = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
private bool backupSeisIsChecked = false;
|
||||
|
||||
public bool BackupSeisIsChecked
|
||||
{
|
||||
get { return backupSeisIsChecked; }
|
||||
set { backupSeisIsChecked = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
List<byte> sendDataSeis = new List<byte>();
|
||||
|
||||
private byte[] checkCode { get; set; } = new byte[2]; //从CMD到DATA结束的CRC16校验和
|
||||
|
||||
private List<byte> checkByte { get; set; } = new List<byte>(); //校验码Byte
|
||||
|
||||
public void AskData(object o)
|
||||
{
|
||||
AskDataBtnIsEnabled = false;
|
||||
AskDataBtnIsReceived = false;
|
||||
|
||||
sendDataSeis.Clear();
|
||||
sendDataSeis.AddRange(new byte[] { 0xBF, 0x13, 0x97, 0x74 }); //SYNC
|
||||
sendDataSeis.AddRange(new byte[] { 0xA0, 0x50 }); //CMD
|
||||
sendDataSeis.AddRange(new byte[] { 0x00, 0x04 }); //LENGTH
|
||||
|
||||
//地震计号
|
||||
byte[] numDZJ = new byte[2];
|
||||
if (station_id == 1)
|
||||
{
|
||||
|
||||
if(MainSeisIsChecked)
|
||||
numDZJ = BitConverter.GetBytes(short.Parse(Tools.GetAppSetting("MainSeisNum1")));
|
||||
else
|
||||
numDZJ = BitConverter.GetBytes(short.Parse(Tools.GetAppSetting("BackupSeisNum1")));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
if (MainSeisIsChecked)
|
||||
numDZJ = BitConverter.GetBytes(short.Parse(Tools.GetAppSetting("MainSeisNum2")));
|
||||
else
|
||||
numDZJ = BitConverter.GetBytes(short.Parse(Tools.GetAppSetting("BackupSeisNum2")));
|
||||
}
|
||||
numDZJ = Tools.PadArrayWithZeros(numDZJ, 2);
|
||||
|
||||
sendDataSeis.AddRange(numDZJ); //DATA
|
||||
checkByte.Clear();
|
||||
checkByte.AddRange(new byte[] { 0xA0, 0x50 }); //CMD
|
||||
checkByte.AddRange(new byte[] { 0x00, 0x04 }); //LENGTH
|
||||
checkByte.AddRange(numDZJ); //DATA
|
||||
checkCode = Tools.CRCCalc(checkByte.ToArray()); //CHK_SUM
|
||||
sendDataSeis.AddRange(checkCode);
|
||||
|
||||
bool result = false;
|
||||
if (station_id == 1)
|
||||
{
|
||||
if (MainSeisIsChecked) //主地震仪
|
||||
{
|
||||
if (MainWindow.mainViewModel.clientModelMainSeis1.IsConnected)
|
||||
{
|
||||
result = MainWindow.mainViewModel.clientModelMainSeis1.SendMessage(sendDataSeis.ToArray());
|
||||
}
|
||||
else
|
||||
{
|
||||
AskDataMsgVisibility = Visibility.Visible;
|
||||
AskDataMsg = "通信未连接!";
|
||||
timerAskDataMsgHidden.Start();
|
||||
AskDataMsgForeground = new SolidColorBrush(Colors.Red);
|
||||
AskDataBtnIsEnabled = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (MainWindow.mainViewModel.clientModelBackupSeis1.IsConnected)
|
||||
{
|
||||
result = MainWindow.mainViewModel.clientModelBackupSeis1.SendMessage(sendDataSeis.ToArray());
|
||||
}
|
||||
else
|
||||
{
|
||||
AskDataMsgVisibility = Visibility.Visible;
|
||||
AskDataMsg = "通信未连接!";
|
||||
timerAskDataMsgHidden.Start();
|
||||
AskDataMsgForeground = new SolidColorBrush(Colors.Red);
|
||||
AskDataBtnIsEnabled = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (MainSeisIsChecked) //主地震仪
|
||||
{
|
||||
if (MainWindow.mainViewModel.clientModelMainSeis2.IsConnected)
|
||||
{
|
||||
result = MainWindow.mainViewModel.clientModelMainSeis2.SendMessage(sendDataSeis.ToArray());
|
||||
}
|
||||
else
|
||||
{
|
||||
AskDataMsgVisibility = Visibility.Visible;
|
||||
AskDataMsg = "通信未连接!";
|
||||
timerAskDataMsgHidden.Start();
|
||||
AskDataMsgForeground = new SolidColorBrush(Colors.Red);
|
||||
AskDataBtnIsEnabled = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (MainWindow.mainViewModel.clientModelBackupSeis2.IsConnected)
|
||||
{
|
||||
result = MainWindow.mainViewModel.clientModelBackupSeis2.SendMessage(sendDataSeis.ToArray());
|
||||
}
|
||||
else
|
||||
{
|
||||
AskDataMsgVisibility = Visibility.Visible;
|
||||
AskDataMsg = "通信未连接!";
|
||||
timerAskDataMsgHidden.Start();
|
||||
AskDataMsgForeground = new SolidColorBrush(Colors.Red);
|
||||
AskDataBtnIsEnabled = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (result)
|
||||
{
|
||||
AskDataMsgVisibility = Visibility.Visible;
|
||||
AskDataMsg = "请求调零开启发送成功!";
|
||||
timerAskDataMsgHidden.Start();
|
||||
AskDataMsgForeground = new SolidColorBrush(Colors.Green);
|
||||
timerAskData.Start();
|
||||
}
|
||||
else
|
||||
{
|
||||
AskDataMsgVisibility = Visibility.Visible;
|
||||
AskDataMsg = "请求调零开启发送失败!";
|
||||
timerAskDataMsgHidden.Start();
|
||||
AskDataMsgForeground = new SolidColorBrush(Colors.Red);
|
||||
AskDataBtnIsEnabled = true;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -177,15 +177,15 @@
|
||||
<Grid Grid.Row="1">
|
||||
<GroupBox Header="地震仪状态数据展示">
|
||||
<hc:TransitioningContentControl>
|
||||
<Grid Margin="0,20,0,0">
|
||||
<Grid Margin="0,0,0,0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="12*"/>
|
||||
<RowDefinition Height="10*"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Hidden">
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Disabled">
|
||||
<DataGrid x:Name="SeismometerStateDataGrid" ItemsSource="{Binding SeismometerStateDataList}"
|
||||
AutoGenerateColumns="False" Margin="10,0,10,0" CanUserSortColumns="False"
|
||||
AutoGenerateColumns="False" Margin="10,25,10,0" CanUserSortColumns="False"
|
||||
CanUserAddRows="False" CanUserDeleteRows="False" Background="Transparent"
|
||||
CanUserReorderColumns="False" CanUserResizeColumns="False" IsHitTestVisible="False"
|
||||
CanUserResizeRows="False" BorderThickness="0" Grid.RowSpan="2">
|
||||
@ -296,17 +296,23 @@
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<hc:ButtonGroup Grid.Row="2" Style="{StaticResource ButtonGroupSolid}"
|
||||
Margin="130,20,0,0" Width="140" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||
<RadioButton Height="28" Content="主地震仪" FontSize="13" IsChecked="{Binding MainSeisIsChecked}" Foreground="{DynamicResource PrimaryTextBrush}"/>
|
||||
<RadioButton Height="28" Content="备地震仪" FontSize="13" IsChecked="{Binding BackupSeisIsChecked}" Foreground="{DynamicResource PrimaryTextBrush}"/>
|
||||
</hc:ButtonGroup>
|
||||
|
||||
<StackPanel Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center"
|
||||
Margin="0,10,0,0" HorizontalAlignment="Center">
|
||||
<Button Name="AskDataBtn" Foreground="White" Background="Transparent" BorderBrush="White"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="1" Width="150"
|
||||
Height="45" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding AskDataCommand}" IsEnabled="{Binding AskDataBtnIsEnabled}">
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="1" Width="150"
|
||||
Height="45" Style="{StaticResource ButtonStyle}" Margin="0,0,0,10"
|
||||
Command="{Binding AskDataCommand}" IsEnabled="{Binding AskDataBtnIsEnabled}">
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/AskData.png" Width="18"/>
|
||||
<TextBlock Text="请求数据" Foreground="White" FontSize="16" Margin="15,0"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
<Button.Resources>
|
||||
@ -316,14 +322,14 @@
|
||||
</Button.Resources>
|
||||
</Button>
|
||||
<Button Name="RefreshDataBtn" Foreground="White" Background="Transparent" BorderBrush="White"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="1" Width="150"
|
||||
Height="45" Margin="60,0,0,0" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding RefreshDataCommand}">
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="1" Width="150"
|
||||
Height="45" Margin="250,0,0,10" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding RefreshDataCommand}">
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/Refresh.png" Width="18"/>
|
||||
<TextBlock Text="刷新数据" Foreground="White" FontSize="16" Margin="15,0"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
<Button.Resources>
|
||||
@ -332,32 +338,15 @@
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
</Button>
|
||||
<Button Name="AlarmSettingBtn" Foreground="White" Background="Transparent" BorderBrush="White"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="1" Width="150"
|
||||
Height="45" Margin="60,0,0,0" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding AlarmSettingCommand}">
|
||||
<Button Name="DownloadDataBtn" Foreground="White" Background="Transparent" BorderBrush="White"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="1" Width="150"
|
||||
Height="45" Margin="250,0,0,10" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding DownloadDataCommand}">
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/AlarmWhite.png" Width="20"/>
|
||||
<TextBlock Text="报警设置" Foreground="White" FontSize="16" Margin="15,0"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
<Button.Resources>
|
||||
<Style TargetType="{x:Type Border}">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
</Button>
|
||||
<Button Name="OtherSettingBtn" Foreground="White" Background="Transparent" BorderBrush="White"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="1" Width="150"
|
||||
Height="45" Margin="60,0,0,0" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding OtherSettingCommand}">
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/Set.png" Width="18"/>
|
||||
<TextBlock Text="其他设置" Foreground="White" FontSize="16" Margin="15,0"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
<Image Source="/Assets/Images/Download.png" Width="20"/>
|
||||
<TextBlock Text="下载数据" Foreground="White" FontSize="16" Margin="15,0"
|
||||
VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
<Button.Resources>
|
||||
@ -367,7 +356,15 @@
|
||||
</Button.Resources>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Grid.Row="2" Name="AskDataMsg" Text="{Binding AskDataMsg}"
|
||||
Foreground="{Binding AskDataMsgForeground}"
|
||||
Visibility="{Binding AskDataMsgVisibility}"
|
||||
FontSize="12" Margin="455,0,0,15" VerticalAlignment="Bottom"/>
|
||||
<TextBlock Grid.Row="2" Name="DownloadDataMsg" Text="{Binding DownloadDataMsg}"
|
||||
Foreground="{Binding DownloadDataMsgForeground}"
|
||||
Visibility="{Binding DownloadDataMsgVisibility}"
|
||||
FontSize="12" Margin="0,0,193,15" VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Right"/>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
@ -147,9 +147,6 @@
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<!--<ColumnDefinition/>-->
|
||||
</Grid.ColumnDefinitions>
|
||||
<!--Socket通信①-->
|
||||
<Grid Grid.Column="0">
|
||||
@ -301,158 +298,8 @@
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!--地震仪通信-->
|
||||
<Grid Grid.Column="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="0.1*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,0,0" VerticalAlignment="Top" FontSize="18"
|
||||
Foreground="White" Text="地震仪通信 ①"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="IP:"/>
|
||||
<TextBlock Width="16"/>
|
||||
<TextBox Name="DZIP" Width="120" VerticalAlignment="Center" Background="Transparent"
|
||||
HorizontalAlignment="Center" FontSize="16" Foreground="White" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelDZY1.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoDZY1.IP"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="IP"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="Port:"/>
|
||||
<TextBox Name="DZPort" Width="120" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Background="Transparent" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelDZY1.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoDZY1.Port"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="Port"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button Width="100" Height="30" Margin="10,0" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding SocketDZY1DoConnectCommand}" BorderBrush="White"
|
||||
Background="Transparent" Style="{StaticResource ButtonStyle}">
|
||||
<Button.Resources>
|
||||
<Style TargetType="{x:Type Border}">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/ConnectState.png" Stretch="Fill" Width="20" Height="20"/>
|
||||
<TextBlock Text="{Binding clientModelDZY1.IsConnected, Converter={StaticResource ResourceKey=ConnectConvert2}}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" FontSize="16" Foreground="White"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!--地震仪通信-->
|
||||
<Grid Grid.Column="3">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="0.1*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,0,0" VerticalAlignment="Top" FontSize="18"
|
||||
Foreground="White" Text="地震仪通信 ②"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="IP:"/>
|
||||
<TextBlock Width="16"/>
|
||||
<TextBox Name="DZIP2" Width="120" VerticalAlignment="Center" Background="Transparent"
|
||||
HorizontalAlignment="Center" FontSize="16" Foreground="White" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelDZY2.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoDZY2.IP"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="IP"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="Port:"/>
|
||||
<TextBox Name="DZPort2" Width="120" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Background="Transparent" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelDZY2.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoDZY2.Port"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="Port"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button Width="100" Height="30" Margin="10,0" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Command="" BorderBrush="White"
|
||||
Background="Transparent" Style="{StaticResource ButtonStyle}">
|
||||
<Button.Resources>
|
||||
<Style TargetType="{x:Type Border}">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/ConnectState.png" Stretch="Fill" Width="20" Height="20"/>
|
||||
<TextBlock Text="{Binding clientModelDZY2.IsConnected, Converter={StaticResource ResourceKey=ConnectConvert2}}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" FontSize="16" Foreground="White"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!--升压站通信-->
|
||||
<Grid Grid.Column="4">
|
||||
<Grid Grid.Column="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
@ -545,7 +392,7 @@
|
||||
</Grid>
|
||||
|
||||
<!--升压站通信-->
|
||||
<Grid Grid.Column="5">
|
||||
<Grid Grid.Column="3">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
@ -639,8 +486,323 @@
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
<!--远程控制-->
|
||||
<!--地震仪通信设置-->
|
||||
<Grid Grid.Row="1">
|
||||
<GroupBox Header="地震仪连接状态">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<!--地震仪通信-->
|
||||
<Grid Grid.Column="0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="0.1*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,0,0" VerticalAlignment="Top" FontSize="18"
|
||||
Foreground="White" Text="主地震仪通信 ①"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="IP:"/>
|
||||
<TextBlock Width="16"/>
|
||||
<TextBox Name="MainSeisIP1" Width="120" VerticalAlignment="Center" Background="Transparent"
|
||||
HorizontalAlignment="Center" FontSize="16" Foreground="White" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelMainSeis1.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoMainSeis1.IP"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="IP"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="Port:"/>
|
||||
<TextBox Name="MainSeisPort1" Width="120" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Background="Transparent" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelMainSeis1.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoMainSeis1.Port"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="Port"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button Width="100" Height="30" Margin="10,0" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding SocketMainSeis1DoConnectCommand}" BorderBrush="White"
|
||||
Background="Transparent" Style="{StaticResource ButtonStyle}">
|
||||
<Button.Resources>
|
||||
<Style TargetType="{x:Type Border}">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/ConnectState.png" Stretch="Fill" Width="20" Height="20"/>
|
||||
<TextBlock Text="{Binding clientModelMainSeis1.IsConnected, Converter={StaticResource ResourceKey=ConnectConvert2}}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" FontSize="16" Foreground="White"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!--地震仪通信-->
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="0.1*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,0,0" VerticalAlignment="Top" FontSize="18"
|
||||
Foreground="White" Text="备地震仪通信 ①"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="IP:"/>
|
||||
<TextBlock Width="16"/>
|
||||
<TextBox Name="BackupSeisIP1" Width="120" VerticalAlignment="Center" Background="Transparent"
|
||||
HorizontalAlignment="Center" FontSize="16" Foreground="White" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelBackupSeis1.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoBackupSeis1.IP"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="IP"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="Port:"/>
|
||||
<TextBox Name="BackupSeisPort1" Width="120" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Background="Transparent" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelBackupSeis1.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoBackupSeis1.Port"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="Port"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button Width="100" Height="30" Margin="10,0" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Command="" BorderBrush="White"
|
||||
Background="Transparent" Style="{StaticResource ButtonStyle}">
|
||||
<Button.Resources>
|
||||
<Style TargetType="{x:Type Border}">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/ConnectState.png" Stretch="Fill" Width="20" Height="20"/>
|
||||
<TextBlock Text="{Binding clientModelBackupSeis1.IsConnected, Converter={StaticResource ResourceKey=ConnectConvert2}}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" FontSize="16" Foreground="White"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!--地震仪通信-->
|
||||
<Grid Grid.Column="2">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="0.1*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,0,0" VerticalAlignment="Top" FontSize="18"
|
||||
Foreground="White" Text="主地震仪通信 ②"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="IP:"/>
|
||||
<TextBlock Width="16"/>
|
||||
<TextBox Name="MainSeisIP2" Width="120" VerticalAlignment="Center" Background="Transparent"
|
||||
HorizontalAlignment="Center" FontSize="16" Foreground="White" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelMainSeis2.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoMainSeis2.IP"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="IP"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="Port:"/>
|
||||
<TextBox Name="MainSeisPort2" Width="120" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Background="Transparent" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelMainSeis2.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoMainSeis2.Port"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="Port"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button Width="100" Height="30" Margin="10,0" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding SocketMainSeis2DoConnectCommand}" BorderBrush="White"
|
||||
Background="Transparent" Style="{StaticResource ButtonStyle}">
|
||||
<Button.Resources>
|
||||
<Style TargetType="{x:Type Border}">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/ConnectState.png" Stretch="Fill" Width="20" Height="20"/>
|
||||
<TextBlock Text="{Binding clientModelMainSeis2.IsConnected, Converter={StaticResource ResourceKey=ConnectConvert2}}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" FontSize="16" Foreground="White"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<!--地震仪通信-->
|
||||
<Grid Grid.Column="3">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="0.6*"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="0.1*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,0,0" VerticalAlignment="Top" FontSize="18"
|
||||
Foreground="White" Text="备地震仪通信 ②"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,6,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="IP:"/>
|
||||
<TextBlock Width="16"/>
|
||||
<TextBox Name="BackupSeisIP2" Width="120" VerticalAlignment="Center" Background="Transparent"
|
||||
HorizontalAlignment="Center" FontSize="16" Foreground="White" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelBackupSeis2.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoBackupSeis2.IP"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="IP"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Text="Port:"/>
|
||||
<TextBox Name="BackupSeisPort2" Width="120" VerticalAlignment="Center" FontSize="16"
|
||||
Foreground="White" Background="Transparent" CaretBrush="White"
|
||||
BorderThickness="0,0,0,1.2" BorderBrush="#FF424242" HorizontalContentAlignment="Center"
|
||||
IsEnabled="{Binding clientModelBackupSeis2.IsConnected, Converter={StaticResource NegateConverter}}">
|
||||
<TextBox.Text>
|
||||
<Binding NotifyOnValidationError="True" Path="SocketInfoBackupSeis2.Port"
|
||||
UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<converters:CustomValidationRule ValidateType="Port"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Button Width="100" Height="30" Margin="10,0" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
Command="" BorderBrush="White"
|
||||
Background="Transparent" Style="{StaticResource ButtonStyle}">
|
||||
<Button.Resources>
|
||||
<Style TargetType="{x:Type Border}">
|
||||
<Setter Property="CornerRadius" Value="8"/>
|
||||
</Style>
|
||||
</Button.Resources>
|
||||
<Button.Content>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Source="/Assets/Images/ConnectState.png" Stretch="Fill" Width="20" Height="20"/>
|
||||
<TextBlock Text="{Binding clientModelBackupSeis2.IsConnected, Converter={StaticResource ResourceKey=ConnectConvert2}}"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Margin="10,0,0,0" FontSize="16" Foreground="White"/>
|
||||
</StackPanel>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
|
||||
<!--远程控制-->
|
||||
<Grid Grid.Row="2">
|
||||
<GroupBox Header="远程控制">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -670,7 +832,7 @@
|
||||
<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding}"/>
|
||||
<Button Grid.Column="2" Name="BaseStationPowerPickerBtn" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<Button Grid.Column="2" Name="BaseStationPowerPicker" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding Switch}" IsEnabled="{Binding BaseStationPowerOpenBtnIsEnabled}">
|
||||
@ -690,7 +852,7 @@
|
||||
<Button.CommandParameter>
|
||||
<MultiBinding Converter="{StaticResource ResourceKey=BtnConvert}">
|
||||
<MultiBinding.Bindings>
|
||||
<Binding ElementName="ECCPowerPicker" Path="Name"/>
|
||||
<Binding ElementName="BaseStationPowerPicker" Path="Name"/>
|
||||
<Binding Source="{StaticResource BoolTrue}"/>
|
||||
</MultiBinding.Bindings>
|
||||
</MultiBinding>
|
||||
@ -716,7 +878,7 @@
|
||||
<Button.CommandParameter>
|
||||
<MultiBinding Converter="{StaticResource ResourceKey=BtnConvert}">
|
||||
<MultiBinding.Bindings>
|
||||
<Binding ElementName="ECCPowerPicker" Path="Name"/>
|
||||
<Binding ElementName="BaseStationPowerPicker" Path="Name"/>
|
||||
<Binding Source="{StaticResource BoolFalse}"/>
|
||||
</MultiBinding.Bindings>
|
||||
</MultiBinding>
|
||||
@ -737,7 +899,7 @@
|
||||
<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding}"/>
|
||||
<Button Grid.Column="2" Name="MainSeisPowerPickerBtn" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<Button Grid.Column="2" Name="MainSeisPowerPicker" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Click="MainSeisPowerOpenButton_Click" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding Switch}" IsEnabled="{Binding MainSeisPowerOpenBtnIsEnabled}">
|
||||
@ -804,7 +966,7 @@
|
||||
<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding}"/>
|
||||
<Button Grid.Column="2" Name="BackupSeisPowerPickerBtn" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<Button Grid.Column="2" Name="BackupSeisPowerPicker" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Click="BackupSeisPowerOpenButton_Click" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding Switch}" IsEnabled="{Binding BackupSeisPowerOpenBtnIsEnabled}">
|
||||
@ -879,6 +1041,12 @@
|
||||
FontSize="14" Foreground="{Binding BackupSeisMsgForeground}" HorizontalAlignment="Left"
|
||||
Visibility="{Binding BackupSeisMsgVisibility}"
|
||||
VerticalAlignment="Center" Margin="0,15,0,0"/>
|
||||
<hc:ButtonGroup Grid.Row="2" Style="{StaticResource ButtonGroupSolid}"
|
||||
Margin="120,0,0,0" Width="140" HorizontalAlignment="Left" VerticalAlignment="Center">
|
||||
<RadioButton Height="25" Content="主地震仪" FontSize="13" IsChecked="{Binding MainSeisIsChecked}" Foreground="{DynamicResource PrimaryTextBrush}"/>
|
||||
<RadioButton Height="25" Content="备地震仪" FontSize="13" Foreground="{DynamicResource PrimaryTextBrush}"/>
|
||||
</hc:ButtonGroup>
|
||||
|
||||
|
||||
<Grid Grid.Row="1" VerticalAlignment="Bottom" Margin="0,0,0,10">
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -893,7 +1061,7 @@
|
||||
<!--<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding}"/>-->
|
||||
<Button Grid.Column="1" Name="SeisZeroSetStartButton" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<Button Grid.Column="1" Name="SeisZeroSetStart" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
IsEnabled="{Binding SeisZeroSetStartButtonIsEnabled}"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
@ -920,7 +1088,7 @@
|
||||
</MultiBinding>
|
||||
</Button.CommandParameter>
|
||||
</Button>
|
||||
<Button Grid.Column="2" Name="SeisZeroSetStopButton" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<Button Grid.Column="2" Name="SeisZeroSetStop" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding Switch}" IsEnabled="{Binding SeisZeroSetStopButtonIsEnabled}">
|
||||
@ -954,7 +1122,7 @@
|
||||
|
||||
<TextBlock Grid.Row="2" Name="CloseSetMsg" Text="{Binding CloseSetMsg}" FontSize="14"
|
||||
Foreground="{Binding CloseSetMsgForeground}" Visibility="{Binding CloseSetMsgVisibility}"
|
||||
VerticalAlignment="Center" Margin="410,0,0,0"/>
|
||||
VerticalAlignment="Center" Margin="420,0,0,0"/>
|
||||
|
||||
<Grid Grid.Row="3" VerticalAlignment="Top" Margin="0,10,0,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -969,7 +1137,7 @@
|
||||
<!--<Border Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="20" Height="20" CornerRadius="10"
|
||||
Background="{Binding}"/>-->
|
||||
<Button Grid.Column="1" Name="SeisLevelSetStartButton" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<Button Grid.Column="1" Name="SeisLevelSetStart" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding Switch}" IsEnabled="{Binding SeisLevelSetStartButtonIsEnabled}">
|
||||
@ -995,7 +1163,7 @@
|
||||
</MultiBinding>
|
||||
</Button.CommandParameter>
|
||||
</Button>
|
||||
<Button Grid.Column="2" Name="SeisLevelSetStopButton" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
<Button Grid.Column="2" Name="SeisLevelSetStop" HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Width="90" Height="35" Background="Transparent"
|
||||
BorderThickness="1" BorderBrush="White" Style="{StaticResource ButtonStyle}"
|
||||
Command="{Binding Switch}" IsEnabled="{Binding SeisLevelSetStopButtonIsEnabled}">
|
||||
@ -1062,7 +1230,7 @@
|
||||
</Grid>
|
||||
|
||||
<!--地震仪参数设置-->
|
||||
<Grid Grid.Row="2">
|
||||
<Grid Grid.Row="3">
|
||||
<GroupBox Header="地震仪参数设置">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -1283,6 +1451,13 @@
|
||||
BorderThickness="0,0,0,1.2" Text="{Binding EQPS.Software_Version}"/>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Row="3">
|
||||
<hc:ButtonGroup Grid.Row="2" Style="{StaticResource ButtonGroupSolid}"
|
||||
Width="200" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<RadioButton Height="32" Content="主地震仪" FontSize="13" Foreground="{DynamicResource PrimaryTextBrush}"/>
|
||||
<RadioButton Height="32" Content="备地震仪" FontSize="13" IsChecked="{Binding BackupSeisIsChecked}" Foreground="{DynamicResource PrimaryTextBrush}"/>
|
||||
</hc:ButtonGroup>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid Grid.Column="4">
|
||||
@ -1380,7 +1555,7 @@
|
||||
</Grid>
|
||||
|
||||
<!--地震仪状态数据-->
|
||||
<Grid Grid.Row="3">
|
||||
<!--<Grid Grid.Row="3">
|
||||
<GroupBox Header="地震仪状态数据">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
@ -1694,7 +1869,7 @@
|
||||
</Grid>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</Grid>
|
||||
</Grid>-->
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
|
||||
|
||||
Binary file not shown.
@ -37,19 +37,25 @@
|
||||
<add key="SYZ_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="SYZ_Client_Port2" value="55001"/>
|
||||
|
||||
<!--地震仪连接信息1-->
|
||||
<add key="DZY_Client_IP1" value="10.20.102.201"/>
|
||||
<add key="DZY_Client_Port1" value="55002"/>
|
||||
<!--主地震仪连接信息-->
|
||||
<add key="MainSeis_Client_IP1" value="10.20.102.201"/>
|
||||
<add key="MainSeis_Client_Port1" value="55002"/>
|
||||
<add key="MainSeis_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="MainSeis_Client_Port2" value="55004"/>
|
||||
|
||||
<!--地震仪连接信息2-->
|
||||
<add key="DZY_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="DZY_Client_Port2" value="55003"/>
|
||||
<!--备地震仪连接信息-->
|
||||
<add key="BackupSeis_Client_IP1" value="10.20.102.201"/>
|
||||
<add key="BackupSeis_Client_Port1" value="55003"/>
|
||||
<add key="BackupSeis_Client_IP2" value="10.20.102.201"/>
|
||||
<add key="BackupSeis_Client_Port2" value="55005"/>
|
||||
|
||||
<!--地震仪编号1-->
|
||||
<add key="DZYNum1" value="0"/>
|
||||
<!--主地震仪编号-->
|
||||
<add key="MainSeisNum1" value="0"/>
|
||||
<add key="MainSeisNum2" value="0"/>
|
||||
|
||||
<!--地震仪编号2-->
|
||||
<add key="DZYNum2" value="0"/>
|
||||
<!--备地震仪编号2-->
|
||||
<add key="BackupeisNum1" value="0"/>
|
||||
<add key="BackupeisNum2" value="0"/>
|
||||
|
||||
<!--升压站量程信息-->
|
||||
<add key="SYZVoltageRange" value="100"/>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("JiangsuEarthquake")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f2ad8bcd46a15f5a97f6258e24d48746fd559477")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d7f51483a726604fab13198f45a514762f8fc49e")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("JiangsuEarthquake")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("JiangsuEarthquake")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@ -1 +1 @@
|
||||
7d63345972e3eb9939312e487450f80a4a7c25f313b6e8ab893f13db7b7d92d2
|
||||
dbb5f7284105c68bc6e602ea048f7901cf34e7479c1560f5c3f2bd2e0d074ffb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -77,7 +77,7 @@ namespace JiangsuEarthquake {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/JiangsuEarthquake;component/mainwindow.xaml", System.UriKind.Relative);
|
||||
System.Uri resourceLocater = new System.Uri("/JiangsuEarthquake;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\MainWindow.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\..\Views\SystemControlView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A36EC1022BC471E91A936BED8343E6F1B4364066"
|
||||
#pragma checksum "..\..\..\..\Views\SystemControlView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "504EDC2A986F4C1F2B6E2B184D16BD237876623F"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
@ -63,7 +63,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 174 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 171 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MUIP1;
|
||||
|
||||
@ -71,7 +71,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 192 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 189 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Port1;
|
||||
|
||||
@ -79,7 +79,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 249 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 246 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MUIP2;
|
||||
|
||||
@ -87,7 +87,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 267 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 264 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Port2;
|
||||
|
||||
@ -95,39 +95,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 324 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox DZIP;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 342 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox DZPort;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 399 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox DZIP2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 417 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox DZPort2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 484 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 331 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZIP1;
|
||||
|
||||
@ -135,7 +103,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 510 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 357 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZPort1;
|
||||
|
||||
@ -143,7 +111,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 576 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 423 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZIP2;
|
||||
|
||||
@ -151,7 +119,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 602 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 449 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SYZPort2;
|
||||
|
||||
@ -159,31 +127,95 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 673 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 520 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BaseStationPowerPickerBtn;
|
||||
internal System.Windows.Controls.TextBox MainSeisIP1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 740 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 538 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button MainSeisPowerPickerBtn;
|
||||
internal System.Windows.Controls.TextBox MainSeisPort1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 807 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 595 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BackupSeisPowerPickerBtn;
|
||||
internal System.Windows.Controls.TextBox BackupSeisIP1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 870 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 613 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox BackupSeisPort1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 670 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MainSeisIP2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 688 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox MainSeisPort2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 745 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox BackupSeisIP2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 763 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox BackupSeisPort2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 835 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BaseStationPowerPicker;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 902 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button MainSeisPowerPicker;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 969 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button BackupSeisPowerPicker;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1032 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BaseStationMsg;
|
||||
|
||||
@ -191,7 +223,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 874 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1036 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock MainSeisMsg;
|
||||
|
||||
@ -199,7 +231,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 878 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1040 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock BackupSeisMsg;
|
||||
|
||||
@ -207,23 +239,23 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 896 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1064 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisZeroSetStartButton;
|
||||
internal System.Windows.Controls.Button SeisZeroSetStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 923 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1091 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisZeroSetStopButton;
|
||||
internal System.Windows.Controls.Button SeisZeroSetStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 951 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1119 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock OpenSetMsg;
|
||||
|
||||
@ -231,7 +263,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 955 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1123 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock CloseSetMsg;
|
||||
|
||||
@ -239,23 +271,23 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 972 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1140 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisLevelSetStartButton;
|
||||
internal System.Windows.Controls.Button SeisLevelSetStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 998 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1166 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button SeisLevelSetStopButton;
|
||||
internal System.Windows.Controls.Button SeisLevelSetStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1092 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1260 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationNo;
|
||||
|
||||
@ -263,7 +295,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1117 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1285 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationName;
|
||||
|
||||
@ -271,7 +303,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1132 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1300 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StationAbbreviation;
|
||||
|
||||
@ -279,7 +311,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1156 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1324 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TotalSeismometers;
|
||||
|
||||
@ -287,7 +319,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1171 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1339 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TotalNumberOfChannels;
|
||||
|
||||
@ -295,7 +327,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1186 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1354 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Latitude;
|
||||
|
||||
@ -303,7 +335,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1210 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1378 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Longitude;
|
||||
|
||||
@ -311,7 +343,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1225 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1393 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox Altitude;
|
||||
|
||||
@ -319,7 +351,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1240 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1408 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox StartDate;
|
||||
|
||||
@ -327,7 +359,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1264 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1432 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox NetworkMarking;
|
||||
|
||||
@ -335,7 +367,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1279 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1447 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox SoftwareVersion;
|
||||
|
||||
@ -343,7 +375,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1298 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1466 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button EarthQuakeParaSetBtn;
|
||||
|
||||
@ -351,7 +383,7 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1339 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1507 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock SeisParaMsg;
|
||||
|
||||
@ -359,157 +391,13 @@ namespace JiangsuEarthquake.Views {
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1345 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1513 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button EarthQuakeParaReadBtn;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1411 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Out_Vol;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1425 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Backup_Vol;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1439 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Pre;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1453 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Tem;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1477 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Sei_Tilt_Angle;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1491 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock OBS_Tilt_Angle;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1505 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Species_Dif;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1519 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Frequency_Dif;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1543 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock CF_Total_Cap;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1557 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock CF_Usable_Cap;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1571 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock SD_Total_Cap1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1585 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock SD_Usable_Cap1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1609 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock SD_Total_Cap2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1623 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock SD_Usable_Cap2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1637 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Sei_U_Point;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1651 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Sei_V_Point;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1675 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock Sei_W_Point;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 1689 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBlock North_Angle;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
@ -563,195 +451,153 @@ namespace JiangsuEarthquake.Views {
|
||||
this.Port2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.DZIP = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 7:
|
||||
this.DZPort = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 8:
|
||||
this.DZIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 9:
|
||||
this.DZPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.SYZIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 11:
|
||||
case 7:
|
||||
this.SYZPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 12:
|
||||
case 8:
|
||||
this.SYZIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 13:
|
||||
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.BackupSeisIP1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.BackupSeisPort1 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.BaseStationPowerPickerBtn = ((System.Windows.Controls.Button)(target));
|
||||
this.MainSeisIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.MainSeisPowerPickerBtn = ((System.Windows.Controls.Button)(target));
|
||||
this.MainSeisPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 16:
|
||||
this.BackupSeisIP2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 17:
|
||||
this.BackupSeisPort2 = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 18:
|
||||
this.BaseStationPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 19:
|
||||
this.MainSeisPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 741 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
this.MainSeisPowerPickerBtn.Click += new System.Windows.RoutedEventHandler(this.MainSeisPowerOpenButton_Click);
|
||||
#line 903 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
this.MainSeisPowerPicker.Click += new System.Windows.RoutedEventHandler(this.MainSeisPowerOpenButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
case 20:
|
||||
|
||||
#line 767 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 929 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MainSeisPowerCloseButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.BackupSeisPowerPickerBtn = ((System.Windows.Controls.Button)(target));
|
||||
case 21:
|
||||
this.BackupSeisPowerPicker = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 808 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
this.BackupSeisPowerPickerBtn.Click += new System.Windows.RoutedEventHandler(this.BackupSeisPowerOpenButton_Click);
|
||||
#line 970 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
this.BackupSeisPowerPicker.Click += new System.Windows.RoutedEventHandler(this.BackupSeisPowerOpenButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 18:
|
||||
case 22:
|
||||
|
||||
#line 834 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 996 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BackupSeisPowerCloseButton_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 19:
|
||||
case 23:
|
||||
this.BaseStationMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 20:
|
||||
case 24:
|
||||
this.MainSeisMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 21:
|
||||
case 25:
|
||||
this.BackupSeisMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 22:
|
||||
this.SeisZeroSetStartButton = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 23:
|
||||
this.SeisZeroSetStopButton = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 24:
|
||||
this.OpenSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 25:
|
||||
this.CloseSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 26:
|
||||
this.SeisLevelSetStartButton = ((System.Windows.Controls.Button)(target));
|
||||
this.SeisZeroSetStart = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 27:
|
||||
this.SeisLevelSetStopButton = ((System.Windows.Controls.Button)(target));
|
||||
this.SeisZeroSetStop = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 28:
|
||||
this.StationNo = ((System.Windows.Controls.TextBox)(target));
|
||||
this.OpenSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 29:
|
||||
this.StationName = ((System.Windows.Controls.TextBox)(target));
|
||||
this.CloseSetMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 30:
|
||||
this.StationAbbreviation = ((System.Windows.Controls.TextBox)(target));
|
||||
this.SeisLevelSetStart = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 31:
|
||||
this.TotalSeismometers = ((System.Windows.Controls.TextBox)(target));
|
||||
this.SeisLevelSetStop = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 32:
|
||||
this.TotalNumberOfChannels = ((System.Windows.Controls.TextBox)(target));
|
||||
this.StationNo = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 33:
|
||||
this.Latitude = ((System.Windows.Controls.TextBox)(target));
|
||||
this.StationName = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 34:
|
||||
this.Longitude = ((System.Windows.Controls.TextBox)(target));
|
||||
this.StationAbbreviation = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 35:
|
||||
this.Altitude = ((System.Windows.Controls.TextBox)(target));
|
||||
this.TotalSeismometers = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 36:
|
||||
this.StartDate = ((System.Windows.Controls.TextBox)(target));
|
||||
this.TotalNumberOfChannels = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 37:
|
||||
this.NetworkMarking = ((System.Windows.Controls.TextBox)(target));
|
||||
this.Latitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 38:
|
||||
this.SoftwareVersion = ((System.Windows.Controls.TextBox)(target));
|
||||
this.Longitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 39:
|
||||
this.EarthQuakeParaSetBtn = ((System.Windows.Controls.Button)(target));
|
||||
this.Altitude = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 40:
|
||||
this.SeisParaMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
this.StartDate = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 41:
|
||||
this.NetworkMarking = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 42:
|
||||
this.SoftwareVersion = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 43:
|
||||
this.EarthQuakeParaSetBtn = ((System.Windows.Controls.Button)(target));
|
||||
return;
|
||||
case 44:
|
||||
this.SeisParaMsg = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 45:
|
||||
this.EarthQuakeParaReadBtn = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 1347 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
#line 1515 "..\..\..\..\Views\SystemControlView.xaml"
|
||||
this.EarthQuakeParaReadBtn.Click += new System.Windows.RoutedEventHandler(this.Switch_ClickAsync);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 42:
|
||||
this.Out_Vol = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 43:
|
||||
this.Backup_Vol = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 44:
|
||||
this.Pre = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 45:
|
||||
this.Tem = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 46:
|
||||
this.Sei_Tilt_Angle = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 47:
|
||||
this.OBS_Tilt_Angle = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 48:
|
||||
this.Species_Dif = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 49:
|
||||
this.Frequency_Dif = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 50:
|
||||
this.CF_Total_Cap = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 51:
|
||||
this.CF_Usable_Cap = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 52:
|
||||
this.SD_Total_Cap1 = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 53:
|
||||
this.SD_Usable_Cap1 = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 54:
|
||||
this.SD_Total_Cap2 = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 55:
|
||||
this.SD_Usable_Cap2 = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 56:
|
||||
this.Sei_U_Point = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 57:
|
||||
this.Sei_V_Point = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 58:
|
||||
this.Sei_W_Point = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
case 59:
|
||||
this.North_Angle = ((System.Windows.Controls.TextBlock)(target));
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user