예제 #1
0
        /// <summary>
        /// Set basic configuration on GPIO slave
        /// </summary>
        /// <param name="mode"></param>
        protected override void ExecuteConfigRun(eConfigRunMode mode)
        {
            byte[] send;

            if (mode == eConfigRunMode.DeviceConfigOnly)
            {
                send    = new byte[3];
                send[0] = GenerateCommand(eMessageMode.write);
                send[1] = AdrConstantsBank0["IOCon"];
                send[2] = DefaultGPIOslaveConfig;

                base.SendByteStram(send);
                ConfigRunDone = true;
            }
        }
 /// <summary>
 /// Execute slave configuration
 /// </summary>
 abstract protected void ExecuteConfigRun(eConfigRunMode mode);