Exemple #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;
 }
Exemple #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;
 }
 public ProtocolDecodeEvent_Frame(ProtocolDecodeChannel channel, DateTime dt_block, DateTime dt_event, ProtocolFrameElement frame)
     : base(channel, dt_block, dt_event, DecodeEventType.Frame)
 {
     Frame = frame;
 }
Exemple #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;
 }
Exemple #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;
 }