Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public void Test1()
        {
            var id = new Hkidn(3, 76550000, "760794644");

            TestHelpers.TestSerialization(id);
        }