<commit_before>/*
* File:   Device.h
* Author: <NAME>
*
*/

#pragma once

namespace Device {
using namespace std;

class ControlLogic
{
    public:
        ControlLogic() {}
        ~ControlLogic() {}

        // control code operation
        const string processData(string m)
        {
            string data;

            // device1
            if (m == "ON1"){
                data = "Device1 is ON";
            }
            else if(m == "OFF1"){
                data = "Device1 is OFF";
            }
            // device2
            else if (m == "ON2"){
                data = "Device2 is ON";
            }<commit_msg>edit class name<commit_after>/*
* File:   Device.h
* Author: <NAME>
*
*/

#pragma once

namespace Device {
using namespace std;

class Operation
{
    public:
         Operation() {}
        ~ Operation() {}

        // control code operation
        const string processData(string m)
        {
            string data;

            // device1
            if (m == "ON1"){
                data = "Device1 is ON";
            }
            else if(m == "OFF1"){
                data = "Device1 is OFF";
            }
            // device2
            else if (m == "ON2"){
                data = "Device2 is ON";
            }
{'fraction_non_alphanumeric': 0.11914217633042097, 'fraction_numerical': 0.012708498808578236, 'mean_word_length': 1.1837088388214905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5846975', 'n_tokens_mistral': 363, 'n_tokens_neox': 345, 'n_words': 102}