private void ModifyOptions()
        {
            _log.FunctionEntryMessage("modify options");

            _driverContext.SetStringProperty("DrvConfig.Options.KonfDatei", "BurPVI - KonfDatei.txt", true);
            _driverContext.IncreaseSignedProperty("DrvConfig.Options.BAImportMode", 0, 1000);
            _driverContext.SetStringProperty("DrvConfig.Options.BASuffix", "_xyz", true);
            _driverContext.SetBooleanProperty("DrvConfig.Options.BAItemsAsBlockArray");
            _driverContext.SetBooleanProperty("DrvConfig.Options.StructItemsAsBlockArray");

            _log.FunctionExitMessage();
        }
示例#2
0
        private void ModifyOptions()
        {
            _log.FunctionEntryMessage("modify options");

            _driverContext.SetStringProperty("DrvConfig.Options.ConfigurationFileName", "d:\\temp\\ConfiguratuionFileName.txt", true);
            _driverContext.SetBooleanProperty("DrvConfig.Options.DeactivateDoublePointMapping");
            _driverContext.SetStringProperty("DrvConfig.Options.DirectoryForFileTransfer", "d:\\temp", true);
            _driverContext.IncreaseSignedProperty("DrvConfig.Options.IdentificationForExternalName", 0, 100000);
            _driverContext.SetBooleanProperty("DrvConfig.Options.DoNotPurgeBRCB");
            _driverContext.IncreaseSignedProperty("DrvConfig.Options.OriginatorCategory", 0, 100000);

            _log.FunctionExitMessage();
        }
        private void ModifyOptions()
        {
            _log.FunctionEntryMessage("modify options");

            _driverContext.SetBooleanProperty("DrvConfig.Options.Serial");

            _log.FunctionExitMessage();
        }
示例#4
0
        //private void ModifyServerCommunication(string csPathname)
        //{
        //    var commNamePrefix = csPathname + "Communication.";

        //    _log.FunctionEntryMessage("modify communication");

        //    _driverContext.IncreaseDoubleProperty(commNamePrefix + "PublishInterval", -100000.0, 100000.0);
        //    _driverContext.IncreaseUnsignedProperty(commNamePrefix + "LifeTimeCount", 1, 100000);
        //    _driverContext.IncreaseUnsignedProperty(commNamePrefix + "KeepAliveCount", 1, 1000);
        //    _driverContext.IncreaseDoubleProperty(commNamePrefix + "SamplingInterval", -100000.0, 100000.0);

        //    _log.FunctionExitMessage();
        //}

        private void ModifyServerProtocol(string csPathname)
        {
            var protNamePrefix = csPathname + "Protocol.";

            _log.FunctionEntryMessage("modify protocol");

            _driverContext.IncreaseDoubleProperty(protNamePrefix + "PublishInterval", -100000.0, 100000.0);
            _driverContext.IncreaseUnsignedProperty(protNamePrefix + "LifeTimeCount", 1, 100000);
            _driverContext.IncreaseUnsignedProperty(protNamePrefix + "KeepAliveCount", 1, 1000);
            _driverContext.IncreaseDoubleProperty(protNamePrefix + "SamplingInterval", -100000.0, 100000.0);
            _driverContext.IncreaseUnsignedProperty(protNamePrefix + "DataChangeFilter", 0, 1);
            _driverContext.SetBooleanProperty(protNamePrefix + "AbsoluteDeadband");
            _driverContext.SetBooleanProperty(protNamePrefix + "PersistentNodeIDs");
            _driverContext.SetBooleanProperty(protNamePrefix + "ReadInitialValues");
            _driverContext.SetBooleanProperty(protNamePrefix + "ArraysOnIndexBasis");

            _log.FunctionExitMessage();
        }
示例#5
0
        private void ModifyOptions()
        {
            _log.FunctionEntryMessage("modify options");

            _driverContext.SetStringProperty("DrvConfig.Options.ConfFileName", "d:\\temp\\ConfiguratuionFileName.txt", true);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.ErrorWaitTime", 0, 1000000);
            _driverContext.SetBooleanProperty("DrvConfig.Options.UseKennung");

            _log.FunctionExitMessage();
        }
示例#6
0
        private void ModifyOptions()
        {
            _log.FunctionEntryMessage("modify options");

            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.NetworkNumber", 0, 255);
            _driverContext.SetStringProperty("DrvConfig.Options.Connection", "STRINGPROP", true);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.UDPPort", 0x80, 0xc000);
            _driverContext.SetCharacterProperty("DrvConfig.Options.PropertySeparator", 'ä');
            _driverContext.SetStringProperty("DrvConfig.Options.UDPBroadcastPorts", "1234", true);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.ErrorWaitTime_ms", 100, 1000000);
            _driverContext.IncreaseSignedProperty("DrvConfig.Options.SymAddressSourceProperty", -1000000, 1000000);
            _driverContext.SetBooleanProperty("DrvConfig.Options.DoNotExtractPropertyFromAddress");
            _driverContext.SetCharacterProperty("DrvConfig.Options.ObjectSeperator", 'ö');
            _driverContext.SetBooleanProperty("DrvConfig.Options.RegisterAsForeignDevice");
            _driverContext.SetStringProperty("DrvConfig.Options.ForeignDeviceBBMDAddress", "1.2.3.4", true);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.ForeignDeviceBBMDPort", 0x80, 0xc000);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.ForeignDeviceRegistrationLifeTime_s", 0, 0xffff);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.ForeignDeviceRegistrationTimeout_ms", 100, 1000000);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.ForeignDeviceRegistrationRetries", 1, 99);

            _log.FunctionExitMessage();
        }
示例#7
0
        private void ModifyOptions()
        {
            _log.FunctionEntryMessage("modify options");

            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.Version", 0, 10000);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.Karte", 0, 100);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.Adresse", 0, 100);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.Timeout", 10, 100000);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.Baudrate", 0, 100);
            _driverContext.SetBooleanProperty("DrvConfig.Options.StringHeader");
            _driverContext.SetUnsignedProperty("DrvConfig.Options.KartenVerbindung", 0, 1);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.IPAdresse", UInt32.MinValue, UInt32.MaxValue);
            _driverContext.SetUnsignedProperty("DrvConfig.Options.Karte", 0, 1);

            _log.FunctionExitMessage();
        }
示例#8
0
        private void ModifyOptions()
        {
            _log.FunctionEntryMessage("modify options");

            _driverContext.SetSignedProperty("DrvConfig.Options.Serial", 0, Int32.MinValue, Int32.MaxValue, false);
            _driverContext.SetStringProperty("DrvConfig.Options.NetworkAdapter", "STRINGPROP", true);
            _driverContext.SetBooleanProperty("DrvConfig.Options.EnableUDP");
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.LocalUDPPort", 0, 65535);
            _driverContext.SetStringProperty("DrvConfig.Options.BroadcastAddress", "STRINGPROP", true);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.BroadcastPort", 0, 65535);
            _driverContext.SetBooleanProperty("DrvConfig.Options.EnableDualEndpoint");
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.TCPListenerPort", 0, 65535);
            _driverContext.SetSignedProperty("DrvConfig.Options.DoublePointMapping", 0, Int32.MinValue, Int32.MaxValue, false);
            _driverContext.SetBooleanProperty("DrvConfig.Options.UTCTime");
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.RCVTimeout", 0, 4294967296);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.SendTimeout", 0, 4294967296);
            _driverContext.SetBooleanProperty("DrvConfig.Options.HalfDuplex");
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.NULOnTime", 0, 9999);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.NULOffTime", 0, 9999);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.TripOnTime", 0, 9999);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.TripOffTime", 0, 9999);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.CloseOnTime", 0, 9999);
            _driverContext.IncreaseUnsignedProperty("DrvConfig.Options.CloseOffTime", 0, 9999);

            _log.FunctionExitMessage();
        }