Skip to content

Commit f31e69d

Browse files
committed
Add Binary Test for Swisson XND-8 FW 1.03
1 parent 1244977 commit f31e69d

1 file changed

Lines changed: 62 additions & 0 deletions

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
using ArtNetSharp;
2+
3+
namespace ArtNetTests.Binary_Tests.Swisson;
4+
5+
internal class Swisson_XND_8_1_03 : AbstractArtPollReplyBinaryTestSubject
6+
{
7+
private static readonly byte[] DATA = [
8+
0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00,
9+
0x00, 0x21, 0x65, 0xc9, 0x01, 0x06, 0x36, 0x19,
10+
0x01, 0x03, 0x00, 0x00, 0x28, 0xc1, 0x00, 0x02,
11+
0x77, 0x53, 0x50, 0x6f, 0x72, 0x74, 0x20, 0x32,
12+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
13+
0x00, 0x00, 0x00, 0x00, 0x53, 0x57, 0x49, 0x53,
14+
0x53, 0x4f, 0x4e, 0x20, 0x58, 0x4e, 0x44, 0x2d,
15+
0x38, 0x00, 0x00, 0x00, 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, 0x23, 0x30, 0x30, 0x30,
22+
0x31, 0x20, 0x5b, 0x30, 0x30, 0x30, 0x32, 0x5d,
23+
0x20, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x20, 0x6f,
24+
0x6e, 0x20, 0x74, 0x65, 0x73, 0x74, 0x73, 0x20,
25+
0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66,
26+
0x75, 0x6c, 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, 0xc0, 0x00,
30+
0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01, 0x00,
31+
0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00,
32+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33+
0x00, 0x28, 0x36, 0x38, 0xc0, 0x5e, 0xbb, 0x65,
34+
0xc9, 0x01, 0x06, 0x02, 0x1d, 0x00, 0x00, 0x00,
35+
0x00, 0x00, 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| EPortType.InputToArtNet,(PortAddress)2,(PortAddress)2)
42+
];
43+
public Swisson_XND_8_1_03() : base(
44+
"Swisson XND-8 (FW 1.0.3)",
45+
DATA,
46+
0,
47+
"Port 2",
48+
"SWISSON XND-8",
49+
new MACAddress("28:36:38:c0:5e:bb"),
50+
new IPv4Address("101.201.1.6"),
51+
new IPv4Address("101.201.1.6"),
52+
0x28c1,
53+
0x5377,
54+
EStCodes.StNode,
55+
PORTS,
56+
false,
57+
majorVersion: 1,
58+
minorVersion: 3,
59+
new NodeReport("#0001 [0002] Power on tests successful"))
60+
{
61+
}
62+
}

0 commit comments

Comments
 (0)