Skip to content

Commit

Permalink
added icon and about page
Browse files Browse the repository at this point in the history
  • Loading branch information
seayxu committed Jul 13, 2021
1 parent ddb291a commit c8817a8
Show file tree
Hide file tree
Showing 28 changed files with 867 additions and 71 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 GodSharp

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
10 changes: 8 additions & 2 deletions OpcBrowser.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31402.337
# Visual Studio Version 17
VisualStudioVersion = 17.0.31423.177
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{BF37FD4B-B749-470F-9A16-9D95ACB4EBF8}"
EndProject
Expand All @@ -11,6 +11,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NukeBuild", "nuke\NukeBuild
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{43EF4940-18D6-41DF-A63C-222A99377AE3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "assets", "assets", "{67B77150-BC4D-4679-98DA-E7695F7DC647}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# OpcBrowser

![.NET](https://img.shields.io/badge/dotnet-.NET-blueviolet?style=flat&logo=dotnet)
![Opc DA Browser](https://img.shields.io/badge/opcda-browser-brightgreen)
![Azure DevOps builds](https://img.shields.io/azure-devops/build/godsharp/1c52d2a6-2f97-403b-b400-85a514528422/5?label=pipeline&logo=azurepipelines)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/godsharp/opcbrowser/continuous?label=workflow&logo=github)


Connect to opc server, browse opc tag, read and write tag value.

# OpcDaBrowser

![Opc DA Browser](https://img.shields.io/badge/opcda-browser-brightgreen)
![.NET](https://img.shields.io/badge/dotnet-winform-blueviolet?style=flat&logo=dotnet)
![.NET](https://img.shields.io/badge/windows-only-0078D6?style=flat&logo=windows)

OPC DA Specification

## References

- GodSharp.Opc.Da

Sample Code: [github](https://github.com/godsharp/opcsample) | [gitee](https://gitee.com/godsharp/opcsample)

[![GodSharp.Opc.Da.OpcAutomation](https://img.shields.io/nuget/v/GodSharp.Opc.Da.OpcNetApi?label=GodSharp.Opc.Da.OpcAutomation&logo=nuget)](https://www.nuget.org/packages/GodSharp.Opc.Da.OpcAutomation) [![GodSharp.Opc.Da.OpcNetApi](https://img.shields.io/nuget/v/GodSharp.Opc.Da.OpcNetApi?label=GodSharp.Opc.Da.OpcNetApi&logo=nuget)](https://www.nuget.org/packages/GodSharp.Opc.Da.OpcNetApi)

## Requirement
.NET Framework >= 4.0

## Screenshots

- main page
![main page](./assets/da-1.png)

- server list
![server list](./assets/da-2.png)

- tag list
![tag list](./assets/da-3.png)

- tag action
![tag action](./assets/da-4.png)


# LICENSE

[MIT LICENSE](./LICENSE)
Binary file added assets/da-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/da-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/da-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/da-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
179 changes: 179 additions & 0 deletions src/OpcDaBrowser/FormAbout.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions src/OpcDaBrowser/FormAbout.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
using System.Diagnostics;
using System.Windows.Forms;

namespace OpcDaBrowser
{
public partial class FormAbout : Form
{
public FormAbout()
{
InitializeComponent();
}

private void button2_Click(object sender, System.EventArgs e)
{
Close();
}

private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
OpenLink(sender);
}

private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
OpenLink(sender);
}

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
OpenLink(sender);
}

private void OpenLink(object sender)
{
LinkLabel linkLabel= sender as LinkLabel;
if (linkLabel is null) return;
Process.Start(linkLabel.Text);
}
}
}
Loading

0 comments on commit c8817a8

Please sign in to comment.