Пример #1
0
 internal ProtocolDecodeEvent(ProtocolDecodeChannel channel, DateTime dt_block, DateTime dt_event, DecodeEventType event_type)
 {
     Channel       = channel;
     BlockDateTime = dt_block;
     EventDateTime = dt_event;
     EventType     = event_type;
 }
Пример #2
0
        protected ProtocolDecodeChannel CreateChannel(string name)
        {
            var group = new ProtocolDecodeChannel(this, name);

            prdch_list_.Add(group);

            return(group);
        }
 public ProtocolDecodeEvent_BitData(ProtocolDecodeChannel channel, DateTime dt_block, DateTime dt_event, BitData bitdata)
     : base(channel, dt_block, dt_event, DecodeEventType.Data)
 {
     Data = bitdata;
 }
Пример #4
0
 public ProtocolDecodeEvent_Frame(ProtocolDecodeChannel channel, DateTime dt_block, DateTime dt_event, ProtocolFrameElement frame)
     : base(channel, dt_block, dt_event, DecodeEventType.Frame)
 {
     Frame = frame;
 }
Пример #5
0
 public ProtocolDecodeEvent_Value(ProtocolDecodeChannel channel, DateTime dt_block, DateTime dt_event, double value)
     : base(channel, dt_block, dt_event, DecodeEventType.Data)
 {
     Value = value;
 }
Пример #6
0
 public ProtocolDecodeEvent_Message(ProtocolDecodeChannel channel, DateTime dt_block, DateTime dt_event, string event_msg)
     : base(channel, dt_block, dt_event, DecodeEventType.Message)
 {
     Message = event_msg;
 }