Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
216dac2
Logger improvements
Aug 22, 2022
a591148
merge conflicts
Aug 22, 2022
880d9b2
OPC UA To latest nugets; new ConsoleLogger and updates to Text Logger
Sep 3, 2022
7489714
Latest Changes
Sep 3, 2022
c80d1eb
text logger start message
Sep 11, 2022
a0a87e0
CMyC update with new Energy Model; Fix for pssible crash in rules action
Nov 18, 2022
2c7b948
sln update
Nov 18, 2022
f04571f
sync with main
Nov 18, 2022
bbbf857
fix for cmc refrerence and opcua
Nov 18, 2022
e27dd4d
Nuget Updates
Nov 23, 2022
41dfdab
SQL Plugin update
Nov 23, 2022
c0da780
update sql
Nov 23, 2022
511620c
main sync
Nov 23, 2022
a7fd9cf
Logger Update
Dec 17, 2022
e26dcb8
Newtonsoft bumped to 13.0.2
Dec 17, 2022
f376368
Merge branch 'main' into CM5.152.1-beta1
muenchris Dec 17, 2022
dfd0544
Fix for crash in VisitorLog if NMI is disabled
Jan 25, 2023
9589af6
Merge branch 'main' into CM5.161.0-beta1
muenchris Jan 25, 2023
f7c11a0
Fix for discord logger
Feb 12, 2023
c5445b6
Merge branch 'main' into CM5.162.1-beta1
muenchris Feb 14, 2023
97dc95e
New NMI Editor for NMI Element in V-Things
Mar 9, 2023
b8e6eb8
Removed temp NMIEditor
Mar 10, 2023
9b29649
Merge branch 'main' into CM5.163.0-beta1
muenchris Mar 10, 2023
8deef3a
Log Only support for Rules Engine; Rules Event support for Discord Lo…
May 29, 2023
5336476
new System Clock for Rules engine to use for scheduled rules
Jun 20, 2023
9bb0b5a
Todo Removed
Jul 6, 2023
f9af1eb
Plugin Cleanup
Jul 6, 2023
1e971c1
Merge branch 'main' into CM5.166.0-beta1
muenchris Jul 6, 2023
a65dac2
Merge branch 'main' into CM5.166.0-beta1
muenchris Jul 7, 2023
d2682f1
Rule Code Cleanup
Oct 22, 2023
6d0eaa5
Rules Engine Code Cleanup
Oct 22, 2023
2b44fae
Rules Engine Code Cleanup
Oct 22, 2023
72e654d
Packager Update
Oct 22, 2023
00b2e5a
Added packager to solution
Oct 22, 2023
e6cd1d6
Code Cleanup and removed depreciaed methods
Oct 24, 2023
deaeade
Modbus fix for int16
Nov 1, 2023
c77fd49
Latest Nuget Versions
Nov 10, 2023
d773d10
Removal of obsolete code
Nov 11, 2023
46aa94d
Fix for endless loop on insert retries
Nov 12, 2023
c6f54fc
latest nugets
Nov 15, 2023
9d9219a
OPC UA Client to latest .NET SDK
Nov 15, 2023
359ed91
Updated packager
Nov 15, 2023
1d2d549
update .net to 8
Nov 15, 2023
fbb04b9
API Fix
Nov 15, 2023
2f58107
project fix
Nov 15, 2023
db07076
license fix
Nov 15, 2023
ed51636
Categories added for store
Nov 16, 2023
2508955
Categories for Plugins
Nov 16, 2023
10de3f2
gitingore
Nov 28, 2023
3d24ace
New AzureSign CodeSigning
Dec 2, 2023
ba54ec4
Plugin Cleanup
Dec 8, 2023
75ac7ee
latest cde
Dec 13, 2023
8b8377e
Removed AzureSign Folder
Dec 21, 2023
a281c14
signme update
Dec 21, 2023
66c1ee1
Signme fix
Dec 21, 2023
182cafd
merge
Dec 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,4 @@ project.assets.json
/BuildTools/signtool.exe
/src/gitversion.json
/src/178 - External Logger/DiscordLib
/BuildTools/AzureSign/azuresign.bat
13 changes: 6 additions & 7 deletions BuildTools/signMeSha.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
rem SPDX-FileCopyrightText: Copyright (c) 2009-2020 TRUMPF Laser GmbH, authors: C-Labs
rem SPDX-License-Identifier: CC0-1.0
if not exist "%~dp0\real.sign" goto noSign
echo signing with c8f244b6856c3a16604e7c00a0dd645c15ebe05a ts: http://timestamp.digicert.com
set "SignToolEXE=%~dp0\signtool.exe"
if exist %SignToolEXE% goto signNow
xcopy "%ProgramFiles(x86)%\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe" "%~dp0"
:signNow
echo %SignToolEXE%
%SignToolEXE% sign /sha1 c8f244b6856c3a16604e7c00a0dd645c15ebe05a /t http://timestamp.digicert.com %1
if not exist "%CDE_CODE_SIGN%\azuresecrets.bat" goto noSecrets
echo Setting Azure Vault secrets
call ""%CDE_CODE_SIGN%\azuresecrets.bat"
:noSecrets
echo Signing with Azure Vault Key
AzureSignTool.exe sign -du "https://c-labs.com" -fd sha1 -kvu %CDE_KVU% -kvi %CDE_KVI% -kvt %CDE_KVT% -kvs %CDE_KVS% -kvc %CDE_KVC% -tr http://timestamp.digicert.com -td sha1 %1
goto exit
:noSign
echo !!!!!!! Skipped signing: No "%~dp0\real.sign" file found - expected if not an official build.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
MyBaseEngine.AddCapability(eThingCaps.ComputerHealth);
MyBaseEngine.AddCapability(eThingCaps.HardwareAccess);
MyBaseEngine.AddCapability(eThingCaps.DoNotIsolate);
MyBaseEngine.SetPluginInfo("Monitors the health of all your Nodes", 0, null, "FA3:f108", "C-Labs and its licensors", "http://www.c-labs.com", new List<string>());
MyBaseEngine.SetPluginInfo("Monitors the health of all your Nodes", 0, null, "FA3:f108", "C-Labs and its licensors", "http://www.c-labs.com", new List<string> { "Service" });
MyBaseEngine.AddManifestFiles(new List<string> { "System.Management.dll", "System.Diagnostics.PerformanceCounter.dll" });
}

Expand Down
1 change: 1 addition & 0 deletions src/066 - C-MyVThings/C-DMyVThings/C-DMyVThings.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<ProjectName>$(AssemblyName).$(TargetFramework)</ProjectName>
<DefineConstants>CDE_SYSLOG;TRACE;$(DefineConstants)</DefineConstants>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 1 addition & 3 deletions src/066 - C-MyVThings/C-DMyVThings/VThingsCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ namespace CDMyVThings
{
public class eVThings : TheDeviceTypeEnum
{
//public const string eVAlarm = "Alarm";
public const string eVTimer = "Timer";
public const string eVCountdown = "Countdown";
public const string eMemoryTag = "Memory Tag";
public const string eNMIElement = "NMI Element";
public const string eDataGenerator = "Data Generator";
public const string eDataVerifier = "Data Verifier";
public const string eVStateSensor = "Virtual State Sensor";
//public const string eNMIControl = "NMI Control";
public const string eSineWave = "Sine Wave";
public const string eVirtualSensor = "Virtual Sensor";
public const string eDataPlayback = "Data Playback";
Expand All @@ -42,7 +40,7 @@ public class eVThings : TheDeviceTypeEnum
IconUrl = iconUrl,
Developer = "C-Labs",
DeveloperUrl = "http://www.c-labs.com",
Categories = new string[] { },
Categories = new string[] { "Digital-Thing" },
IsService = true,
EngineID = "{B9DBC881-0EA8-4FA6-98B8-2C646B6B848F}",
AcceptsFilePush = true,
Expand Down
78 changes: 6 additions & 72 deletions src/066 - C-MyVThings/C-DMyVThings/ViewModel/theDataPlayback.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,67 +24,8 @@
namespace CDMyVThings.ViewModel
{
[DeviceType(DeviceType = eVThings.eDataPlayback, Description = "Data Player reads recorded thing updates and plays them back.", Capabilities = new[] { eThingCaps.ConfigManagement })]
public class TheDataPlayback: ICDEThing
public class TheDataPlayback: TheThingBase
{
#region ICDEThing Methods
public void SetBaseThing(TheThing pThing)
{
MyBaseThing = pThing;
}
public TheThing GetBaseThing()
{
return MyBaseThing;
}
public virtual cdeP GetProperty(string pName, bool DoCreate)
{
return MyBaseThing?.GetProperty(pName, DoCreate);
}
public virtual cdeP SetProperty(string pName, object pValue)
{
return MyBaseThing?.SetProperty(pName, pValue);
}

public void RegisterEvent(string pName, Action<ICDEThing, object> pCallBack)
{
MyBaseThing?.RegisterEvent(pName, pCallBack);
}
public void UnregisterEvent(string pName, Action<ICDEThing, object> pCallBack)
{
MyBaseThing?.UnregisterEvent(pName, pCallBack);
}
public void FireEvent(string pEventName, ICDEThing sender, object pPara, bool FireAsync)
{
MyBaseThing?.FireEvent(pEventName, sender, pPara, FireAsync);
}
public bool HasRegisteredEvents(string pEventName)
{
if (MyBaseThing != null)
return MyBaseThing.HasRegisteredEvents(pEventName);
return false;
}

public virtual void HandleMessage(ICDEThing sender, object pMsg)
{ }


protected TheThing MyBaseThing;

protected bool mIsUXInitCalled;
protected bool mIsUXInitialized;
protected bool mIsInitCalled;
protected bool mIsInitialized;
public bool IsUXInit()
{ return mIsUXInitialized; }
public bool IsInit()
{ return mIsInitialized; }

/// <summary>
/// The possible types of WeMo devices that can be detected
/// </summary>
#endregion

private IBaseEngine MyBaseEngine;

// KPIs/Status
public bool IsActive
{
Expand Down Expand Up @@ -618,7 +559,7 @@ private async Task PlaybackLoop(TheThing tThingOverride, CancellationToken cance
long _propertyCounter;
DateTimeOffset _lastSendTime;

public virtual bool Init()
public override bool Init()
{
if (mIsInitCalled) return false;
mIsInitCalled = true;
Expand Down Expand Up @@ -669,18 +610,11 @@ public virtual bool Init()
return true;
}

public bool Delete()
{
mIsInitialized = false;
// TODO Properly implement delete
return true;
}

protected TheFormInfo MyStatusForm;
protected TheDashPanelInfo SummaryForm;
protected TheFieldInfo CountBar;
protected TheFieldInfo PropTable;
public virtual bool CreateUX()
public override bool CreateUX()
{
if (mIsUXInitCalled) return false;
mIsUXInitCalled = true;
Expand Down Expand Up @@ -721,8 +655,8 @@ public virtual bool CreateUX()

TheNMIEngine.AddSmartControl(MyBaseThing, MyStatusForm, eFieldType.SingleEnded, 90, 2, 0x0, "###CDMyVThings.TheVThings#PlaybackInputFileName#Input File###", nameof(InputFileName), new nmiCtrlSingleEnded() { ParentFld = 49 });
TheNMIEngine.AddSmartControl(MyBaseThing, MyStatusForm, eFieldType.Number, 86, 2, 0x0, "###CDMyVThings.TheVThings#PlaybackNumberThings#Number Things###", nameof(ParallelPlaybackCount), new nmiCtrlNumber() { TileWidth = 3, ParentFld = 49 });
TheNMIEngine.AddSmartControl(MyBaseThing, MyStatusForm, eFieldType.SingleEnded, 110, 2, 0x0, "###CDMyVThings.TheVThings#PlaybackEngineName#Engine Name###", nameof(PlaybackEngineName), new nmiCtrlSingleEnded() { ParentFld = 49 });
TheNMIEngine.AddSmartControl(MyBaseThing, MyStatusForm, eFieldType.SingleEnded, 115, 2, 0x0, "###CDMyVThings.TheVThings#PlaybackDeviceType#Device Type###", nameof(PlaybackDeviceType), new nmiCtrlSingleEnded() { ParentFld = 49 });
TheNMIEngine.AddSmartControl(MyBaseThing, MyStatusForm, eFieldType.ThingPicker, 110, 2, 0x0, "###CDMyVThings.TheVThings#PlaybackEngineName#Engine Name###", nameof(PlaybackEngineName), new nmiCtrlThingPicker() { IncludeEngines=true, Filter="DeviceType=IBaseEngine", ParentFld = 49 });
TheNMIEngine.AddSmartControl(MyBaseThing, MyStatusForm, eFieldType.DeviceTypePicker, 115, 2, 0x0, "###CDMyVThings.TheVThings#PlaybackDeviceType#Device Type###", nameof(PlaybackDeviceType), new nmiCtrlDeviceTypePicker() { ParentFld = 49 });


TheNMIEngine.AddSmartControl(MyBaseThing, MyStatusForm, eFieldType.CollapsibleGroup, 120, 2, 0x0, "###CDMyVThings.TheVThings#Settings#Upload file...###", null, new nmiCtrlCollapsibleGroup() { ParentFld = 49, DoClose = true, IsSmall = true });
Expand Down Expand Up @@ -766,7 +700,7 @@ void sinkFileReceived(ICDEThing pThing, object pFileName)
TheCommCore.PublishToOriginator(pMsg.Message, new TSM(eEngineName.NMIService, "NMI_TOAST", $"###Input data file ({pMsg.Message.TXT}) received!###"));
}


IBaseEngine MyBaseEngine;
public TheDataPlayback(TheThing pThing, IBaseEngine pEngine)
{
if (pThing != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PackageId>CDMyOPCUAClient</PackageId>
<Version>5.145.0</Version>
<Authors>Markus Horstmann</Authors>
<LangVersion>preview</LangVersion>
<Company>C-Labs</Company>
<Product>CDMyOPCUAClient for $(TargetFramework)</Product>
<Copyright>Copyright © 2017-2022 TRUMPF Laser GmbH, authors: C-Labs</Copyright>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ public class eOPCDeviceTypes
"Opc.Ua.Client.dll",
"Opc.Ua.Configuration.dll"
},
Categories = ["Protocol"],
Platforms = new cdePlatform[]
{
cdePlatform.X64_V3, cdePlatform.X32_V4, cdePlatform.NETSTD_V20,
cdePlatform.NETSTD_V20,
}
)]
partial class cdeOPCUaClient : ThePluginBase
Expand Down
2 changes: 1 addition & 1 deletion src/079 - CDMyMessages/C-DMyMessages/myMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
base.InitEngineAssets(pBase);
MyBaseEngine.SetFriendlyName("My Messaging Service");
MyBaseEngine.SetEngineID(new Guid("{7B56E698-59B5-4A11-BFE7-FDB06A912FDC}"));
MyBaseEngine.SetPluginInfo("Send email and other messages to people, social media and other recipients", 0, null, "FA3:f658", "C-Labs", "http://www.c-labs.com", new List<string>());
MyBaseEngine.SetPluginInfo("Send email and other messages to people, social media and other recipients", 0, null, "FA3:f658", "C-Labs", "http://www.c-labs.com", new List<string> { "Service" });
MyBaseEngine.GetEngineState().IsAllowedUnscopedProcessing = true;
}
#endregion
Expand Down
1 change: 1 addition & 0 deletions src/093 - CDMyNetwork/C-DMyNetwork/C-DMyNetwork.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<Authors>Chris Muench</Authors>
<Company>C-Labs</Company>
<Product>C-DMyNetwork</Product>
<LangVersion>preview</LangVersion>
<Description>Network Services</Description>
<Copyright>Copyright © 2017-2022 TRUMPF Laser GmbH, authors: C-Labs</Copyright>
<ProjectName>$(AssemblyName).$(TargetFramework)</ProjectName>
Expand Down
1 change: 1 addition & 0 deletions src/093 - CDMyNetwork/C-DMyNetwork/cdeMyNetwork.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class eNetworkServiceTypes : TheDeviceTypeEnum
LongDescription = "This service allows to monitors network services",
IconUrl = "FA3:f6ff",
Developer = "C-Labs",
Categories = ["Service"],
DeveloperUrl = "http://www.c-labs.com"
)]
partial class MyNetworkServices : ThePluginBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
MyBaseEngine.SetEngineService(true);

MyBaseEngine.SetEngineID(new Guid("{AAE144FE-364F-4FA0-9E67-ABC0A3A26A53}"));
MyBaseEngine.SetPluginInfo("This service allows you to track Visitors", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", null);
MyBaseEngine.SetPluginInfo("This service allows you to track Visitors", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string> { "Service" });

MyBaseEngine.SetVersion(0);
}
Expand Down
2 changes: 1 addition & 1 deletion src/123 - CDMyModbus/CDMyModbus/ModbusService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
});

MyBaseEngine.SetEngineID(new Guid("{7E749DF5-10CD-4671-AB58-05EF078C9125}"));
MyBaseEngine.SetPluginInfo("This service allows you to connect to devices via Modbus", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string>() { });
MyBaseEngine.SetPluginInfo("This service allows you to connect to devices via Modbus", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string>() { "Protocol" });
}

public override bool Init()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
base.InitEngineAssets(pBase);
MyBaseEngine.SetFriendlyName("The Rules Engine");
MyBaseEngine.AddCapability(eThingCaps.RulesEngine);
MyBaseEngine.SetPluginInfo("The C-Labs Rules engine", 0, null, "toplogo-150.png", "C-Labs", "https://www.c-labs.com", null);
MyBaseEngine.SetPluginInfo("The C-Labs Rules engine", 0, null, "toplogo-150.png", "C-Labs", "https://www.c-labs.com", new List<string> { "Service" });
MyBaseEngine.SetEngineID(new Guid("{843B73BA-028F-4BDF-A102-D1E545204036}"));
}

Expand Down
2 changes: 1 addition & 1 deletion src/150 - CDMyMSSQL/CDMyMSSQL/TheStorageCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public override void InitEngineAssets(IBaseEngine pEngine)
MyBaseEngine.AddCapability(eThingCaps.DistributedStorage);
MyBaseEngine.AddCapability(eThingCaps.MustBePresent);
MyBaseEngine.GetEngineState().IsAllowedUnscopedProcessing = true;
MyBaseEngine.SetPluginInfo("Distributed Storage Service for MS-SQL", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string>() { "IStorageService" });
MyBaseEngine.SetPluginInfo("Distributed Storage Service for MS-SQL", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string>() { "IStorageService", "Service" });
MyBaseEngine.AddManifestFiles(new List<string> { "System.Data.SqlClient.dll" });
}
#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
MyBaseEngine.SetEngineID(new Guid("{A5FD8A57-C4B9-4EDB-8965-082D3F466E33}"));
MyBaseEngine.SetFriendlyName("The Web Relay Service");
MyBaseEngine.GetEngineState().IsAllowedUnscopedProcessing = TheBaseAssets.MyServiceHostInfo.IsCloudService;
MyBaseEngine.SetPluginInfo("This service allows you relay web pages", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string> { "Service" });
}
#endregion

Expand Down
2 changes: 1 addition & 1 deletion src/160 - CDMyImages/CDMyImages/TheImageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
MyBaseEngine.SetFriendlyName("Image Service");
MyBaseEngine.GetEngineState().IsAcceptingFilePush = true;
MyBaseEngine.SetEngineID(new Guid("{795370F8-EF3A-4F1F-BBE0-F16053329B90}"));
MyBaseEngine.SetPluginInfo("This service allows you to manage images", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string>() { });
MyBaseEngine.SetPluginInfo("This service allows you to manage images", 0, null, "toplogo-150.png", "C-Labs", "http://www.c-labs.com", new List<string>() { "Digital-Thing" });
}

public override bool Init()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
"toplogo-150.png", // pIcon - custom icon.
"C-Labs", // pDeveloper - name of the plugin developer.
"http://www.c-labs.com", // pDeveloperUrl - URL to developer home page.
new List<string>() { }); // pCategories - Search categories for service.
new List<string>() { "Service" }); // pCategories - Search categories for service.
}

TheStorageMirror<ScriptSnapshot> MyScriptTableStorage;
Expand Down
2 changes: 1 addition & 1 deletion src/178 - External Logger/CDMyLogger/TheLoggerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
"toplogo-150.png", // pIcon - custom icon.
"C-Labs", // pDeveloper - name of the plugin developer.
"http://www.c-labs.com", // pDeveloperUrl - URL to developer home page.
new List<string>() { }); // pCategories - Search categories for service.
new List<string>() { "Service" }); // pCategories - Search categories for service.
MyBaseEngine.AddManifestFiles(new List<string> { "Discord.Net.Core.dll", "Discord.Net.Rest.dll", "Discord.Net.Webhook.dll", "Newtonsoft.Json.dll" });
MyBaseEngine.AddCapability(eThingCaps.LoggerEngine);
MyBaseEngine.AddCapability(eThingCaps.ConfigManagement);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<RootNamespace>CDMyMeshSender</RootNamespace>
<PackageId>CDMyMeshSender</PackageId>
<Version>5.145.0</Version>
<LangVersion>preview</LangVersion>
<Authors>Markus Horstmann</Authors>
<Company>C-Labs</Company>
<Product>CDMyMeshSender</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ public static string GetValues()
DeveloperUrl = "http://www.c-labs.com",
CDEMinVersion = 4.2050,
ManifestFiles = new string[] { },
Categories = ["Service"],
Platforms = new[] {
cdePlatform.X64_V3, cdePlatform.X32_V4, cdePlatform.NETSTD_V20
cdePlatform.NETSTD_V20
})
]
class MeshSenderService : ThePluginBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
MyBaseEngine.SetEngineService(true); //Keep True if this class is a service

MyBaseEngine.SetEngineID(new Guid("{BF99690D-6114-427F-B17A-A606BE3145BD}")); //TODO: Step 2 - set Plugin GUID
MyBaseEngine.SetPluginInfo("This service allows to receive data from a CDEngine mesh and place them into CDEngine Things.", 0, null, "", "C-Labs and its licensors", "http://www.c-labs.com", new List<string>() { });
MyBaseEngine.SetPluginInfo("This service allows to receive data from a CDEngine mesh and place them into CDEngine Things.", 0, null, "", "C-Labs and its licensors", "http://www.c-labs.com", new List<string>() { "Service" });

MyBaseEngine.SetCDEMinVersion(4.011);
MyBaseEngine.AddManifestFiles(new List<string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<RootNamespace>CDMyMqttSender</RootNamespace>
<PackageId>CDMyMqttSender</PackageId>
<Version>5.100.0</Version>
<LangVersion>preview</LangVersion>
<Authors>Markus Horstmann</Authors>
<Company>C-Labs</Company>
<Product>CDMyMqttSender for $(TargetFramework)</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public static string GetValues()
ManifestFiles = new [] {
// MQTT Receiver
"GnatMQ.dll",
}
},
Categories = ["Protocol"]
)
]
class MqttSenderService : ThePluginBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public override void InitEngineAssets(IBaseEngine pBase)
base.InitEngineAssets(pBase);
MyBaseEngine.SetFriendlyName("Prometheus Exporter");
MyBaseEngine.SetEngineID(new Guid("{AF65D637-191B-40BA-8302-BDD254E11DFE}"));
MyBaseEngine.SetPluginInfo("This service allows to export Thing properties as metrics to Prometheus.", 0, null, "images/prometheus_logo_grey.png", "C-Labs and its licensors", "http://www.c-labs.com", new List<string>() { });
MyBaseEngine.SetPluginInfo("This service allows to export Thing properties as metrics to Prometheus.", 0, null, "images/prometheus_logo_grey.png", "C-Labs and its licensors", "http://www.c-labs.com", new List<string>() { "Service" });
MyBaseEngine.AddManifestFiles(new List<string> {
"Prometheus.NetStandard.dll", /*"ClientBin\\Scripts\\CreatePrometheusExporter.cdescript"*/
});
Expand Down