-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AxoTextList warning level and error level defined by attributes insid…
…e the PLC code
- Loading branch information
Tomas Kovac
committed
Aug 3, 2023
1 parent
4ad01b2
commit 7f8729b
Showing
6 changed files
with
98 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 17 additions & 6 deletions
23
src/core/src/AXOpen.Core.Blazor/AxoTextList/AxoTextListView.razor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,35 @@ | ||
using System; | ||
using AXSharp.Connector; | ||
using AXSharp.Connector.ValueTypes; | ||
using System.Collections.Generic; | ||
using AXOpen; | ||
using System.ComponentModel; | ||
using System.Security.Principal; | ||
|
||
namespace AXOpen.Core | ||
{ | ||
public partial class AxoTextList | ||
{ | ||
|
||
} | ||
} | ||
public class WarningLevelAttribute : Attribute | ||
{ | ||
public WarningLevelAttribute() | ||
{ | ||
} | ||
public WarningLevelAttribute(uint level) | ||
{ | ||
Level = level; | ||
} | ||
|
||
public uint Level { get; } | ||
} | ||
|
||
public class ErrorLevelAttribute : Attribute | ||
{ | ||
public ErrorLevelAttribute() | ||
{ | ||
} | ||
public ErrorLevelAttribute(uint level) | ||
{ | ||
Level = level; | ||
} | ||
|
||
public uint Level { get; } | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters