Пример #1
0
        public SynchronizationMessage(string systemId, DateTime date, int blz, string userId, string productId, string productVer, Hksyn.Query query, string pin)
        {
            var controlRef = "123456";

            SignatureHeader = new Hnshk(2, controlRef, systemId, date, blz, userId);
            Identification  = new Hkidn(3, blz, userId, systemId);
            ProcessInit     = new Hkvvb(4, productId, productVer);
            Sync            = new Hksyn(5, query);
            SignatureFooter = new Hnsha(6, controlRef, pin);
        }
Пример #2
0
        public void Test1()
        {
            var id = new Hnsha(0, "abc", "def");

            TestHelpers.TestSerialization(id);
        }