Exemplo n.º 1
0
        /// <summary>
        /// Host requests Enable or Disable events
        /// </summary>
        void handleS2F37()
        {
            var requestData = GetData(PrimaryMessage.SecsItem);
            var ceed        = PrimaryMessage.GetCommandValue();

            if (requestData.Length >= 2)
            {
                var ceids = requestData.Skip(1).Take(requestData.Length - 1).ToArray();
                dataCollection.EnableDisableEventReportRequestEvent(requestData);
            }

            PrimaryMessage.S2F38(0);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Host requests the formatted status
        /// </summary>
        void handleS1F5()
        {
            var sfcd = PrimaryMessage.GetCommandValue();

            dataCollection.FormattedStatusRequestEvent((SFCD)sfcd, true);
        }