コード例 #1
0
ファイル: Message.cs プロジェクト: vstrien/KOCus
        public static ResponseDetails getMessageContentDetails(string checkedResponse)
        {
            string cleanedResponse = cleanReponse(checkedResponse);

            ResponseDetails response = new ResponseDetails() {
                bytes = getBytesInMessage(cleanedResponse),
                mode = getModeOfMessage(cleanedResponse),
                PID = getPIDOfMessage(cleanedResponse),
                message = getMessageContents(cleanedResponse)
            };

            return response;
        }
コード例 #2
0
ファイル: Message.cs プロジェクト: vstrien/KOCus
        public static ResponseDetails getMessageContentDetails(string checkedResponse)
        {
            string cleanedResponse = cleanReponse(checkedResponse);

            ResponseDetails response = new ResponseDetails()
            {
                bytes   = getBytesInMessage(cleanedResponse),
                mode    = getModeOfMessage(cleanedResponse),
                PID     = getPIDOfMessage(cleanedResponse),
                message = getMessageContents(cleanedResponse)
            };

            return(response);
        }