Пример #1
0
        // This should be the "Good Message" constructor formatting for the PackKey
        public AcspPackKey(Byte12Data byte12, Byte13NodeNames byte13)
        {
            SetDefaultPackKeyValues();

            // Here we set bytes "12 and 13" (using 1s-indexing) for the CSP message
            _packKey[11] = (Byte)byte12; // Presumably, if this the "Good Message" then byte12 will have a value of 0x02;
            _packKey[12] = (Byte)byte13; // This can be one of a number of different values depending upon the message type
        }