Skip to content

Commit 9248332

Browse files
committed
Add Binary tests for GLP JDC Burst
1 parent 2099a47 commit 9248332

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
using ArtNetSharp;
2+
3+
namespace ArtNetTests.Binary_Tests.Martin;
4+
5+
internal class GLP_JDC_Burst : AbstractArtPollReplyBinaryTestSubject
6+
{
7+
private static readonly byte[] DATA = [
8+
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
9+
0x00, 0x21, 0x02, 0x0b, 0xb8, 0xe1, 0x36, 0x19,
10+
0x00, 0x00, 0x00, 0x00, 0xaa, 0xaa, 0x00, 0x02,
11+
0x6c, 0x67, 0x44, 0x4d, 0x58, 0x00, 0x00, 0x00,
12+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
13+
0x00, 0x00, 0x00, 0x00, 0x47, 0x4c, 0x50, 0x20,
14+
0x42, 0x75, 0x72, 0x73, 0x74, 0x20, 0x73, 0x65,
15+
0x72, 0x69, 0x65, 0x73, 0x00, 0x00, 0x00, 0x00,
16+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
17+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
18+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
19+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
20+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
21+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
22+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
23+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
24+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
25+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
26+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
27+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
28+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
29+
0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x80, 0x00,
30+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83, 0x00,
31+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
32+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x00, 0x82, 0xac, 0x60, 0xb7, 0xb8, 0xe1, 0x00,
34+
0x00, 0x00, 0x00, 0x00, 0x0c, 0xc0, 0x00, 0x00,
35+
0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
36+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
37+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ];
38+
39+
private static readonly PortTestSubject[] PORTS =
40+
[
41+
new PortTestSubject(EPortType.OutputFromArtNet,(PortAddress)0,(PortAddress)0)
42+
];
43+
public GLP_JDC_Burst() : base(
44+
"GLP JDC Burst",
45+
DATA,
46+
0,
47+
"DMX",
48+
"GLP Burst series",
49+
new MACAddress("82:ac:60:b7:b8:e1"),
50+
new IPv4Address("2.11.184.225"),
51+
new IPv4Address("0.0.0.0"),
52+
0xaaaa,
53+
0x676c,
54+
EStCodes.StNode,
55+
PORTS,
56+
false)
57+
{
58+
}
59+
}

0 commit comments

Comments
 (0)