Skip to content

Commit

Permalink
Add Binary Test for:
Browse files Browse the repository at this point in the history
Elation Obsidian RDM10 FW 2.9.3
ELC node8gbx FW 1.53
  • Loading branch information
patrick-dmxc committed May 17, 2024
1 parent 19aeb4a commit 1c2a1de
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace ArtNetTests.Binary_Tests.ELC
{
internal class ELC_Node8gbx : AbstractArtPollReplyBinaryTestSubject
internal class ELC_Node8gbx_1_51 : AbstractArtPollReplyBinaryTestSubject
{
private static readonly byte[] DATA= [
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
Expand Down Expand Up @@ -44,7 +44,7 @@ internal class ELC_Node8gbx : AbstractArtPollReplyBinaryTestSubject
new PortTestSubject(EPortType.OutputFromArtNet,(Address)18,(Address)0),
new PortTestSubject(EPortType.OutputFromArtNet,(Address)19,(Address)0)
];
public ELC_Node8gbx() : base(
public ELC_Node8gbx_1_51() : base(
"ELC Node8gbx (FW 1.51)",
DATA,
0,
Expand Down
66 changes: 66 additions & 0 deletions ArtNetTests/Binary Tests/ELC/ELC_Node8gbx_1_53.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
using ArtNetSharp;
using RDMSharp;

namespace ArtNetTests.Binary_Tests.ELC
{
internal class ELC_Node8gbx_1_53 : AbstractArtPollReplyBinaryTestSubject
{
private static readonly byte[] DATA= [
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
0x00, 0x21, 0x0a, 0xbc, 0x8f, 0x66, 0x36, 0x19,
0x01, 0x0e, 0x00, 0x00, 0x00, 0x9e, 0x00, 0x02,
0x6c, 0x65, 0x6e, 0x6f, 0x64, 0x65, 0x20, 0x32,
0x20, 0x28, 0x54, 0x75, 0x72, 0x6d, 0x29, 0x00,
0x00, 0x00, 0x00, 0x00, 0x64, 0x6d, 0x58, 0x4c,
0x41, 0x4e, 0x20, 0x6e, 0x6f, 0x64, 0x65, 0x47,
0x42, 0x78, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x80, 0x80,
0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80,
0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02,
0x03, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x1f, 0x80, 0x01, 0x17, 0x42, 0x00,
0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ];

private static readonly PortTestSubject[] PORTS =
[
new PortTestSubject(EPortType.OutputFromArtNet,(Address)1,(Address)0),
new PortTestSubject(EPortType.OutputFromArtNet,(Address)2,(Address)0),
new PortTestSubject(EPortType.OutputFromArtNet,(Address)3,(Address)0),
new PortTestSubject(EPortType.OutputFromArtNet,(Address)4,(Address)0)
];
public ELC_Node8gbx_1_53() : base(
"ELC Node8gbx (FW 1.53)",
DATA,
0,
"node 2 (Turm)",
"dmXLAN nodeGBx8",
new MACAddress("00:1f:80:01:17:42"),
new IPv4Address("10.188.143.102"),
new IPv4Address("0.0.0.0"),
0x009e,
0x656c,
EStCodes.StNode,
PORTS,
true,
1,
53)
{
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
using ArtNetSharp;
using RDMSharp;

namespace ArtNetTests.Binary_Tests.Luminex
{
internal class Elation_Obisdian_RDM10_2_9_3 : AbstractArtPollReplyBinaryTestSubject
{
private static readonly byte[] DATA= [
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
0x00, 0x21, 0x02, 0xab, 0x4e, 0x13, 0x36, 0x19,
0x02, 0x5d, 0x00, 0x00, 0x2a, 0x1e, 0x00, 0xe2,
0xa6, 0x22, 0x50, 0x6f, 0x72, 0x74, 0x20, 0x31,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x4e, 0x45, 0x54, 0x52,
0x4f, 0x4e, 0x20, 0x52, 0x44, 0x4d, 0x31, 0x30,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00,
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x80, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x42, 0x4c, 0xb2, 0x63, 0x4e, 0x13, 0x02,
0xab, 0x4e, 0x13, 0x01, 0xdd, 0xc0, 0x00, 0x00,
0x00, 0x3c, 0x22, 0xa6, 0x06, 0xd3, 0x02, 0x0e,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];

private static readonly PortTestSubject[] PORTS =
[
new PortTestSubject(EPortType.OutputFromArtNet,(Universe)0,(Universe)0)
];
public Elation_Obisdian_RDM10_2_9_3() : base(
"Elation Obsidian RDM10 (FW 2.9.3)",
DATA,
0,
"Port 1",
"NETRON RDM10",
new MACAddress("42:4c:b2:63:4e:13"),
new IPv4Address("2.171.78.19"),
new IPv4Address("2.171.78.19"),
0x2a1e,
0x22a6,
EStCodes.StNode,
PORTS,
true,
majorVersion: 2,
minorVersion: 93)
{
}
}
}

0 comments on commit 1c2a1de

Please sign in to comment.