public bool WriteGrossTest(Behavior behavior) { _jetTestConnection = new TestJetbusConnection(behavior, ipaddress, "Administrator", "wtx", delegate { return(true); }); _dseJet = new DSEJet(_jetTestConnection, 200, update); _dseJet.Connect(this.OnConnect, 100); _dseJet.SetGross(); // Write in index(address) "6002/01" value 1936683623 if (_jetTestConnection.getDataBuffer.ContainsKey("6002/01") && _jetTestConnection.getDataBuffer.ContainsValue(1936683623)) { return(true); } else { return(false); } }