Skip to content

Commit

Permalink
Add project files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramingFactory committed Jul 5, 2021
1 parent 5909845 commit 7c1a95f
Show file tree
Hide file tree
Showing 144 changed files with 118,073 additions and 0 deletions.
25 changes: 25 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Copyright (C) 2021 ProgramingFactory©

1. Definitions
— ‘The Original Work’: the work or software distributed or communicated by the Licensor
under this Licence, available as Source Code and also as Executable Code as the case may be.


2. Grant of Rights
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 including without
limitation the rights to use, copy, modify, merge, publish, distribute, sublicense 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.

This license does not grant you rights to sell ‘The Original Work’.


THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 changes: 22 additions & 0 deletions License/CircularGauge/License.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2009 T.Evelyn ([email protected])

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1.Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2.Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,

THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS

BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE

GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT

LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH

DAMAGE.
31 changes: 31 additions & 0 deletions License/FirstFloor-ModernUI/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Microsoft Public License (Ms-PL)

This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.

1. Definitions

The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.

A "contribution" is the original software, or any additions or changes to the software.

A "contributor" is any person that distributes its contribution under this license.

"Licensed patents" are a contributor's patent claims that read directly on its contribution.

2. Grant of Rights

(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.

(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.

3. Conditions and Limitations

(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.

(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.

(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.

(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.

(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
22 changes: 22 additions & 0 deletions License/Helix-Toolkit/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2019 Helix Toolkit contributors

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.
21 changes: 21 additions & 0 deletions License/Live-Charts/LICENSE.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Alberto Rodriguez & LiveCharts contributors

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.
74 changes: 74 additions & 0 deletions SignalStrength.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31205.134
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Presentation", "Presentation", "{3657EFB4-827F-40C6-A8CD-128B0C224C9D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Infrastructure", "Infrastructure", "{5D3AB850-FA64-4286-A448-F7933872EBE6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignalStrength.Core", "SignalStrength\SignalStrength.Core\SignalStrength.Core.csproj", "{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignalStrength.Graphic3D", "SignalStrength\SignalStrength.Graphic3D\SignalStrength.Graphic3D.csproj", "{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignalStrength.Wpf", "SignalStrength\SignalStrength.Wpf\SignalStrength.Wpf.csproj", "{1FF55CB4-14B2-479C-879B-E138E39960F2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Debug|x64.ActiveCfg = Debug|x64
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Debug|x64.Build.0 = Debug|x64
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Debug|x86.ActiveCfg = Debug|x86
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Debug|x86.Build.0 = Debug|x86
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Release|Any CPU.ActiveCfg = Release|x64
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Release|Any CPU.Build.0 = Release|x64
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Release|x64.ActiveCfg = Release|x64
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Release|x64.Build.0 = Release|x64
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Release|x86.ActiveCfg = Release|x86
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0}.Release|x86.Build.0 = Release|x86
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Debug|x64.ActiveCfg = Debug|x64
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Debug|x64.Build.0 = Debug|x64
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Debug|x86.ActiveCfg = Debug|x86
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Debug|x86.Build.0 = Debug|x86
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Release|Any CPU.ActiveCfg = Release|x64
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Release|Any CPU.Build.0 = Release|x64
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Release|x64.ActiveCfg = Release|x64
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Release|x64.Build.0 = Release|x64
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Release|x86.ActiveCfg = Release|x86
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C}.Release|x86.Build.0 = Release|x86
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Debug|x64.ActiveCfg = Debug|x64
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Debug|x64.Build.0 = Debug|x64
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Debug|x86.ActiveCfg = Debug|x86
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Debug|x86.Build.0 = Debug|x86
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Release|Any CPU.ActiveCfg = Release|x64
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Release|Any CPU.Build.0 = Release|x64
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Release|x64.ActiveCfg = Release|x64
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Release|x64.Build.0 = Release|x64
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Release|x86.ActiveCfg = Release|x86
{1FF55CB4-14B2-479C-879B-E138E39960F2}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{7CBDDFE9-3561-48E5-B8A0-4D9D108109A0} = {5D3AB850-FA64-4286-A448-F7933872EBE6}
{7558B2CA-F654-4B2D-8A8E-F2DACE8C152C} = {5D3AB850-FA64-4286-A448-F7933872EBE6}
{1FF55CB4-14B2-479C-879B-E138E39960F2} = {3657EFB4-827F-40C6-A8CD-128B0C224C9D}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9352F9CC-7E47-416A-8F2B-17E88ADBCA28}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
namespace SignalStrength.Core.Events
{
using System;

/// <summary>
/// This is interface INetworkCardConnected
/// </summary>
public interface INetworkCardConnected
{
event EventHandler<NetworkCardConnectedEventArgs> NetworkCardConnectedDisconnected;
}

/// <summary>
/// This is class NetworkCardConnectedEvenArgs
/// </summary>
public class NetworkCardConnectedEventArgs : EventArgs
{
public NetworkCardConnectedEventArgs(bool isNetworkCardUp)
{
IsNetworkCardUp = isNetworkCardUp;
}

public bool IsNetworkCardUp { get; set; }
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
namespace SignalStrength.Core.Events
{
using System;

using SignalStrength.Core.Extensions;


/// <summary>
/// This is interface IScanRefreshed
/// </summary>
public interface IScanNetworkRefreshed
{
event EventHandler<ScanRefreshedEventArgs> ScanNetworkCollectionRefreshed;
}


/// <summary>
/// This is class ScanRefreshed
/// </summary>
public class ScanRefreshedEventArgs:EventArgs
{
public ScanRefreshedEventArgs(MultiThreadObservableCollection<ISignalStrengthData> signalStrengthDataColl)
{
SignalStrengthDataColl = signalStrengthDataColl ?? throw new ArgumentNullException(nameof(signalStrengthDataColl));
}

public Extensions.MultiThreadObservableCollection<ISignalStrengthData> SignalStrengthDataColl { get; set; }
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
namespace SignalStrength.Core.Extensions
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Threading;

public class MultiThreadObservableCollection<T> : ObservableCollection<T>
{
public override event NotifyCollectionChangedEventHandler CollectionChanged;

protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
{
NotifyCollectionChangedEventHandler collectionChanged = CollectionChanged;
if (collectionChanged != null)
{
foreach (Delegate del in collectionChanged.GetInvocationList())
{
var notifyCollChanged = (NotifyCollectionChangedEventHandler)del;
var dispatcherObj = notifyCollChanged.Target as DispatcherObject;
Dispatcher dispatcher = dispatcherObj?.Dispatcher;
if ((dispatcher != null) && !dispatcher.CheckAccess())
{
dispatcher.BeginInvoke((Action)(() => notifyCollChanged.Invoke(this,new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset))), DispatcherPriority.DataBind);
continue;
}

notifyCollChanged.Invoke(this, e);
}
}
}
}

}
Loading

0 comments on commit 7c1a95f

Please sign in to comment.