|
| 1 | +using ArtNetSharp; |
| 2 | + |
| 3 | +namespace ArtNetTests.Binary_Tests.Ulrich_Radig |
| 4 | +{ |
| 5 | + internal class Ulrich_Radig_Quad_ArtNet_Box : AbstractArtPollReplyBinaryTestSubject |
| 6 | + { |
| 7 | + private static readonly byte[] DATA = [ |
| 8 | + 0x41, 0x72, 0x74, 0x2d, 0x4e, 0x65, 0x74, 0x00, |
| 9 | + 0x00, 0x21, 0xc0, 0xa8, 0x15, 0x3b, 0x36, 0x19, |
| 10 | + 0x02, 0x04, 0x01, 0x00, 0x11, 0x10, 0x00, 0x00, |
| 11 | + 0x11, 0x01, 0x53, 0x4b, 0x49, 0x2d, 0x41, 0x4e, |
| 12 | + 0x44, 0x2d, 0x52, 0x48, 0x53, 0x51, 0x55, 0x44, |
| 13 | + 0x41, 0x00, 0x00, 0x00, 0x53, 0x4b, 0x49, 0x2d, |
| 14 | + 0x41, 0x4e, 0x44, 0x2d, 0x52, 0x48, 0x53, 0x51, |
| 15 | + 0x55, 0x44, 0x41, 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, 0x41, 0x76, 0x72, 0x41, |
| 22 | + 0x72, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x20, 0x69, |
| 23 | + 0x73, 0x20, 0x72, 0x65, 0x61, 0x64, 0x79, 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, 0x04, 0x80, 0x80, |
| 30 | + 0x80, 0x80, 0x08, 0x08, 0x08, 0x08, 0x82, 0x82, |
| 31 | + 0x82, 0x82, 0x00, 0x01, 0x02, 0x03, 0x01, 0x02, |
| 32 | + 0x03, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 33 | + 0x00, 0x70, 0xb3, 0xd5, 0xfa, 0xf0, 0x77, 0x00, |
| 34 | + 0x00, 0x00, 0x00, 0x00, 0x00, 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,new Address(1),new Address(0)), // But should be PortAddress 257, 256 |
| 42 | + new PortTestSubject(EPortType.OutputFromArtNet,new Address(2),new Address(1)), // But should be PortAddress 258, 257 |
| 43 | + new PortTestSubject(EPortType.OutputFromArtNet,new Address(3),new Address(2)), // But should be PortAddress 259, 258 |
| 44 | + new PortTestSubject(EPortType.OutputFromArtNet,new Address(4),new Address(3)) // But should be PortAddress 260, 259 |
| 45 | + ]; |
| 46 | + public Ulrich_Radig_Quad_ArtNet_Box() : base( |
| 47 | + "Ulrich Radig Quad ArtNet Box (FW 2.4)", |
| 48 | + DATA, |
| 49 | + 1, |
| 50 | + "SKI-AND-RHSQUDA", |
| 51 | + "SKI-AND-RHSQUDA", |
| 52 | + new MACAddress("70:b3:d5:fa:f0:77"), |
| 53 | + new IPv4Address("192.168.21.59"), |
| 54 | + new IPv4Address("0.0.0.0"), |
| 55 | + 0x1110, |
| 56 | + 0x0111, |
| 57 | + EStCodes.StNode, |
| 58 | + PORTS, |
| 59 | + true, |
| 60 | + 2, |
| 61 | + 4, |
| 62 | + new NodeReport("AvrArtNode is ready")) |
| 63 | + { |
| 64 | + } |
| 65 | + } |
| 66 | +} |
0 commit comments