├── .gitattributes
├── .gitignore
├── AFC.MonitorMap
├── .vs
│ ├── AFC.MonitorMap
│ │ └── v15
│ │ │ └── .suo
│ └── config
│ │ └── applicationhost.config
├── AFC.MonitorMap.Core
│ ├── AFC.MonitorMap.Core.csproj
│ ├── Logging
│ │ └── Log.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── obj
│ │ └── Debug
│ │ ├── AFC.MonitorMap.Core.csproj.FileListAbsolute.txt
│ │ ├── AFC.MonitorMap.Core.csprojResolveAssemblyReference.cache
│ │ ├── AFC.MonitorMap.Core.dll
│ │ ├── AFC.MonitorMap.Core.pdb
│ │ ├── CoreCompileInputs.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
├── AFC.MonitorMap.Edit
│ ├── AFC.MonitorMap.Edit.csproj
│ ├── Command
│ │ ├── Command.cs
│ │ ├── CommandAdd.cs
│ │ ├── CommandChangeState.cs
│ │ ├── CommandCopy.cs
│ │ ├── CommandDelete.cs
│ │ ├── CommandDeleteAll.cs
│ │ ├── CommandFullZoom.cs
│ │ ├── CommandPaste.cs
│ │ └── CommandSingleZoom.cs
│ ├── Controls
│ │ ├── DrawArea.cs
│ │ ├── DrawArea.designer.cs
│ │ ├── DrawArea.resx
│ │ ├── DrawControl.Designer.cs
│ │ ├── DrawControl.cs
│ │ ├── DrawToolType.cs
│ │ └── IPControl
│ │ │ ├── IpInputTextbox.Designer.cs
│ │ │ ├── IpInputTextbox.cs
│ │ │ ├── IpInputTextbox.resx
│ │ │ └── NumberTextBoxExt.cs
│ ├── DB
│ │ ├── DBDeviceService.cs
│ │ ├── IDeviceInterface.cs
│ │ └── LineModel.cs
│ ├── Device
│ │ ├── AGMChannel.cs
│ │ ├── AGMChannelDual.cs
│ │ ├── AGMWallDual.cs
│ │ ├── AGMWallDummy.cs
│ │ ├── AGMWallSingle.cs
│ │ ├── Array.cs
│ │ ├── BOM.cs
│ │ ├── PaidArea.cs
│ │ ├── SC.cs
│ │ ├── Switch.cs
│ │ ├── SwitchPort.cs
│ │ ├── TCM.cs
│ │ ├── TVM.cs
│ │ └── Text.cs
│ ├── DeviceTools
│ │ ├── Ellipse.cur
│ │ ├── Line.cur
│ │ ├── Pencil.cur
│ │ ├── PolyHandle.cur
│ │ ├── Rectangle.cur
│ │ ├── Tool.cs
│ │ ├── ToolAGMChannel.cs
│ │ ├── ToolAGMChannelDual.cs
│ │ ├── ToolAGMWallDual.cs
│ │ ├── ToolAGMWallDummy.cs
│ │ ├── ToolAGMWallSingle.cs
│ │ ├── ToolArray.cs
│ │ ├── ToolBOM.cs
│ │ ├── ToolEllipse.cs
│ │ ├── ToolLine.cs
│ │ ├── ToolObject.cs
│ │ ├── ToolPaidArea.cs
│ │ ├── ToolPointer.cs
│ │ ├── ToolPolygon.cs
│ │ ├── ToolPort.cs
│ │ ├── ToolRectangle.cs
│ │ ├── ToolSC.cs
│ │ ├── ToolSwitch.cs
│ │ ├── ToolTCM.cs
│ │ ├── ToolTVM.cs
│ │ └── ToolText.cs
│ ├── DocToolkit
│ │ ├── AGMChannelEntryHelp.cs
│ │ ├── DocManager.cs
│ │ ├── DragDropManager.cs
│ │ ├── DrawEllipse.cs
│ │ ├── DrawLine.cs
│ │ ├── DrawObject.cs
│ │ ├── DrawPolygon.cs
│ │ ├── DrawRectangle.cs
│ │ ├── GraphicsList.cs
│ │ ├── MruManager.cs
│ │ ├── PersistWindowState.cs
│ │ └── UndoManager.cs
│ ├── GDUI
│ │ ├── AddTextForm.cs
│ │ ├── AddTextForm.designer.cs
│ │ ├── AddTextForm.resx
│ │ ├── DrawForm.cs
│ │ ├── DrawForm.designer.cs
│ │ ├── DrawForm.resx
│ │ ├── EditorDialog.cs
│ │ ├── EditorDialog.designer.cs
│ │ ├── EditorDialog.resx
│ │ ├── PropertiesDialog.cs
│ │ ├── PropertiesDialog.designer.cs
│ │ ├── PropertiesDialog.resx
│ │ ├── SetDrawForm.cs
│ │ ├── SetDrawForm.designer.cs
│ │ ├── SetDrawForm.resx
│ │ ├── SwitchEditDialog.cs
│ │ ├── SwitchEditDialog.designer.cs
│ │ └── SwitchEditDialog.resx
│ ├── Images
│ │ ├── AGLR_00.bmp
│ │ ├── AGLR_02.bmp
│ │ ├── BOM.bmp
│ │ ├── BoxH_empty.gif
│ │ ├── BoxH_fill.gif
│ │ ├── Server.gif
│ │ ├── TCM.bmp
│ │ └── TVM.bmp
│ ├── Model
│ │ ├── DeviceTypeEnum.cs
│ │ ├── FilterItem.cs
│ │ ├── GraphicsProperties.cs
│ │ └── StationMapModel.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resource.Designer.cs
│ │ └── Resource.resx
│ ├── Resources
│ │ ├── aglr_00.bmp
│ │ ├── aglr_02.bmp
│ │ ├── bom.bmp
│ │ ├── boxh_empty.gif
│ │ ├── boxh_fill.gif
│ │ ├── server.gif
│ │ ├── tcm.bmp
│ │ └── tvm.bmp
│ ├── StationMapForm.cs
│ ├── StationMapForm.designer.cs
│ ├── StationMapForm.resx
│ └── obj
│ │ └── Debug
│ │ ├── AFC.MonitorMap.Edit.Properties.Resource.resources
│ │ ├── AFC.MonitorMap.Edit.csproj.FileListAbsolute.txt
│ │ ├── AFC.MonitorMap.Edit.csproj.GenerateResource.Cache
│ │ ├── AFC.MonitorMap.Edit.dll
│ │ ├── AFC.MonitorMap.Edit.pdb
│ │ ├── CoreCompileInputs.cache
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── DrawTools.AddTextForm.resources
│ │ ├── DrawTools.DrawArea.resources
│ │ ├── DrawTools.DrawForm.resources
│ │ ├── DrawTools.EditorDialog.resources
│ │ ├── DrawTools.PropertiesDialog.resources
│ │ ├── DrawTools.SetDrawForm.resources
│ │ ├── DrawTools.StationMapForm.resources
│ │ ├── DrawTools.SwitchEditDialog.resources
│ │ ├── IpInputExt.Ctrls.IpInputTextbox.resources
│ │ ├── TempPE
│ │ └── Properties.Resource.Designer.cs.dll
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
├── AFC.MonitorMap.MonitorService
│ ├── AFC.MonitorMap.MonitorService.csproj
│ ├── AFC.MonitorMap.MonitorService.csproj.user
│ ├── IService1.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Service1.svc
│ ├── Service1.svc.cs
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ └── obj
│ │ └── Debug
│ │ ├── AFC.MonitorMap.MonitorService.csproj.FileListAbsolute.txt
│ │ ├── AFC.MonitorMap.MonitorService.csprojResolveAssemblyReference.cache
│ │ ├── AFC.MonitorMap.MonitorService.dll
│ │ ├── AFC.MonitorMap.MonitorService.pdb
│ │ ├── CoreCompileInputs.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
├── AFC.MonitorMap.WPFTest
│ ├── AFC.MonitorMap.WPFTest.csproj
│ ├── App.config
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── MainWindow.xaml
│ ├── MainWindow.xaml.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── StationConfigManager.cs
│ └── obj
│ │ └── Debug
│ │ ├── AFC.MonitorMap.WPFTest.Properties.Resources.resources
│ │ ├── AFC.MonitorMap.WPFTest.csproj.FileListAbsolute.txt
│ │ ├── AFC.MonitorMap.WPFTest.csproj.GenerateResource.Cache
│ │ ├── AFC.MonitorMap.WPFTest.csprojResolveAssemblyReference.cache
│ │ ├── AFC.MonitorMap.WPFTest.exe
│ │ ├── AFC.MonitorMap.WPFTest.g.resources
│ │ ├── AFC.MonitorMap.WPFTest.pdb
│ │ ├── AFC.MonitorMap.WPFTest_MarkupCompile.cache
│ │ ├── AFC.MonitorMap.WPFTest_MarkupCompile.i.cache
│ │ ├── AFC.MonitorMap.WPFTest_MarkupCompile.i.lref
│ │ ├── AFC.MonitorMap.WPFTest_MarkupCompile.lref
│ │ ├── App.g.cs
│ │ ├── App.g.i.cs
│ │ ├── CoreCompileInputs.cache
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── MainWindow.baml
│ │ ├── MainWindow.g.cs
│ │ ├── MainWindow.g.i.cs
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
├── AFC.MonitorMap.sln
├── AFC.MonitorMap
│ ├── AFC.MonitorMap.csproj
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── obj
│ │ └── Debug
│ │ ├── AFC.MonitorMap.csproj.FileListAbsolute.txt
│ │ ├── AFC.MonitorMap.csprojResolveAssemblyReference.cache
│ │ ├── AFC.MonitorMap.dll
│ │ ├── AFC.MonitorMap.pdb
│ │ ├── CoreCompileInputs.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ └── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
├── Debug
│ ├── bin
│ │ ├── AFC.MonitorMap.Core.dll
│ │ ├── AFC.MonitorMap.Core.pdb
│ │ ├── AFC.MonitorMap.Edit.dll
│ │ ├── AFC.MonitorMap.Edit.pdb
│ │ ├── AFC.MonitorMap.MonitorService.dll
│ │ ├── AFC.MonitorMap.MonitorService.dll.config
│ │ ├── AFC.MonitorMap.MonitorService.pdb
│ │ ├── AFC.MonitorMap.WPFTest.exe
│ │ ├── AFC.MonitorMap.WPFTest.exe.config
│ │ ├── AFC.MonitorMap.WPFTest.pdb
│ │ ├── AFC.MonitorMap.dll
│ │ ├── AFC.MonitorMap.pdb
│ │ └── log4net.dll
│ └── image
│ │ ├── line.png
│ │ ├── stationmap.png
│ │ └── stationmap2.png
└── Lib
│ └── log4net.dll
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Windows thumbnail cache files
2 | Thumbs.db
3 | ehthumbs.db
4 | ehthumbs_vista.db
5 |
6 | # Folder config file
7 | Desktop.ini
8 |
9 | # Recycle Bin used on file shares
10 | $RECYCLE.BIN/
11 |
12 | # Windows Installer files
13 | *.cab
14 | *.msi
15 | *.msm
16 | *.msp
17 |
18 | # Windows shortcuts
19 | *.lnk
20 |
21 | # =========================
22 | # Operating System Files
23 | # =========================
24 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/.vs/AFC.MonitorMap/v15/.suo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/.vs/AFC.MonitorMap/v15/.suo
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/AFC.MonitorMap.Core.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {48957FA8-0A7A-4834-8AE1-FE8F0B9AECE3}
8 | Library
9 | Properties
10 | AFC.MonitorMap.Core
11 | AFC.MonitorMap.Core
12 | v4.5
13 | 512
14 |
15 |
16 | true
17 | full
18 | false
19 | ..\Debug\bin\
20 | DEBUG;TRACE
21 | prompt
22 | 4
23 |
24 |
25 | pdbonly
26 | true
27 | bin\Release\
28 | TRACE
29 | prompt
30 | 4
31 |
32 |
33 |
34 | ..\Lib\log4net.dll
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("AFC.MonitorMap.Core")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("AFC.MonitorMap.Core")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 会使此程序集中的类型
18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("48957fa8-0a7a-4834-8ae1-fe8f0b9aece3")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
33 | //通过使用 "*",如下所示:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/AFC.MonitorMap.Core.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.Core.dll
2 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.Core.pdb
3 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Core\obj\Debug\AFC.MonitorMap.Core.csprojResolveAssemblyReference.cache
4 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Core\obj\Debug\AFC.MonitorMap.Core.dll
5 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Core\obj\Debug\AFC.MonitorMap.Core.pdb
6 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/AFC.MonitorMap.Core.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/AFC.MonitorMap.Core.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/AFC.MonitorMap.Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/AFC.MonitorMap.Core.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/AFC.MonitorMap.Core.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/AFC.MonitorMap.Core.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 9cc5f6f35d0c6a4d9bd0b9c9331c67572a24755b
2 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Core/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/Command.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/Command.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandAdd.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandAdd.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandChangeState.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandChangeState.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandCopy.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: CommandCopy.cs
3 | ** 文件作用:复制命令
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.Device;
13 | using DrawTools.DocToolkit;
14 | using System;
15 | using System.Collections.Generic;
16 |
17 | namespace DrawTools.Command
18 | {
19 | public class CommandCopy : Command
20 | {
21 | public CommandCopy(GraphicsList graphiList)
22 | : base(graphiList)
23 | {
24 | }
25 |
26 | ///
27 | ///
28 | ///
29 | public override void Execute()
30 | {
31 | List copyList = new List();
32 | copyList.Clear();
33 | int n = graphicsList.ASelection.Count;
34 | for (int i = n - 1; i >= 0; i--)
35 | {
36 | bool addObject = true;
37 | string objName = ((DrawObject)graphicsList.ASelection[i]).GetType().Name;
38 | switch (objName)
39 | {
40 | case "Text":
41 | Text txt = (Text)graphicsList.ASelection[i];
42 | if (!txt.TextType.Equals("Text"))
43 | {
44 | addObject = false;
45 | }
46 | break;
47 | default:
48 | break;
49 | }
50 | if (addObject)
51 | copyList.Add(((DrawObject)graphicsList.ASelection[i]).Clone());
52 | }
53 | graphicsList.CopyList = copyList;
54 | }
55 |
56 | ///
57 | ///
58 | ///
59 | public override void Redo()
60 | {
61 | throw new NotImplementedException();
62 | }
63 |
64 | ///
65 | ///
66 | ///
67 | public override void Undo()
68 | {
69 | graphicsList.CopyList.Clear();
70 | }
71 | }
72 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandDelete.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandDelete.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandDeleteAll.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandDeleteAll.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandFullZoom.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: CommandFullZoom.cs
3 | ** 文件作用:全屏命令
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.DocToolkit;
13 | using System;
14 |
15 | namespace DrawTools.Command
16 | {
17 | public class CommandFullZoom : Command
18 | {
19 | private float rate;
20 |
21 | public CommandFullZoom(GraphicsList graphicsList)
22 | : base(graphicsList)
23 | {
24 | }
25 |
26 | public void SetRate(float rate)
27 | {
28 | this.rate = rate;
29 | }
30 |
31 | ///
32 | ///
33 | ///
34 | public override void Execute()
35 | {
36 | int x_aris = 0, y_aris = 0, width = 0, height = 0, n = 0;
37 | graphicsList.SelectAll();
38 | n = graphicsList.SelectionCount;
39 | DrawObject obj = null;
40 | for (int i = n - 1; i >= 0; i--)
41 | {
42 | obj = (DrawObject)graphicsList.ASelection[i];
43 | x_aris = (int)(obj.GetRectangle().X * rate);
44 | y_aris = (int)(obj.GetRectangle().Y * rate);
45 | width = (int)(obj.GetRectangle().Width * rate);
46 | height = (int)(obj.GetRectangle().Height * rate);
47 | obj.setRectangleX(x_aris);
48 | obj.setRectangleY(y_aris);
49 | obj.setRectangleWidth(width);
50 | obj.setRectangleHeight(height);
51 | }
52 | }
53 |
54 | ///
55 | ///
56 | ///
57 | public override void Redo()
58 | {
59 | throw new NotImplementedException();
60 | }
61 |
62 | ///
63 | ///
64 | ///
65 | public override void Undo()
66 | {
67 | throw new NotImplementedException();
68 | }
69 | }
70 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Command/CommandSingleZoom.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: CommandSingleZoom.cs
3 | ** 文件作用:单屏命令
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.DocToolkit;
13 | using System;
14 |
15 | namespace DrawTools.Command
16 | {
17 | public class CommandSingleZoom : Command
18 | {
19 | private float rate;
20 |
21 | public CommandSingleZoom(GraphicsList graphicslist)
22 | : base(graphicslist)
23 | {
24 | }
25 |
26 | public void SetRate(float rate)
27 | {
28 | this.rate = rate;
29 | }
30 |
31 | ///
32 | ///
33 | ///
34 | public override void Execute()
35 | {
36 | int width = 0, height = 0, n = 0;
37 | n = graphicsList.SelectionCount;
38 | if (n > 0)
39 | {
40 | DrawObject obj = null;
41 | for (int i = n - 1; i >= 0; i--)
42 | {
43 | obj = (DrawObject)graphicsList.ASelection[i];
44 | width = (int)(obj.GetRectangle().Width * rate);
45 | height = (int)(obj.GetRectangle().Height * rate);
46 | obj.setRectangleWidth(width);
47 | obj.setRectangleHeight(height);
48 | }
49 | }
50 | }
51 |
52 | ///
53 | ///
54 | ///
55 | public override void Redo()
56 | {
57 | throw new NotImplementedException();
58 | }
59 |
60 | ///
61 | ///
62 | ///
63 | public override void Undo()
64 | {
65 | throw new NotImplementedException();
66 | }
67 | }
68 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/DrawArea.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/DrawArea.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/DrawArea.designer.cs:
--------------------------------------------------------------------------------
1 | namespace DrawTools
2 | {
3 | partial class DrawArea
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Component Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // DrawArea
34 | //
35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
37 | this.BackColor = System.Drawing.Color.White;
38 | this.Name = "DrawArea";
39 | this.Size = new System.Drawing.Size(150, 138);
40 | this.DoubleClick += new System.EventHandler(this.DrawArea_DoubleClick);
41 | this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.DrawArea_MouseDown);
42 | this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.DrawArea_MouseMove);
43 | this.Paint += new System.Windows.Forms.PaintEventHandler(this.DrawArea_Paint);
44 | this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.DrawArea_MouseUp);
45 | this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DrawArea_KeyDown);
46 | this.ResumeLayout(false);
47 |
48 | }
49 |
50 | #endregion
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/DrawArea.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/DrawControl.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace DrawTools
2 | {
3 | partial class DrawControl
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region 组件设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | components = new System.ComponentModel.Container();
32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
33 | }
34 |
35 | #endregion
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/DrawControl.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: DrawControl.cs
3 | ** 文件作用:画板基类
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 | using System;
12 | using System.Collections.Generic;
13 | using System.ComponentModel;
14 | using System.Drawing;
15 | using System.Data;
16 | using System.Text;
17 | using System.Windows.Forms;
18 | using DrawTools.Model;
19 |
20 | namespace DrawTools
21 | {
22 | public partial class DrawControl : UserControl
23 | {
24 |
25 | public virtual void SaveXML(string xmlfile)
26 | { }
27 |
28 | public virtual bool OpenXML(string xmlfile)
29 | {
30 | return false;
31 | }
32 |
33 | public virtual bool OpenData(List modelList,string mapType)
34 | {
35 | return false;
36 | }
37 |
38 | public virtual bool SaveData(string mapType)
39 | {
40 | return false;
41 | }
42 |
43 | public virtual int CheckSCDeviceVertyList()
44 | {
45 | return 0;
46 | }
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/DrawToolType.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: DrawToolType.cs
3 | ** 文件作用:设备工具枚举
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2016-05-31 xwj 增加
9 | **
10 | **********************************************************/
11 | using System;
12 | using System.Collections.Generic;
13 | using System.Linq;
14 | using System.Text;
15 |
16 | namespace DrawTools.Controls
17 | {
18 | public enum DrawToolType
19 | {
20 | Pointer,
21 | Rectangle,
22 | Ellipse,
23 | Line,
24 | Polygon,
25 | Bom,
26 | AGMChannel,
27 | AGMChannelDual,
28 | AGMWallDual,
29 | AGMWallDummy,
30 | AGMWallSingle,
31 | Array,
32 | PaidArea,
33 | SC,
34 | TCM,
35 | TVM,
36 | Text,
37 | Switch,//lrh
38 | Port,//lrh
39 | NumberOfDrawTools
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/IPControl/IpInputTextbox.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/IPControl/IpInputTextbox.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/IPControl/NumberTextBoxExt.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Controls/IPControl/NumberTextBoxExt.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DB/DBDeviceService.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: DBDeviceService.cs
3 | ** 文件作用:接收外部接口实现处理类
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2016-03-08 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | namespace DrawTools.DB
13 | {
14 | public class DBDeviceService
15 | {
16 | public static IDeviceInterface dbDevice { get; set; }
17 |
18 | public DBDeviceService(IDeviceInterface device)
19 | {
20 | dbDevice = device;
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DB/IDeviceInterface.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: DeviceInterface.cs
3 | ** 文件作用:车站设备绘制工具对外接口
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2016-03-07 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.Model;
13 | using System.Collections.Generic;
14 |
15 | namespace DrawTools.DB
16 | {
17 | public interface IDeviceInterface
18 | {
19 | ///
20 | /// 获取线路所有车站列表信息
21 | ///
22 | ///
23 | List GetStationList(string lineId);
24 |
25 | List GetAllLines();
26 |
27 | ///
28 | /// 获取车站设备列表
29 | ///
30 | /// 车站编码
31 | /// 车站地图类型(车站设备-device,网络设备-NetDataSet)
32 | ///
33 | List GetStationDeviceList(string stationId, string mapType);
34 |
35 | ///
36 | /// 保存车站设备地图数据
37 | ///
38 | /// 设备Model
39 | ///
40 | bool SaveStationDevice(List model);
41 | }
42 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DB/LineModel.cs:
--------------------------------------------------------------------------------
1 | namespace DrawTools.DB
2 | {
3 | public class LineModel
4 | {
5 | ///
6 | /// 线路名称
7 | ///
8 | public string LineName { get; set; }
9 |
10 | ///
11 | /// 线路编号
12 | ///
13 | public string LineCode { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMChannel.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMChannel.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMChannelDual.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMChannelDual.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMWallDual.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMWallDual.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMWallDummy.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMWallDummy.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMWallSingle.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/AGMWallSingle.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/Array.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/Array.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/BOM.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/BOM.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/PaidArea.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/PaidArea.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/SC.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/SC.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/Switch.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: Switch.cs
3 | ** 文件作用:Switch设备
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.DocToolkit;
13 | using System;
14 | using System.Drawing;
15 | using System.Drawing.Drawing2D;
16 | using System.Windows.Forms;
17 |
18 | namespace DrawTools.Device
19 | {
20 | public class Switch : DrawRectangle
21 | {
22 | private string switchID;
23 | private bool showProperty;
24 | private HVDirection direction;
25 |
26 | public Switch()
27 | : this(0, 0, 1, 1)
28 | {
29 | }
30 |
31 | public Switch(int x, int y, int width, int height)
32 | : base()
33 | {
34 | Rectangle = new Rectangle(x, y, width, height);
35 | int id = objIdInc++;
36 | switchID = string.Format("SW{0}", id.ToString("D2"));
37 | direction = HVDirection.Horizontal;
38 | Initialize();
39 | }
40 |
41 | public override DrawObject Clone()
42 | {
43 | Switch drawSwitch = new Switch();
44 | objIdInc--;
45 | drawSwitch.Rectangle = this.Rectangle;
46 |
47 | FillDrawObjectFields(drawSwitch);
48 | return drawSwitch;
49 | }
50 |
51 | public override DrawObject Clone(int n)
52 | {
53 | Switch drawSwitch = new Switch();
54 | drawSwitch.Rectangle = this.Rectangle;
55 |
56 | FillDrawObjectFields(drawSwitch);
57 | return drawSwitch;
58 | }
59 |
60 | public override void Draw(Graphics g)
61 | {
62 | Pen pen = new Pen(Color, PenWidth);
63 | Brush brushout = new SolidBrush(Color.FromArgb(255, 150, 150, 150));
64 | Brush brushin = new SolidBrush(Color.White);
65 | g.SmoothingMode = SmoothingMode.AntiAlias;
66 | Rectangle frect = new Rectangle(Rectangle.X, Rectangle.Y, Rectangle.Width, Rectangle.Height);
67 | g.DrawRectangle(pen, Rectangle);
68 | g.FillRectangle(brushout, frect);
69 | Rectangle zrect = new Rectangle(frect.X, frect.Y, frect.Width, frect.Height);
70 | Brush brushin0 = new SolidBrush(Color.Black);
71 | StringFormat style = new StringFormat();
72 | style.Alignment = StringAlignment.Near;
73 | if (true)
74 | {
75 | g.DrawString(
76 | string.Format("交换机:{0}", SwitchID),
77 | new Font("宋体", 10, FontStyle.Regular),
78 | brushin0,
79 | zrect, style);
80 | }
81 |
82 | pen.Dispose();
83 | }
84 |
85 | public override void OnDoubleClick(Object sender, EventArgs e)
86 | {
87 | DrawArea drawArea = (DrawArea)sender;
88 | SwitchEditDialog dlg = new SwitchEditDialog(switchID, this);
89 | if (dlg.ShowDialog() == DialogResult.OK)
90 | {
91 | SwitchID = dlg.MonitorID;
92 |
93 | if (drawArea.AddText(this))
94 | {
95 | drawArea.SetDirty();
96 | }
97 | }
98 | }
99 |
100 | public override void AntiClockWiseDirection()
101 | { }
102 |
103 | public override void ClockWiseDirection()
104 | { }
105 |
106 | public string SwitchID
107 | {
108 | get { return switchID; }
109 | set { switchID = value; }
110 | }
111 |
112 | public HVDirection Direction
113 | {
114 | get { return direction; }
115 | set { direction = value; }
116 | }
117 |
118 | public bool ShowProperty
119 | {
120 | get { return showProperty; }
121 | set { showProperty = value; }
122 | }
123 |
124 | public Rectangle RectangleLs
125 | {
126 | get { return Rectangle; }
127 | set { Rectangle = value; }
128 | }
129 |
130 | public override void ShowItemProperty(bool IsShow)
131 | {
132 | this.showProperty = IsShow;
133 | }
134 |
135 | public override Rectangle GetRectangle()
136 | {
137 | return Rectangle;
138 | }
139 | }
140 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/SwitchPort.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: SwitchPort.cs
3 | ** 文件作用:SwitchPort设备
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.DocToolkit;
13 | using System;
14 | using System.Drawing;
15 | using System.Drawing.Drawing2D;
16 | using System.Windows.Forms;
17 |
18 | namespace DrawTools.Device
19 | {
20 | public class SwitchPort : DrawRectangle
21 | {
22 | private string monitorID;
23 | private string deviceID;
24 | private int portID;
25 | private bool showProperty;
26 | private int tagID;
27 |
28 | public SwitchPort()
29 | : this(0, 0, 1, 1)
30 | {
31 | }
32 |
33 | public SwitchPort(int x, int y, int width, int height)
34 | : base()
35 | {
36 | Rectangle = new Rectangle(x, y, width, height);
37 | portID = objIdInc++;
38 | monitorID = "";
39 | deviceID = portID.ToString("D4");
40 | tagID = 0;
41 | Initialize();
42 | }
43 |
44 | public override DrawObject Clone()
45 | {
46 | SwitchPort drawSPort = new SwitchPort();
47 | objIdInc--;
48 | drawSPort.Rectangle = this.Rectangle;
49 | drawSPort.TagID = TagID;
50 |
51 | FillDrawObjectFields(drawSPort);
52 | return drawSPort;
53 | }
54 |
55 | public override DrawObject Clone(int n)
56 | {
57 | SwitchPort drawSPort = new SwitchPort();
58 | drawSPort.Rectangle = this.Rectangle;
59 | drawSPort.TagID = TagID;
60 |
61 | FillDrawObjectFields(drawSPort);
62 | return drawSPort;
63 | }
64 |
65 | public override void Draw(Graphics g)
66 | {
67 | Pen pen = new Pen(Color, PenWidth);
68 | Brush brushin = null;
69 | brushin = new SolidBrush(Color.FromArgb(255, 0, 255, 0));
70 | g.SmoothingMode = SmoothingMode.AntiAlias;
71 | Rectangle frect = new Rectangle(Rectangle.X, Rectangle.Y, Rectangle.Width, Rectangle.Height);
72 | g.FillRectangle(brushin, frect); //填充区域
73 | g.DrawRectangle(pen, Rectangle); //画外框
74 | Rectangle zrect = new Rectangle(frect.X + (frect.Width - 10) / 2,
75 | frect.Y + (frect.Height - 10) / 2, frect.Width, frect.Height);
76 | Brush brushin0 = new SolidBrush(Color.Black);
77 | StringFormat style = new StringFormat();
78 | style.Alignment = StringAlignment.Near;
79 | if (true)
80 | {
81 | g.DrawString(
82 | PortID.ToString(),
83 | new Font("宋体", 10, FontStyle.Regular),
84 | brushin0,
85 | zrect, style);
86 | }
87 | pen.Dispose();
88 | }
89 |
90 | public override void OnDoubleClick(Object sender, EventArgs e)
91 | {
92 | DrawArea drawArea = (DrawArea)sender;
93 | SwitchEditDialog dlg = new SwitchEditDialog(monitorID, PortID, DeviceID, this);
94 | if (dlg.ShowDialog() == DialogResult.OK)
95 | {
96 | MonitorID = dlg.MonitorID;
97 | PortID = dlg.PortID;
98 | DeviceID = dlg.DeviceID;
99 | int i = 0;
100 | if (TagID == 0)
101 | i = objIdInc++;
102 | if (drawArea.AddText(this))
103 | {
104 | TagID = i;
105 | drawArea.SetDirty();
106 | }
107 | }
108 | }
109 |
110 | public override void AntiClockWiseDirection()
111 | { }
112 |
113 | public override void ClockWiseDirection()
114 | { }
115 |
116 | public string MonitorID
117 | {
118 | get { return monitorID; }
119 | set { monitorID = value; }
120 | }
121 |
122 | public string DeviceID
123 | {
124 | get { return deviceID; }
125 | set { deviceID = value; }
126 | }
127 |
128 | public int PortID
129 | {
130 | get { return portID; }
131 | set { portID = value; }
132 | }
133 |
134 | public int TagID
135 | {
136 | get { return tagID; }
137 | set { tagID = value; }
138 | }
139 |
140 | public bool ShowProperty
141 | {
142 | get { return showProperty; }
143 | set { showProperty = value; }
144 | }
145 |
146 | public Rectangle RectangleLs
147 | {
148 | get { return Rectangle; }
149 | set { Rectangle = value; }
150 | }
151 |
152 | public override void ShowItemProperty(bool IsShow)
153 | {
154 | this.showProperty = IsShow;
155 | }
156 |
157 | public override Rectangle GetRectangle()
158 | {
159 | return Rectangle;
160 | }
161 | }
162 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/TCM.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/TCM.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/TVM.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/TVM.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/Text.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Device/Text.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Ellipse.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Ellipse.cur
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Line.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Line.cur
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Pencil.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Pencil.cur
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/PolyHandle.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/PolyHandle.cur
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Rectangle.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Rectangle.cur
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Tool.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/Tool.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMChannel.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMChannel.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMChannelDual.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMChannelDual.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMWallDual.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMWallDual.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMWallDummy.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMWallDummy.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMWallSingle.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolAGMWallSingle.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolArray.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolArray.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolBOM.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolBOM.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolEllipse.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolEllipse.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolLine.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolLine.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolObject.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolObject.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolPaidArea.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolPaidArea.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolPointer.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolPointer.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolPolygon.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolPolygon.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolPort.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: ToolPort.cs
3 | ** 文件作用:Port Tool
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.Device;
13 | using System.Windows.Forms;
14 |
15 | namespace DrawTools.DeviceTools
16 | {
17 | public class ToolPort : ToolRectangle
18 | {
19 | public ToolPort()
20 | {
21 | Cursor = new Cursor(GetType(), "Ellipse.cur");
22 | }
23 |
24 | public override void OnMouseDown(DrawArea drawArea, MouseEventArgs e)
25 | {
26 | AddNewObject(drawArea, new SwitchPort(e.X, e.Y, 45, 45));
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolRectangle.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolRectangle.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolSC.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolSC.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolSwitch.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: ToolSwitch.cs
3 | ** 文件作用:Switch Tool
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | using DrawTools.Device;
13 | using System.Windows.Forms;
14 |
15 | namespace DrawTools.DeviceTools
16 | {
17 | public class ToolSwitch : ToolRectangle
18 | {
19 | public ToolSwitch()
20 | {
21 | Cursor = new Cursor(GetType(), "Ellipse.cur");
22 | }
23 |
24 | public override void OnMouseDown(DrawArea drawArea, MouseEventArgs e)
25 | {
26 | AddNewObject(drawArea, new Switch(e.X, e.Y, 414, 80));
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolTCM.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolTCM.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolTVM.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolTVM.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolText.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DeviceTools/ToolText.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/AGMChannelEntryHelp.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: AGMChannelEntryHelp.cs
3 | ** 文件作用:确认双向AGM相对付费区位置
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2016-05-05 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | namespace DrawTools.DocToolkit
13 | {
14 | public class AGMChannelEntryHelp
15 | {
16 | ///
17 | /// 转换双向AGM相对付费区位置(根据与付费区X、Y坐标相对位置,确定双向AGM在付费区UP或DOWN或LEFT或RIGHT位置)
18 | ///
19 | /// 付费区X坐标
20 | /// 付费区Y坐标
21 | /// 付费区高度
22 | /// 付费区宽度
23 | /// 双向AGM设备中间点X坐标
24 | /// 双向AGM设备中间点Y坐标
25 | ///
26 | public static string ConvertAgmChannelDualDirection(int paidX, int paidY, int paidHeight, int paidWdith, int deviceCenterPointX, int deviceCenterPointY)
27 | {
28 | string entry = string.Empty;
29 | int paidMax_X = paidX + paidWdith;
30 | int paidMax_Y = paidY + paidHeight;
31 | if (deviceCenterPointX < paidX)
32 | {
33 | entry = "LEFT";
34 | }
35 | else if (deviceCenterPointX > paidX && deviceCenterPointX > paidMax_X)
36 | {
37 | entry = "RIGHT";
38 | }
39 | else if (deviceCenterPointX > paidX && deviceCenterPointX < paidMax_X && deviceCenterPointY < paidY)
40 | {
41 | entry = "UP";
42 | }
43 | else if (deviceCenterPointX > paidX && deviceCenterPointX < paidMax_X && deviceCenterPointY > paidMax_Y)
44 | {
45 | entry = "DOWN";
46 | }
47 | else
48 | {
49 | entry = "RIGHT";
50 | }
51 | return entry;
52 | }
53 | }
54 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DragDropManager.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: DragDropManager.cs
3 | ** 文件作用:
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | #region Using directives
13 |
14 | using System;
15 | using System.Windows.Forms;
16 |
17 | #endregion Using directives
18 |
19 | namespace DrawTools.DocToolkit
20 | {
21 | public class DragDropManager
22 | {
23 | private Form frmOwner;
24 |
25 | public event FileDroppedEventHandler FileDroppedEvent;
26 |
27 | public DragDropManager(Form owner)
28 | {
29 | frmOwner = owner;
30 |
31 | frmOwner.AllowDrop = true;
32 |
33 | frmOwner.DragEnter += OnDragEnter;
34 | frmOwner.DragDrop += OnDragDrop;
35 | }
36 |
37 | private void OnDragEnter(object sender, System.Windows.Forms.DragEventArgs e)
38 | {
39 | if (e.Data.GetDataPresent(DataFormats.FileDrop))
40 | e.Effect = DragDropEffects.Copy;
41 | else
42 | e.Effect = DragDropEffects.None;
43 | }
44 |
45 | private void OnDragDrop(object sender, System.Windows.Forms.DragEventArgs e)
46 | {
47 | Array a = (Array)e.Data.GetData(DataFormats.FileDrop);
48 |
49 | if (a != null)
50 | {
51 | if (FileDroppedEvent != null)
52 | {
53 | FileDroppedEvent.BeginInvoke(this, new FileDroppedEventArgs(a), null, null);
54 |
55 | frmOwner.Activate();
56 | }
57 | }
58 | }
59 | }
60 |
61 | public delegate void FileDroppedEventHandler(object sender, FileDroppedEventArgs e);
62 |
63 | public class FileDroppedEventArgs : System.EventArgs
64 | {
65 | private Array fileArray;
66 |
67 | public FileDroppedEventArgs(Array array)
68 | {
69 | this.fileArray = array;
70 | }
71 |
72 | public Array FileArray
73 | {
74 | get
75 | {
76 | return fileArray;
77 | }
78 | }
79 | }
80 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawEllipse.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawEllipse.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawLine.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawLine.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawObject.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawObject.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawPolygon.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawPolygon.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawRectangle.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/DrawRectangle.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/GraphicsList.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/GraphicsList.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/PersistWindowState.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: PersistWindowState.cs
3 | ** 文件作用:
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | #region Using directives
13 |
14 | using Microsoft.Win32;
15 | using System.Drawing;
16 | using System.Windows.Forms;
17 |
18 | #endregion Using directives
19 |
20 | namespace DrawTools.DocToolkit
21 | {
22 | public class PersistWindowState
23 | {
24 | #region Members
25 |
26 | private Form ownerForm;
27 | private string registryPath;
28 | private int normalLeft;
29 | private int normalTop;
30 | private int normalWidth;
31 | private int normalHeight;
32 |
33 | private FormWindowState windowState = FormWindowState.Normal;
34 |
35 | private bool allowSaveMinimized = false;
36 |
37 | #endregion Members
38 |
39 | #region Constructor
40 |
41 | public PersistWindowState(string path, Form owner)
42 | {
43 | if (path == null ||
44 | path.Length == 0)
45 | {
46 | registryPath = "Software\\Unknown";
47 | }
48 | else
49 | {
50 | registryPath = path;
51 | }
52 |
53 | if (!registryPath.EndsWith("\\"))
54 | registryPath += "\\";
55 |
56 | registryPath += "MainForm";
57 |
58 | ownerForm = owner;
59 |
60 | ownerForm.Closing += OnClosing;
61 | ownerForm.Resize += OnResize;
62 | ownerForm.Move += OnMove;
63 | ownerForm.Load += OnLoad;
64 |
65 | normalWidth = ownerForm.Width;
66 | normalHeight = ownerForm.Height;
67 | }
68 |
69 | #endregion Constructor
70 |
71 | #region Properties
72 |
73 | public bool AllowSaveMinimized
74 | {
75 | get
76 | {
77 | return allowSaveMinimized;
78 | }
79 | set
80 | {
81 | allowSaveMinimized = value;
82 | }
83 | }
84 |
85 | #endregion Properties
86 |
87 | #region Event Handlers
88 |
89 | private void OnResize(object sender, System.EventArgs e)
90 | {
91 | if (ownerForm.WindowState == FormWindowState.Normal)
92 | {
93 | normalWidth = ownerForm.Width;
94 | normalHeight = ownerForm.Height;
95 | }
96 | }
97 |
98 | private void OnMove(object sender, System.EventArgs e)
99 | {
100 | if (ownerForm.WindowState == FormWindowState.Normal)
101 | {
102 | normalLeft = ownerForm.Left;
103 | normalTop = ownerForm.Top;
104 | }
105 |
106 | windowState = ownerForm.WindowState;
107 | }
108 |
109 | private void OnClosing(object sender, System.ComponentModel.CancelEventArgs e)
110 | {
111 | RegistryKey key = Registry.CurrentUser.CreateSubKey(registryPath);
112 | key.SetValue("Left", normalLeft);
113 | key.SetValue("Top", normalTop);
114 | key.SetValue("Width", normalWidth);
115 | key.SetValue("Height", normalHeight);
116 |
117 | if (!allowSaveMinimized)
118 | {
119 | if (windowState == FormWindowState.Minimized)
120 | windowState = FormWindowState.Normal;
121 | }
122 |
123 | key.SetValue("WindowState", (int)windowState);
124 | }
125 |
126 | private void OnLoad(object sender, System.EventArgs e)
127 | {
128 | RegistryKey key = Registry.CurrentUser.OpenSubKey(registryPath);
129 | if (key != null)
130 | {
131 | int left = (int)key.GetValue("Left", ownerForm.Left);
132 | int top = (int)key.GetValue("Top", ownerForm.Top);
133 | int width = (int)key.GetValue("Width", ownerForm.Width);
134 | int height = (int)key.GetValue("Height", ownerForm.Height);
135 | FormWindowState windowState = (FormWindowState)key.GetValue("WindowState", (int)ownerForm.WindowState);
136 |
137 | ownerForm.Location = new Point(left, top);
138 | ownerForm.Size = new Size(width, height);
139 | ownerForm.WindowState = windowState;
140 | }
141 | }
142 |
143 | #endregion Event Handlers
144 | }
145 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/UndoManager.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/DocToolkit/UndoManager.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/AddTextForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/AddTextForm.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/AddTextForm.designer.cs:
--------------------------------------------------------------------------------
1 | namespace DrawTools
2 | {
3 | partial class AddTextForm
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows 窗体设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.label1 = new System.Windows.Forms.Label();
32 | this.textBox1 = new System.Windows.Forms.TextBox();
33 | this.button1 = new System.Windows.Forms.Button();
34 | this.SuspendLayout();
35 | //
36 | // label1
37 | //
38 | this.label1.AutoSize = true;
39 | this.label1.Location = new System.Drawing.Point(32, 23);
40 | this.label1.Name = "label1";
41 | this.label1.Size = new System.Drawing.Size(35, 12);
42 | this.label1.TabIndex = 11;
43 | this.label1.Text = "Text:";
44 | //
45 | // textBox1
46 | //
47 | this.textBox1.Location = new System.Drawing.Point(67, 20);
48 | this.textBox1.Name = "textBox1";
49 | this.textBox1.Size = new System.Drawing.Size(151, 21);
50 | this.textBox1.TabIndex = 1;
51 | this.textBox1.Validating += new System.ComponentModel.CancelEventHandler(this.textBox1_Validating);
52 | //
53 | // button1
54 | //
55 | this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
56 | this.button1.Location = new System.Drawing.Point(93, 60);
57 | this.button1.Name = "button1";
58 | this.button1.Size = new System.Drawing.Size(95, 23);
59 | this.button1.TabIndex = 2;
60 | this.button1.Text = "确定";
61 | this.button1.UseVisualStyleBackColor = true;
62 | this.button1.Click += new System.EventHandler(this.button1_Click);
63 | //
64 | // AddTextForm
65 | //
66 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
67 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
68 | this.ClientSize = new System.Drawing.Size(272, 105);
69 | this.Controls.Add(this.label1);
70 | this.Controls.Add(this.textBox1);
71 | this.Controls.Add(this.button1);
72 | this.MaximizeBox = false;
73 | this.MinimizeBox = false;
74 | this.Name = "AddTextForm";
75 | this.Text = "设备名称";
76 | this.ResumeLayout(false);
77 | this.PerformLayout();
78 |
79 | }
80 |
81 | #endregion
82 |
83 | private System.Windows.Forms.Label label1;
84 | private System.Windows.Forms.TextBox textBox1;
85 | private System.Windows.Forms.Button button1;
86 | }
87 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/AddTextForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/DrawForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/DrawForm.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/DrawForm.designer.cs:
--------------------------------------------------------------------------------
1 | namespace DrawTools
2 | {
3 | partial class DrawForm
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows 窗体设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.SuspendLayout();
32 | //
33 | // DrawForm
34 | //
35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
37 | this.AutoScroll = true;
38 | this.AutoScrollMargin = new System.Drawing.Size(1100, 400);
39 | this.AutoScrollMinSize = new System.Drawing.Size(920, 670);
40 | this.ClientSize = new System.Drawing.Size(616, 435);
41 | this.Name = "DrawForm";
42 | this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
43 | this.Text = "DrawForm";
44 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DrawForm_FormClosing);
45 | this.Load += new System.EventHandler(this.DrawForm_Load);
46 | this.ResumeLayout(false);
47 |
48 | }
49 |
50 | #endregion
51 | }
52 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/DrawForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/EditorDialog.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/EditorDialog.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/EditorDialog.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/PropertiesDialog.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/PropertiesDialog.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/PropertiesDialog.designer.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/PropertiesDialog.designer.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/PropertiesDialog.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/SetDrawForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/SetDrawForm.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/SetDrawForm.designer.cs:
--------------------------------------------------------------------------------
1 | namespace DrawTools
2 | {
3 | partial class SetDrawForm
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows 窗体设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.label1 = new System.Windows.Forms.Label();
32 | this.textBox1 = new System.Windows.Forms.TextBox();
33 | this.button2 = new System.Windows.Forms.Button();
34 | this.button1 = new System.Windows.Forms.Button();
35 | this.label4 = new System.Windows.Forms.Label();
36 | this.ipInputTextbox1 = new IpInputExt.Ctrls.IpInputTextbox();
37 | this.SuspendLayout();
38 | //
39 | // label1
40 | //
41 | this.label1.AutoSize = true;
42 | this.label1.Location = new System.Drawing.Point(30, 30);
43 | this.label1.Name = "label1";
44 | this.label1.Size = new System.Drawing.Size(65, 12);
45 | this.label1.TabIndex = 11;
46 | this.label1.Text = "车站编号:";
47 | //
48 | // textBox1
49 | //
50 | this.textBox1.Location = new System.Drawing.Point(101, 26);
51 | this.textBox1.Name = "textBox1";
52 | this.textBox1.ReadOnly = true;
53 | this.textBox1.Size = new System.Drawing.Size(162, 21);
54 | this.textBox1.TabIndex = 10;
55 | //
56 | // button2
57 | //
58 | this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
59 | this.button2.Location = new System.Drawing.Point(188, 121);
60 | this.button2.Name = "button2";
61 | this.button2.Size = new System.Drawing.Size(75, 23);
62 | this.button2.TabIndex = 9;
63 | this.button2.Text = "取消";
64 | this.button2.UseVisualStyleBackColor = true;
65 | //
66 | // button1
67 | //
68 | this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
69 | this.button1.Location = new System.Drawing.Point(95, 121);
70 | this.button1.Name = "button1";
71 | this.button1.Size = new System.Drawing.Size(75, 23);
72 | this.button1.TabIndex = 8;
73 | this.button1.Text = "确定";
74 | this.button1.UseVisualStyleBackColor = true;
75 | this.button1.Click += new System.EventHandler(this.button1_Click);
76 | //
77 | // label4
78 | //
79 | this.label4.AutoSize = true;
80 | this.label4.Location = new System.Drawing.Point(24, 70);
81 | this.label4.Name = "label4";
82 | this.label4.Size = new System.Drawing.Size(47, 12);
83 | this.label4.TabIndex = 16;
84 | this.label4.Text = "IP地址:";
85 | //
86 | // ipInputTextbox1
87 | //
88 | this.ipInputTextbox1.IP = "IP地址格式不正确";
89 | this.ipInputTextbox1.Location = new System.Drawing.Point(101, 70);
90 | this.ipInputTextbox1.Name = "ipInputTextbox1";
91 | this.ipInputTextbox1.Size = new System.Drawing.Size(160, 21);
92 | this.ipInputTextbox1.TabIndex = 18;
93 | //
94 | // SetDrawForm
95 | //
96 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
97 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
98 | this.ClientSize = new System.Drawing.Size(299, 167);
99 | this.Controls.Add(this.ipInputTextbox1);
100 | this.Controls.Add(this.label4);
101 | this.Controls.Add(this.label1);
102 | this.Controls.Add(this.textBox1);
103 | this.Controls.Add(this.button2);
104 | this.Controls.Add(this.button1);
105 | this.MaximizeBox = false;
106 | this.MinimizeBox = false;
107 | this.Name = "SetDrawForm";
108 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
109 | this.Text = "SC服务器";
110 | this.ResumeLayout(false);
111 | this.PerformLayout();
112 |
113 | }
114 |
115 | #endregion
116 |
117 | private System.Windows.Forms.Label label1;
118 | private System.Windows.Forms.TextBox textBox1;
119 | private System.Windows.Forms.Button button2;
120 | private System.Windows.Forms.Button button1;
121 | private System.Windows.Forms.Label label4;
122 | private IpInputExt.Ctrls.IpInputTextbox ipInputTextbox1;
123 | }
124 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/SetDrawForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/GDUI/SwitchEditDialog.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: SwitchEditDialog.cs
3 | ** 文件作用:
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 | using DrawTools.DocToolkit;
12 | using System;
13 | using System.Collections.Generic;
14 | using System.ComponentModel;
15 | using System.Data;
16 | using System.Drawing;
17 | using System.Text;
18 | using System.Windows.Forms;
19 |
20 | namespace DrawTools
21 | {
22 | public partial class SwitchEditDialog : Form
23 | {
24 | string monitorID;
25 | string portID;
26 | string deviceID;
27 |
28 | public SwitchEditDialog( string switchID, DrawObject obj )
29 | {
30 | InitializeComponent();
31 | this.monitorID = switchID;
32 |
33 | label1.Text = "交换机编号";
34 | textBox1.Text = this.monitorID;
35 | label2.Visible = textBox2.Visible =
36 | label3.Visible = textBox3.Visible = false;
37 | }
38 |
39 | public SwitchEditDialog( string monitorID, int portID, string deviceID, DrawObject obj )
40 | {
41 | InitializeComponent();
42 | this.monitorID = monitorID;
43 | this.portID = portID.ToString();
44 | this.deviceID = deviceID;
45 |
46 | label1.Text = "监控端口";
47 | textBox1.Text = this.monitorID;
48 | label2.Visible = textBox2.Visible =
49 | label3.Visible = textBox3.Visible = true;
50 | textBox2.Text = this.deviceID;
51 | textBox3.Text = this.portID;
52 |
53 | }
54 |
55 | public string MonitorID
56 | {
57 | get { return this.monitorID; }
58 | set { this.monitorID = value; }
59 | }
60 |
61 | public string DeviceID
62 | {
63 | get { return this.deviceID; }
64 | set { this.deviceID = value; }
65 | }
66 |
67 | public int PortID
68 | {
69 | get { return int.Parse( this.portID ); }
70 | set { this.portID = value.ToString(); }
71 | }
72 |
73 | private void textBox1_TextChanged( object sender, EventArgs e )
74 | {
75 |
76 | }
77 |
78 | private void button1_Click( object sender, EventArgs e )
79 | {
80 | this.monitorID = textBox1.Text.Trim();
81 | this.deviceID = textBox2.Text.Trim();
82 | this.portID = textBox3.Text.Trim();
83 | }
84 | }
85 | }
86 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/AGLR_00.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/AGLR_00.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/AGLR_02.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/AGLR_02.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/BOM.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/BOM.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/BoxH_empty.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/BoxH_empty.gif
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/BoxH_fill.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/BoxH_fill.gif
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/Server.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/Server.gif
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/TCM.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/TCM.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/TVM.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Images/TVM.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Model/DeviceTypeEnum.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: DeviceTypeEnum.cs
3 | ** 文件作用:设备类型枚举
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | namespace DrawTools.Model
13 | {
14 | public enum DeviceTypeEnum
15 | {
16 | ES = 00,
17 | TVM = 01,
18 | BOM = 02,
19 | CUS = 03,
20 | TCM = 04,
21 | PCA = 05,
22 | AGM = 06,
23 | SC = 11,
24 | ARRAY = 14,
25 | AGM_Sub_AGMChannel = 07,//或08
26 | AGM_Sub_AGMChannelDual = 09,
27 | AGM_Sub_AGMWallDual = 72, //自定义子类型
28 | AGM_Sub_AGMWallDummy = 73, //自定义子类型
29 | AGM_Sub_AGMWallSingle = 71, //自定义子类型
30 | }
31 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Model/FilterItem.cs:
--------------------------------------------------------------------------------
1 | namespace DrawTools.Model
2 | {
3 | public class FilterItem
4 | {
5 | public FilterItem(string code, string description)
6 | {
7 | this.code = code;
8 | this.description = description;
9 | }
10 |
11 | private string code;
12 |
13 | public string Code
14 | {
15 | get
16 | {
17 | return code;
18 | }
19 | }
20 |
21 | private string description;
22 |
23 | public string Description
24 | {
25 | get
26 | {
27 | return description;
28 | }
29 | }
30 |
31 | public override string ToString()
32 | {
33 | return this.code;
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Model/GraphicsProperties.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Model/GraphicsProperties.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Model/StationMapModel.cs:
--------------------------------------------------------------------------------
1 | /**********************************************************
2 | ** 文件名: StationMapModel.cs
3 | ** 文件作用:车站设备节点配置参数实体
4 | **
5 | **---------------------------------------------------------
6 | **修改历史记录:
7 | **修改时间 修改人 修改内容概要
8 | **2018-09-14 xwj 增加
9 | **
10 | **********************************************************/
11 |
12 | namespace DrawTools.Model
13 | {
14 | public class StationMapModel
15 | {
16 | ///
17 | /// 序号
18 | ///
19 | public string RecID { get; set; }
20 |
21 | ///
22 | /// 车站编号
23 | ///
24 | public string StationID { get; set; }
25 |
26 | ///
27 | /// 设备编号
28 | ///
29 | public string DeviceID { get; set; }
30 |
31 | ///
32 | /// 设备名称
33 | ///
34 | public string DeviceName { get; set; }
35 |
36 | ///
37 | /// 设备类型(01-AGM...)
38 | ///
39 | public string DeviceType { get; set; }
40 |
41 | ///
42 | /// 设备子类型(主要区分AGM,双向、单向)
43 | ///
44 | public string DeviceSubType { get; set; }
45 |
46 | ///
47 | ///
48 | ///
49 | public string DeviceSeqInStation { get; set; }
50 |
51 | public string LobbyId { get; set; }
52 |
53 | public string GroupID { get; set; }
54 |
55 | public string DeviceSeqInGroup { get; set; }
56 |
57 | ///
58 | /// 位置-X
59 | ///
60 | public string XPos { get; set; }
61 |
62 | ///
63 | /// 位置-Y
64 | ///
65 | public string YPos { get; set; }
66 |
67 | ///
68 | /// IP地址
69 | ///
70 | public string IpAdd { get; set; }
71 |
72 | ///
73 | /// 设备宽度
74 | ///
75 | public string Device_W { get; set; }
76 |
77 | ///
78 | /// 设备高度
79 | ///
80 | public string Device_H { get; set; }
81 |
82 | ///
83 | /// 画板宽度
84 | ///
85 | public string Region_W { get; set; }
86 |
87 | ///
88 | /// 画板高度
89 | ///
90 | public string Region_H { get; set; }
91 |
92 | ///
93 | /// 设备角度 只针对agm
94 | ///
95 | public string Angle { get; set; }
96 |
97 | ///
98 | /// 文本大小
99 | ///
100 | public string TextFontSize { get; set; }
101 |
102 | ///
103 | /// 文本样式
104 | ///
105 | public string TextFonStyle { get; set; }
106 |
107 | ///
108 | /// 文本颜色
109 | ///
110 | public string TextColor { get; set; }
111 |
112 | ///
113 | /// 双向agm摆放位置
114 | ///
115 | public string Entry { get; set; }
116 |
117 | ///
118 | /// 设备显示lable
119 | ///
120 | public string LableId { get; set; }
121 |
122 | ///
123 | /// 文本样式
124 | ///
125 | public string TextType { get; set; }
126 |
127 | ///
128 | /// 车站地图类型(区分设备与交换机)
129 | ///
130 | public string MapType { get; set; }
131 |
132 | public string UseFlag { get; set; }
133 | }
134 | }
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("AFC.MonitorMap.Edit")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("AFC.MonitorMap.Edit")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 会使此程序集中的类型
18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("98622856-6f37-41f7-b94c-a40ae4eba8da")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
33 | //通过使用 "*",如下所示:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Properties/Resource.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace AFC.MonitorMap.Edit.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resource {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resource() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AFC.MonitorMap.Edit.Properties.Resource", typeof(Resource).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
65 | ///
66 | internal static System.Drawing.Bitmap AGLR_00 {
67 | get {
68 | object obj = ResourceManager.GetObject("AGLR_00", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 |
73 | ///
74 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
75 | ///
76 | internal static System.Drawing.Bitmap AGLR_02 {
77 | get {
78 | object obj = ResourceManager.GetObject("AGLR_02", resourceCulture);
79 | return ((System.Drawing.Bitmap)(obj));
80 | }
81 | }
82 |
83 | ///
84 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
85 | ///
86 | internal static System.Drawing.Bitmap BOM {
87 | get {
88 | object obj = ResourceManager.GetObject("BOM", resourceCulture);
89 | return ((System.Drawing.Bitmap)(obj));
90 | }
91 | }
92 |
93 | ///
94 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
95 | ///
96 | internal static System.Drawing.Bitmap BoxH_empty {
97 | get {
98 | object obj = ResourceManager.GetObject("BoxH_empty", resourceCulture);
99 | return ((System.Drawing.Bitmap)(obj));
100 | }
101 | }
102 |
103 | ///
104 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
105 | ///
106 | internal static System.Drawing.Bitmap BoxH_fill {
107 | get {
108 | object obj = ResourceManager.GetObject("BoxH_fill", resourceCulture);
109 | return ((System.Drawing.Bitmap)(obj));
110 | }
111 | }
112 |
113 | ///
114 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
115 | ///
116 | internal static System.Drawing.Bitmap Server {
117 | get {
118 | object obj = ResourceManager.GetObject("Server", resourceCulture);
119 | return ((System.Drawing.Bitmap)(obj));
120 | }
121 | }
122 |
123 | ///
124 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
125 | ///
126 | internal static System.Drawing.Bitmap TCM {
127 | get {
128 | object obj = ResourceManager.GetObject("TCM", resourceCulture);
129 | return ((System.Drawing.Bitmap)(obj));
130 | }
131 | }
132 |
133 | ///
134 | /// 查找类似 的本地化字符串。
135 | ///
136 | internal static string ToolRectangle {
137 | get {
138 | return ResourceManager.GetString("ToolRectangle", resourceCulture);
139 | }
140 | }
141 |
142 | ///
143 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
144 | ///
145 | internal static System.Drawing.Bitmap TVM {
146 | get {
147 | object obj = ResourceManager.GetObject("TVM", resourceCulture);
148 | return ((System.Drawing.Bitmap)(obj));
149 | }
150 | }
151 | }
152 | }
153 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/aglr_00.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/aglr_00.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/aglr_02.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/aglr_02.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/bom.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/bom.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/boxh_empty.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/boxh_empty.gif
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/boxh_fill.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/boxh_fill.gif
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/server.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/server.gif
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/tcm.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/tcm.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/tvm.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/Resources/tvm.bmp
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.Properties.Resource.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.Properties.Resource.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.Edit.dll
2 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.Edit.pdb
3 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.DrawArea.resources
4 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\IpInputExt.Ctrls.IpInputTextbox.resources
5 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.AddTextForm.resources
6 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.DrawForm.resources
7 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.EditorDialog.resources
8 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.PropertiesDialog.resources
9 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.SetDrawForm.resources
10 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.SwitchEditDialog.resources
11 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\AFC.MonitorMap.Edit.Properties.Resource.resources
12 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\DrawTools.StationMapForm.resources
13 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\AFC.MonitorMap.Edit.csproj.GenerateResource.Cache
14 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\AFC.MonitorMap.Edit.dll
15 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.Edit\obj\Debug\AFC.MonitorMap.Edit.pdb
16 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/AFC.MonitorMap.Edit.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | e8220b788a1bfa7d609575ceb857d2279ce8ac0d
2 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.AddTextForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.AddTextForm.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.DrawArea.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.DrawArea.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.DrawForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.DrawForm.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.EditorDialog.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.EditorDialog.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.PropertiesDialog.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.PropertiesDialog.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.SetDrawForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.SetDrawForm.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.StationMapForm.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.StationMapForm.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.SwitchEditDialog.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/DrawTools.SwitchEditDialog.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/IpInputExt.Ctrls.IpInputTextbox.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/IpInputExt.Ctrls.IpInputTextbox.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TempPE/Properties.Resource.Designer.cs.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TempPE/Properties.Resource.Designer.cs.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.Edit/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/AFC.MonitorMap.MonitorService.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 |
7 |
8 | 2.0
9 | {0FBAE9A8-AE93-420A-9175-C319B6612B85}
10 | {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
11 | Library
12 | Properties
13 | AFC.MonitorMap.MonitorService
14 | AFC.MonitorMap.MonitorService
15 | v4.5
16 | True
17 | true
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | true
26 | full
27 | false
28 | ..\Debug\bin\
29 | DEBUG;TRACE
30 | prompt
31 | 4
32 |
33 |
34 | pdbonly
35 | true
36 | bin\
37 | TRACE
38 | prompt
39 | 4
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | Service1.svc
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 | Web.config
78 |
79 |
80 | Web.config
81 |
82 |
83 |
84 | 10.0
85 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 | True
95 | True
96 | 2984
97 | /
98 | http://localhost:2984/
99 | False
100 | False
101 |
102 |
103 | False
104 |
105 |
106 |
107 |
108 |
115 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/AFC.MonitorMap.MonitorService.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | CurrentPage
13 | True
14 | False
15 | False
16 | False
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | True
26 | True
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/IService1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Runtime.Serialization;
5 | using System.ServiceModel;
6 | using System.ServiceModel.Web;
7 | using System.Text;
8 |
9 | namespace AFC.MonitorMap.MonitorService
10 | {
11 | // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IService1”。
12 | [ServiceContract]
13 | public interface IService1
14 | {
15 |
16 | [OperationContract]
17 | string GetData(int value);
18 |
19 | [OperationContract]
20 | CompositeType GetDataUsingDataContract(CompositeType composite);
21 |
22 | // TODO: 在此添加您的服务操作
23 | }
24 |
25 |
26 | // 使用下面示例中说明的数据约定将复合类型添加到服务操作。
27 | [DataContract]
28 | public class CompositeType
29 | {
30 | bool boolValue = true;
31 | string stringValue = "Hello ";
32 |
33 | [DataMember]
34 | public bool BoolValue
35 | {
36 | get { return boolValue; }
37 | set { boolValue = value; }
38 | }
39 |
40 | [DataMember]
41 | public string StringValue
42 | {
43 | get { return stringValue; }
44 | set { stringValue = value; }
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("AFC.MonitorMap.MonitorService")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("AFC.MonitorMap.MonitorService")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | //将 ComVisible 设置为 false 将使此程序集中的类型
18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("0fbae9a8-ae93-420a-9175-c319b6612b85")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 您可以指定所有值,也可以通过使用“*”来使用
33 | // 方法是按如下所示使用“*”: :
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/Service1.svc:
--------------------------------------------------------------------------------
1 | <%@ ServiceHost Language="C#" Debug="true" Service="AFC.MonitorMap.MonitorService.Service1" CodeBehind="Service1.svc.cs" %>
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/Service1.svc.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Runtime.Serialization;
5 | using System.ServiceModel;
6 | using System.ServiceModel.Web;
7 | using System.Text;
8 |
9 | namespace AFC.MonitorMap.MonitorService
10 | {
11 | // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码、svc 和配置文件中的类名“Service1”。
12 | // 注意: 为了启动 WCF 测试客户端以测试此服务,请在解决方案资源管理器中选择 Service1.svc 或 Service1.svc.cs,然后开始调试。
13 | public class Service1 : IService1
14 | {
15 | public string GetData(int value)
16 | {
17 | return string.Format("You entered: {0}", value);
18 | }
19 |
20 | public CompositeType GetDataUsingDataContract(CompositeType composite)
21 | {
22 | if (composite == null)
23 | {
24 | throw new ArgumentNullException("composite");
25 | }
26 | if (composite.BoolValue)
27 | {
28 | composite.StringValue += "Suffix";
29 | }
30 | return composite;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
30 |
31 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
31 |
32 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/AFC.MonitorMap.MonitorService.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.MonitorService.dll.config
2 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.MonitorService.dll
3 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.MonitorService.pdb
4 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.MonitorService\obj\Debug\AFC.MonitorMap.MonitorService.csprojResolveAssemblyReference.cache
5 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.MonitorService\obj\Debug\AFC.MonitorMap.MonitorService.dll
6 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.MonitorService\obj\Debug\AFC.MonitorMap.MonitorService.pdb
7 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/AFC.MonitorMap.MonitorService.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/AFC.MonitorMap.MonitorService.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/AFC.MonitorMap.MonitorService.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/AFC.MonitorMap.MonitorService.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/AFC.MonitorMap.MonitorService.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/AFC.MonitorMap.MonitorService.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | f39b8031d4e023d9b35964073f219ae7e4fd7fcc
2 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.MonitorService/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/AFC.MonitorMap.WPFTest.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {003C618C-6BB4-420A-A9D2-D8C91A4B617E}
8 | WinExe
9 | AFC.MonitorMap.WPFTest
10 | AFC.MonitorMap.WPFTest
11 | v4.5
12 | 512
13 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
14 | 4
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | ..\Debug\bin\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 | 4.0
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | MSBuild:Compile
56 | Designer
57 |
58 |
59 |
60 | MSBuild:Compile
61 | Designer
62 |
63 |
64 | App.xaml
65 | Code
66 |
67 |
68 | MainWindow.xaml
69 | Code
70 |
71 |
72 |
73 |
74 | Code
75 |
76 |
77 | True
78 | True
79 | Resources.resx
80 |
81 |
82 | True
83 | Settings.settings
84 | True
85 |
86 |
87 | ResXFileCodeGenerator
88 | Resources.Designer.cs
89 |
90 |
91 | SettingsSingleFileGenerator
92 | Settings.Designer.cs
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 | {98622856-6f37-41f7-b94c-a40ae4eba8da}
101 | AFC.MonitorMap.Edit
102 |
103 |
104 |
105 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace AFC.MonitorMap.WPFTest
10 | {
11 | ///
12 | /// App.xaml 的交互逻辑
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using DrawTools;
2 | using DrawTools.DB;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 | using System.Windows;
9 | using System.Windows.Controls;
10 | using System.Windows.Data;
11 | using System.Windows.Documents;
12 | using System.Windows.Input;
13 | using System.Windows.Media;
14 | using System.Windows.Media.Imaging;
15 | using System.Windows.Navigation;
16 | using System.Windows.Shapes;
17 |
18 | namespace AFC.MonitorMap.WPFTest
19 | {
20 | ///
21 | /// MainWindow.xaml 的交互逻辑
22 | ///
23 | public partial class MainWindow : Window
24 | {
25 | public MainWindow()
26 | {
27 | InitializeComponent();
28 | //if (new StationConfigManager() != null)
29 | //{
30 | // DBDeviceService db = new DBDeviceService(new StationConfigManager());
31 | //}
32 | this.Loaded += MainWindow_Loaded;
33 | }
34 |
35 | private void MainWindow_Loaded(object sender, RoutedEventArgs e)
36 | {
37 | InitStationMapFormHost();
38 | }
39 |
40 | ///
41 | /// 初始化车站地图绘画窗体
42 | ///
43 | private void InitStationMapFormHost()
44 | {
45 | if (this.stationMapFormHost.Child == null)
46 | {
47 | StationMapForm mainForm = new StationMapForm();
48 | mainForm.Show();
49 | mainForm.TopLevel = false;
50 | mainForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
51 | this.stationMapFormHost.Child = mainForm;
52 | mainForm.BringToFront();
53 | }
54 | }
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // 有关程序集的一般信息由以下
8 | // 控制。更改这些特性值可修改
9 | // 与程序集关联的信息。
10 | [assembly: AssemblyTitle("AFC.MonitorMap.WPFTest")]
11 | [assembly: AssemblyDescription("")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("")]
14 | [assembly: AssemblyProduct("AFC.MonitorMap.WPFTest")]
15 | [assembly: AssemblyCopyright("Copyright © 2018")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // 将 ComVisible 设置为 false 会使此程序集中的类型
20 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
21 | //请将此类型的 ComVisible 特性设置为 true。
22 | [assembly: ComVisible(false)]
23 |
24 | //若要开始生成可本地化的应用程序,请设置
25 | //.csproj 文件中的 CultureYouAreCodingWith
26 | //例如,如果您在源文件中使用的是美国英语,
27 | //使用的是美国英语,请将 设置为 en-US。 然后取消
28 | //对以下 NeutralResourceLanguage 特性的注释。 更新
29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置
36 | //(未在页面中找到资源时使用,
37 | //或应用程序资源字典中找到时使用)
38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
39 | //(未在页面中找到资源时使用,
40 | //、应用程序或任何主题专用资源字典中找到时使用)
41 | )]
42 |
43 |
44 | // 程序集的版本信息由下列四个值组成:
45 | //
46 | // 主版本
47 | // 次版本
48 | // 生成号
49 | // 修订号
50 | //
51 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
52 | // 方法是按如下所示使用“*”: :
53 | // [assembly: AssemblyVersion("1.0.*")]
54 | [assembly: AssemblyVersion("1.0.0.0")]
55 | [assembly: AssemblyFileVersion("1.0.0.0")]
56 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本: 4.0.30319.42000
5 | //
6 | // 对此文件的更改可能导致不正确的行为,如果
7 | // 重新生成代码,则所做更改将丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace AFC.MonitorMap.WPFTest.Properties
12 | {
13 |
14 |
15 | ///
16 | /// 强类型资源类,用于查找本地化字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources
26 | {
27 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// 返回此类使用的缓存 ResourceManager 实例。
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AFC.MonitorMap.WPFTest.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// 覆盖当前线程的 CurrentUICulture 属性
56 | /// 使用此强类型的资源类的资源查找。
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace AFC.MonitorMap.WPFTest.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.Properties.Resources.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.Properties.Resources.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.WPFTest.exe.config
2 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.WPFTest.exe
3 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.WPFTest.pdb
4 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest.csprojResolveAssemblyReference.cache
5 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\MainWindow.g.cs
6 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\App.g.cs
7 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest_MarkupCompile.cache
8 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest_MarkupCompile.lref
9 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\MainWindow.baml
10 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest.g.resources
11 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest.Properties.Resources.resources
12 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest.csproj.GenerateResource.Cache
13 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest.exe
14 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\AFC.MonitorMap.WPFTest.pdb
15 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.csproj.GenerateResource.Cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.csproj.GenerateResource.Cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.exe
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.g.resources:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.g.resources
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest_MarkupCompile.cache:
--------------------------------------------------------------------------------
1 | AFC.MonitorMap.WPFTest
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\
8 | AFC.MonitorMap.WPFTest
9 | none
10 | false
11 | DEBUG;TRACE
12 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\App.xaml
13 | 11151548125
14 |
15 | 61386863465
16 | 162087046303
17 | MainWindow.xaml;
18 |
19 | False
20 |
21 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest_MarkupCompile.i.cache:
--------------------------------------------------------------------------------
1 | AFC.MonitorMap.WPFTest
2 |
3 |
4 | winexe
5 | C#
6 | .cs
7 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\obj\Debug\
8 | AFC.MonitorMap.WPFTest
9 | none
10 | false
11 | DEBUG;TRACE
12 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\App.xaml
13 | 11151548125
14 |
15 | 10-1745614153
16 | 162087046303
17 | MainWindow.xaml;
18 |
19 | True
20 |
21 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest_MarkupCompile.i.lref:
--------------------------------------------------------------------------------
1 |
2 |
3 | FG:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\MainWindow.xaml;;
4 |
5 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/AFC.MonitorMap.WPFTest_MarkupCompile.lref:
--------------------------------------------------------------------------------
1 |
2 |
3 | FG:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap.WPFTest\MainWindow.xaml;;
4 |
5 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/App.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B1FDE7730C7F63F8949F4B442599D0AF"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using AFC.MonitorMap.WPFTest;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Forms.Integration;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace AFC.MonitorMap.WPFTest {
37 |
38 |
39 | ///
40 | /// App
41 | ///
42 | public partial class App : System.Windows.Application {
43 |
44 | ///
45 | /// InitializeComponent
46 | ///
47 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
48 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
49 | public void InitializeComponent() {
50 |
51 | #line 5 "..\..\App.xaml"
52 | this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
53 |
54 | #line default
55 | #line hidden
56 | }
57 |
58 | ///
59 | /// Application Entry Point.
60 | ///
61 | [System.STAThreadAttribute()]
62 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
63 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
64 | public static void Main() {
65 | AFC.MonitorMap.WPFTest.App app = new AFC.MonitorMap.WPFTest.App();
66 | app.InitializeComponent();
67 | app.Run();
68 | }
69 | }
70 | }
71 |
72 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/App.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B1FDE7730C7F63F8949F4B442599D0AF"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using AFC.MonitorMap.WPFTest;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Forms.Integration;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace AFC.MonitorMap.WPFTest {
37 |
38 |
39 | ///
40 | /// App
41 | ///
42 | public partial class App : System.Windows.Application {
43 |
44 | ///
45 | /// InitializeComponent
46 | ///
47 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
48 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
49 | public void InitializeComponent() {
50 |
51 | #line 5 "..\..\App.xaml"
52 | this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
53 |
54 | #line default
55 | #line hidden
56 | }
57 |
58 | ///
59 | /// Application Entry Point.
60 | ///
61 | [System.STAThreadAttribute()]
62 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
63 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
64 | public static void Main() {
65 | AFC.MonitorMap.WPFTest.App app = new AFC.MonitorMap.WPFTest.App();
66 | app.InitializeComponent();
67 | app.Run();
68 | }
69 | }
70 | }
71 |
72 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | ceb1afe32cbc11cd5f8dab13465ee9b6877cce7d
2 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/MainWindow.baml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/MainWindow.baml
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/MainWindow.g.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "623580D7AEC2155CE90406B4AB8573A1"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using AFC.MonitorMap.WPFTest;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Forms.Integration;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace AFC.MonitorMap.WPFTest {
37 |
38 |
39 | ///
40 | /// MainWindow
41 | ///
42 | public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 10 "..\..\MainWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal System.Windows.Forms.Integration.WindowsFormsHost stationMapFormHost;
48 |
49 | #line default
50 | #line hidden
51 |
52 | private bool _contentLoaded;
53 |
54 | ///
55 | /// InitializeComponent
56 | ///
57 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
58 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
59 | public void InitializeComponent() {
60 | if (_contentLoaded) {
61 | return;
62 | }
63 | _contentLoaded = true;
64 | System.Uri resourceLocater = new System.Uri("/AFC.MonitorMap.WPFTest;component/mainwindow.xaml", System.UriKind.Relative);
65 |
66 | #line 1 "..\..\MainWindow.xaml"
67 | System.Windows.Application.LoadComponent(this, resourceLocater);
68 |
69 | #line default
70 | #line hidden
71 | }
72 |
73 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
74 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
75 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
76 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
77 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
78 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
79 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
80 | switch (connectionId)
81 | {
82 | case 1:
83 | this.stationMapFormHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
84 | return;
85 | }
86 | this._contentLoaded = true;
87 | }
88 | }
89 | }
90 |
91 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/MainWindow.g.i.cs:
--------------------------------------------------------------------------------
1 | #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "623580D7AEC2155CE90406B4AB8573A1"
2 | //------------------------------------------------------------------------------
3 | //
4 | // 此代码由工具生成。
5 | // 运行时版本:4.0.30319.42000
6 | //
7 | // 对此文件的更改可能会导致不正确的行为,并且如果
8 | // 重新生成代码,这些更改将会丢失。
9 | //
10 | //------------------------------------------------------------------------------
11 |
12 | using AFC.MonitorMap.WPFTest;
13 | using System;
14 | using System.Diagnostics;
15 | using System.Windows;
16 | using System.Windows.Automation;
17 | using System.Windows.Controls;
18 | using System.Windows.Controls.Primitives;
19 | using System.Windows.Data;
20 | using System.Windows.Documents;
21 | using System.Windows.Forms.Integration;
22 | using System.Windows.Ink;
23 | using System.Windows.Input;
24 | using System.Windows.Markup;
25 | using System.Windows.Media;
26 | using System.Windows.Media.Animation;
27 | using System.Windows.Media.Effects;
28 | using System.Windows.Media.Imaging;
29 | using System.Windows.Media.Media3D;
30 | using System.Windows.Media.TextFormatting;
31 | using System.Windows.Navigation;
32 | using System.Windows.Shapes;
33 | using System.Windows.Shell;
34 |
35 |
36 | namespace AFC.MonitorMap.WPFTest {
37 |
38 |
39 | ///
40 | /// MainWindow
41 | ///
42 | public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
43 |
44 |
45 | #line 10 "..\..\MainWindow.xaml"
46 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
47 | internal System.Windows.Forms.Integration.WindowsFormsHost stationMapFormHost;
48 |
49 | #line default
50 | #line hidden
51 |
52 | private bool _contentLoaded;
53 |
54 | ///
55 | /// InitializeComponent
56 | ///
57 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
58 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
59 | public void InitializeComponent() {
60 | if (_contentLoaded) {
61 | return;
62 | }
63 | _contentLoaded = true;
64 | System.Uri resourceLocater = new System.Uri("/AFC.MonitorMap.WPFTest;component/mainwindow.xaml", System.UriKind.Relative);
65 |
66 | #line 1 "..\..\MainWindow.xaml"
67 | System.Windows.Application.LoadComponent(this, resourceLocater);
68 |
69 | #line default
70 | #line hidden
71 | }
72 |
73 | [System.Diagnostics.DebuggerNonUserCodeAttribute()]
74 | [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
75 | [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
76 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
77 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
78 | [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
79 | void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
80 | switch (connectionId)
81 | {
82 | case 1:
83 | this.stationMapFormHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
84 | return;
85 | }
86 | this._contentLoaded = true;
87 | }
88 | }
89 | }
90 |
91 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap.WPFTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.26430.15
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AFC.MonitorMap", "AFC.MonitorMap\AFC.MonitorMap.csproj", "{4F46ABFB-5048-4116-9D03-DAE26325ECA1}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AFC.MonitorMap.Edit", "AFC.MonitorMap.Edit\AFC.MonitorMap.Edit.csproj", "{98622856-6F37-41F7-B94C-A40AE4EBA8DA}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AFC.MonitorMap.Core", "AFC.MonitorMap.Core\AFC.MonitorMap.Core.csproj", "{48957FA8-0A7A-4834-8AE1-FE8F0B9AECE3}"
11 | EndProject
12 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AFC.MonitorMap.WPFTest", "AFC.MonitorMap.WPFTest\AFC.MonitorMap.WPFTest.csproj", "{003C618C-6BB4-420A-A9D2-D8C91A4B617E}"
13 | EndProject
14 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AFC.MonitorMap.MonitorService", "AFC.MonitorMap.MonitorService\AFC.MonitorMap.MonitorService.csproj", "{0FBAE9A8-AE93-420A-9175-C319B6612B85}"
15 | EndProject
16 | Global
17 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
18 | Debug|Any CPU = Debug|Any CPU
19 | Release|Any CPU = Release|Any CPU
20 | EndGlobalSection
21 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
22 | {4F46ABFB-5048-4116-9D03-DAE26325ECA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {4F46ABFB-5048-4116-9D03-DAE26325ECA1}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {4F46ABFB-5048-4116-9D03-DAE26325ECA1}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {4F46ABFB-5048-4116-9D03-DAE26325ECA1}.Release|Any CPU.Build.0 = Release|Any CPU
26 | {98622856-6F37-41F7-B94C-A40AE4EBA8DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27 | {98622856-6F37-41F7-B94C-A40AE4EBA8DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
28 | {98622856-6F37-41F7-B94C-A40AE4EBA8DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 | {98622856-6F37-41F7-B94C-A40AE4EBA8DA}.Release|Any CPU.Build.0 = Release|Any CPU
30 | {48957FA8-0A7A-4834-8AE1-FE8F0B9AECE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31 | {48957FA8-0A7A-4834-8AE1-FE8F0B9AECE3}.Debug|Any CPU.Build.0 = Debug|Any CPU
32 | {48957FA8-0A7A-4834-8AE1-FE8F0B9AECE3}.Release|Any CPU.ActiveCfg = Release|Any CPU
33 | {48957FA8-0A7A-4834-8AE1-FE8F0B9AECE3}.Release|Any CPU.Build.0 = Release|Any CPU
34 | {003C618C-6BB4-420A-A9D2-D8C91A4B617E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35 | {003C618C-6BB4-420A-A9D2-D8C91A4B617E}.Debug|Any CPU.Build.0 = Debug|Any CPU
36 | {003C618C-6BB4-420A-A9D2-D8C91A4B617E}.Release|Any CPU.ActiveCfg = Release|Any CPU
37 | {003C618C-6BB4-420A-A9D2-D8C91A4B617E}.Release|Any CPU.Build.0 = Release|Any CPU
38 | {0FBAE9A8-AE93-420A-9175-C319B6612B85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39 | {0FBAE9A8-AE93-420A-9175-C319B6612B85}.Debug|Any CPU.Build.0 = Debug|Any CPU
40 | {0FBAE9A8-AE93-420A-9175-C319B6612B85}.Release|Any CPU.ActiveCfg = Release|Any CPU
41 | {0FBAE9A8-AE93-420A-9175-C319B6612B85}.Release|Any CPU.Build.0 = Release|Any CPU
42 | EndGlobalSection
43 | GlobalSection(SolutionProperties) = preSolution
44 | HideSolutionNode = FALSE
45 | EndGlobalSection
46 | EndGlobal
47 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/AFC.MonitorMap.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {4F46ABFB-5048-4116-9D03-DAE26325ECA1}
8 | Library
9 | Properties
10 | AFC.MonitorMap
11 | AFC.MonitorMap
12 | v4.5
13 | 512
14 |
15 |
16 | true
17 | full
18 | false
19 | ..\Debug\bin\
20 | DEBUG;TRACE
21 | prompt
22 | 4
23 |
24 |
25 | pdbonly
26 | true
27 | bin\Release\
28 | TRACE
29 | prompt
30 | 4
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("AFC.MonitorMap")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("AFC.MonitorMap")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 会使此程序集中的类型
18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("4f46abfb-5048-4116-9d03-dae26325eca1")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
33 | //通过使用 "*",如下所示:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/AFC.MonitorMap.csproj.FileListAbsolute.txt:
--------------------------------------------------------------------------------
1 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.dll
2 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\Debug\bin\AFC.MonitorMap.pdb
3 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap\obj\Debug\AFC.MonitorMap.csprojResolveAssemblyReference.cache
4 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap\obj\Debug\AFC.MonitorMap.dll
5 | G:\02gitHubProject\AFC.MonitorMap\AFC.MonitorMap\AFC.MonitorMap\obj\Debug\AFC.MonitorMap.pdb
6 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/AFC.MonitorMap.csprojResolveAssemblyReference.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/AFC.MonitorMap.csprojResolveAssemblyReference.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/AFC.MonitorMap.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/AFC.MonitorMap.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/AFC.MonitorMap.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/AFC.MonitorMap.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/CoreCompileInputs.cache:
--------------------------------------------------------------------------------
1 | 3abcfc31ecfa2e2992379dc238a9567bae2112bd
2 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/AFC.MonitorMap/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Core.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Core.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Core.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Edit.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Edit.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Edit.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.Edit.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.MonitorService.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.MonitorService.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.MonitorService.dll.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.MonitorService.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.MonitorService.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.WPFTest.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.WPFTest.exe
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.WPFTest.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.WPFTest.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.WPFTest.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/AFC.MonitorMap.pdb
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/bin/log4net.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/bin/log4net.dll
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/image/line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/image/line.png
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/image/stationmap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/image/stationmap.png
--------------------------------------------------------------------------------
/AFC.MonitorMap/Debug/image/stationmap2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Debug/image/stationmap2.png
--------------------------------------------------------------------------------
/AFC.MonitorMap/Lib/log4net.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Wikey100/AFC.MonitorMap/4f9be0f0c0c03ec0a882c7c8b64b3a1c5e980487/AFC.MonitorMap/Lib/log4net.dll
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # AFC.MonitorMap
2 | 一、项目介绍
3 | AFC地铁车站监控地图,可根据配置XML文件或数据库数据自动生成车站设备地图,并通过WCF回调实现获取设备实时状态进行监控。并自带设备配置管理功能,可手动可视化调整设备增删查改对车站设备进行调整,并实时保存到数据中。而且此类库可通用到其他行业的类似的监控管理中。如智能楼宇设备监控、电力设备监控、交通线路设备监控等等。
4 |
5 | 二、项目架构
6 | 1、AFC.MonitorMap类库
7 |
8 | 2、AFC.MonitorMap.Edit类库
9 |
10 | 3、AFC.MonitorMap.Core类库
11 |
12 | 4、AFC.MonitorMap.WPFTest
13 |
14 | 三、参考监控地图
15 | 
16 |
17 | 
18 |
--------------------------------------------------------------------------------