Skip to content

Commit 427065b

Browse files
author
Floris Cockaerts
committed
Add project files.
1 parent 3ce36b2 commit 427065b

11 files changed

+1173
-0
lines changed

AutomationScript.sln

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.5.33502.453
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Internal", "Internal", "{AAF24ECF-68DE-4D46-927C-11542D927D52}"
7+
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scripts", "Scripts", "{2D059CC1-59B9-4B26-A4FF-BAF066E58A78}"
9+
EndProject
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Dlls", "Dlls", "{20764959-1434-4181-833E-BC3E25ED986A}"
11+
ProjectSection(SolutionItems) = preProject
12+
Dlls\readme.txt = Dlls\readme.txt
13+
EndProjectSection
14+
EndProject
15+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentation", "{228D0D8D-EC05-439A-B119-0803553DBC45}"
16+
ProjectSection(SolutionItems) = preProject
17+
Documentation\readme.txt = Documentation\readme.txt
18+
EndProjectSection
19+
EndProject
20+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Code Analysis", "Code Analysis", "{84D06F9B-197A-48C3-8075-FE89BE0E4922}"
21+
ProjectSection(SolutionItems) = preProject
22+
Internal\Code Analysis\qaction-debug.ruleset = Internal\Code Analysis\qaction-debug.ruleset
23+
Internal\Code Analysis\qaction-release.ruleset = Internal\Code Analysis\qaction-release.ruleset
24+
EndProjectSection
25+
EndProject
26+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Empower_Session2_Start", "Empower_Session2_Start", "{1A715348-0683-4F02-B6B0-66E0FA092A23}"
27+
ProjectSection(SolutionItems) = preProject
28+
Empower_Session2_Start.xml = Empower_Session2_Start.xml
29+
EndProjectSection
30+
EndProject
31+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Actions", "Actions", "{3B5C96B8-BF3A-4E00-9F4B-9CB210E659C2}"
32+
EndProject
33+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empower_Session2_Start_1", "Empower_Session2_Start_1\Empower_Session2_Start_1.csproj", "{BF8DAC2F-355F-4589-AFDD-10B04815EF80}"
34+
EndProject
35+
Global
36+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
37+
Debug|Any CPU = Debug|Any CPU
38+
Release|Any CPU = Release|Any CPU
39+
EndGlobalSection
40+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
41+
{BF8DAC2F-355F-4589-AFDD-10B04815EF80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
42+
{BF8DAC2F-355F-4589-AFDD-10B04815EF80}.Debug|Any CPU.Build.0 = Debug|Any CPU
43+
{BF8DAC2F-355F-4589-AFDD-10B04815EF80}.Release|Any CPU.ActiveCfg = Release|Any CPU
44+
{BF8DAC2F-355F-4589-AFDD-10B04815EF80}.Release|Any CPU.Build.0 = Release|Any CPU
45+
EndGlobalSection
46+
GlobalSection(SolutionProperties) = preSolution
47+
HideSolutionNode = FALSE
48+
EndGlobalSection
49+
GlobalSection(NestedProjects) = preSolution
50+
{84D06F9B-197A-48C3-8075-FE89BE0E4922} = {AAF24ECF-68DE-4D46-927C-11542D927D52}
51+
{1A715348-0683-4F02-B6B0-66E0FA092A23} = {2D059CC1-59B9-4B26-A4FF-BAF066E58A78}
52+
{3B5C96B8-BF3A-4E00-9F4B-9CB210E659C2} = {1A715348-0683-4F02-B6B0-66E0FA092A23}
53+
{BF8DAC2F-355F-4589-AFDD-10B04815EF80} = {3B5C96B8-BF3A-4E00-9F4B-9CB210E659C2}
54+
EndGlobalSection
55+
GlobalSection(ExtensibilityGlobals) = postSolution
56+
SolutionGuid = {5C424EC6-0FF7-4835-8A23-86603B16BB36}
57+
EndGlobalSection
58+
EndGlobal

Dlls/readme.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder contains DLL files that should be placed under the ProtocolScripts folder of DataMiner for this solution to work correctly.

Documentation/readme.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This folder can be used to add documentation related to this solution.

Empower_Session2_Start.xml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<DMSScript options="272" xmlns="http://www.skyline.be/automation">
3+
<Name>Empower_Session2_Start</Name>
4+
<Description></Description>
5+
<Type>Automation</Type>
6+
<Author>SKYLINE2\FCO</Author>
7+
<CheckSets>FALSE</CheckSets>
8+
<Folder></Folder>
9+
10+
<Protocols>
11+
</Protocols>
12+
13+
<Memory>
14+
</Memory>
15+
16+
<Parameters>
17+
</Parameters>
18+
19+
<Script>
20+
<Exe id="1" type="csharp">
21+
<Value><![CDATA[[Project:Empower_Session2_Start_1]]]></Value>
22+
<!--<Param type="debug">true</Param>-->
23+
<Message></Message>
24+
</Exe>
25+
</Script>
26+
</DMSScript>
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 4
6+
tab_width = 4
7+
end_of_line = crlf
8+
trim_trailing_whitespace = true
9+
10+
[*.cs]
11+
dotnet_sort_system_directives_first = true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*
2+
****************************************************************************
3+
* Copyright (c) 2023, Skyline Communications NV All Rights Reserved. *
4+
****************************************************************************
5+
6+
By using this script, you expressly agree with the usage terms and
7+
conditions set out below.
8+
This script and all related materials are protected by copyrights and
9+
other intellectual property rights that exclusively belong
10+
to Skyline Communications.
11+
12+
A user license granted for this script is strictly for personal use only.
13+
This script may not be used in any way by anyone without the prior
14+
written consent of Skyline Communications. Any sublicensing of this
15+
script is forbidden.
16+
17+
Any modifications to this script by the user are only allowed for
18+
personal use and within the intended purpose of the script,
19+
and will remain the sole responsibility of the user.
20+
Skyline Communications will not be responsible for any damages or
21+
malfunctions whatsoever of the script resulting from a modification
22+
or adaptation by the user.
23+
24+
The content of this script is confidential information.
25+
The user hereby agrees to keep this confidential information strictly
26+
secret and confidential and not to disclose or reveal it, in whole
27+
or in part, directly or indirectly to any person, entity, organization
28+
or administration without the prior written consent of
29+
Skyline Communications.
30+
31+
Any inquiries can be addressed to:
32+
33+
Skyline Communications NV
34+
Ambachtenstraat 33
35+
B-8870 Izegem
36+
Belgium
37+
Tel. : +32 51 31 35 69
38+
Fax. : +32 51 31 01 29
39+
E-mail : info@skyline.be
40+
Web : www.skyline.be
41+
Contact : Ben Vandenberghe
42+
43+
****************************************************************************
44+
Revision History:
45+
46+
DATE VERSION AUTHOR COMMENTS
47+
48+
dd/mm/2023 1.0.0.1 XXX, Skyline Initial version
49+
****************************************************************************
50+
*/
51+
52+
using System;
53+
using System.Collections.Generic;
54+
using System.Globalization;
55+
using System.Text;
56+
using Skyline.DataMiner.Automation;
57+
58+
/// <summary>
59+
/// DataMiner Script Class.
60+
/// </summary>
61+
public class Script
62+
{
63+
/// <summary>
64+
/// The Script entry point.
65+
/// </summary>
66+
/// <param name="engine">Link with SLAutomation process.</param>
67+
public void Run(Engine engine)
68+
{
69+
engine.GenerateInformation("This is the example repo for session 2.");
70+
}
71+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{BF8DAC2F-355F-4589-AFDD-10B04815EF80}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>Empower_Session2_Start_1</RootNamespace>
12+
<AssemblyName>Empower_Session2_Start_1</AssemblyName>
13+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
<LangVersion>
16+
</LangVersion>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<DebugSymbols>true</DebugSymbols>
20+
<DebugType>full</DebugType>
21+
<Optimize>false</Optimize>
22+
<OutputPath>bin\Debug\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE</DefineConstants>
24+
<ErrorReport>prompt</ErrorReport>
25+
<WarningLevel>4</WarningLevel>
26+
<CodeAnalysisRuleSet>..\Internal\Code Analysis\qaction-debug.ruleset</CodeAnalysisRuleSet>
27+
<DocumentationFile>bin\Debug\Empower_Session2_Start_1.xml</DocumentationFile>
28+
</PropertyGroup>
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30+
<DebugType>pdbonly</DebugType>
31+
<Optimize>true</Optimize>
32+
<OutputPath>bin\Release\</OutputPath>
33+
<DefineConstants>TRACE</DefineConstants>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
<CodeAnalysisRuleSet>..\Internal\Code Analysis\qaction-release.ruleset</CodeAnalysisRuleSet>
37+
<DocumentationFile>bin\Release\Empower_Session2_Start_1.xml</DocumentationFile>
38+
</PropertyGroup>
39+
<PropertyGroup>
40+
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
41+
</PropertyGroup>
42+
<ItemGroup>
43+
<Reference Include="System" />
44+
<AdditionalFiles Include="stylecop.json" />
45+
<Content Include=".editorconfig" />
46+
</ItemGroup>
47+
<ItemGroup>
48+
<Compile Include="Properties\AssemblyInfo.cs" />
49+
<Compile Include="Empower_Session2_Start_1.cs" />
50+
</ItemGroup>
51+
<ItemGroup>
52+
<PackageReference Include="Skyline.DataMiner.Dev.Automation">
53+
<Version>10.0.0.5</Version>
54+
</PackageReference>
55+
<PackageReference Include="StyleCop.Analyzers">
56+
<Version>1.1.118</Version>
57+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
58+
<PrivateAssets>all</PrivateAssets>
59+
</PackageReference>
60+
</ItemGroup>
61+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
62+
<ProjectExtensions>
63+
<VisualStudio>
64+
<UserProperties DisLinkId="1" DisProjectType="automationScriptProject" DisLinkedXmlFile="..\Empower_Session2_Start.xml" />
65+
</VisualStudio>
66+
</ProjectExtensions>
67+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
68+
Other similar extension points exist, see Microsoft.Common.targets.
69+
<Target Name="BeforeBuild">
70+
</Target>
71+
<Target Name="AfterBuild">
72+
</Target>
73+
-->
74+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
[assembly: AssemblyTitle("Empower_Session2_Start_1")]
6+
[assembly: AssemblyDescription("")]
7+
[assembly: AssemblyConfiguration("")]
8+
[assembly: AssemblyCompany("Skyline Communications")]
9+
[assembly: AssemblyProduct("Empower_Session2_Start_1")]
10+
[assembly: AssemblyCopyright("Copyright © Skyline Communications")]
11+
[assembly: AssemblyTrademark("")]
12+
[assembly: AssemblyCulture("")]
13+
14+
[assembly: ComVisible(false)]
15+
[assembly: Guid("3B94413A-7884-4009-BAD3-E2857F322975")]
16+
[assembly: AssemblyVersion("1.0.0.0")]
+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
// ACTION REQUIRED: This file was automatically added to your project, but it
3+
// will not take effect until additional steps are taken to enable it. See the
4+
// following page for additional information:
5+
//
6+
// https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/EnableConfiguration.md
7+
8+
"$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json",
9+
"settings": {
10+
"namingRules": {
11+
"allowCommonHungarianPrefixes": false,
12+
"allowedHungarianPrefixes": [
13+
"ab",
14+
"ac",
15+
"ad",
16+
"af",
17+
"ai",
18+
"al",
19+
"ao",
20+
"as",
21+
"ax",
22+
"b",
23+
"by",
24+
"c",
25+
"d",
26+
"dt",
27+
"e",
28+
"f",
29+
"hs",
30+
"i",
31+
"ip",
32+
"is",
33+
"l",
34+
"lb",
35+
"lc",
36+
"ld",
37+
"lf",
38+
"li",
39+
"ll",
40+
"lo",
41+
"ls",
42+
"lx",
43+
"my",
44+
"no",
45+
"o",
46+
"qb",
47+
"qc",
48+
"qd",
49+
"qf",
50+
"qi",
51+
"ql",
52+
"qo",
53+
"qs",
54+
"qx",
55+
"rx",
56+
"s",
57+
"sb",
58+
"sc",
59+
"sd",
60+
"sf",
61+
"sh",
62+
"si",
63+
"sl",
64+
"so",
65+
"ss",
66+
"sx",
67+
"to",
68+
"ts",
69+
"tx",
70+
"ui",
71+
"ul",
72+
"x"
73+
]
74+
}
75+
}
76+
}

0 commit comments

Comments
 (0)