private void HandleV102Message(V102Message message) { DevIDNO = message.DevIDNO; _isInMediaMessageMode = true; SendRegisterFeedback(); SendFrameRequest(); }
private static MdvrMessageBase ReadV102Message(string[] args, string messageKey, string devIDNO, DateTime messageTime) { var message = new V102Message(messageKey, devIDNO, messageTime); message.LocationAndStatus = ParseLocationAndStatus(args); message.ProtocolVersion = args[25]; message.DeviceType = args[26]; message.MediaServerIp = args[27]; message.MediaServerPort = int.Parse(args[28]); message.SessionID = args[29]; message.MediaCommand = args[30]; message.ChannelNo = int.Parse(args[31]); message.FlowType = args[32]; message.Plate = args[33]; return(message); }