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