File tree Expand file tree Collapse file tree 9 files changed +9
-18
lines changed
Expand file tree Collapse file tree 9 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 1- """Modbus simulator
2- """
1+ """Modbus simulator"""
32
43# See also example https://pymodbus.readthedocs.io/en/latest/source/example/updating_server.html
54import logging
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- """Cumulocity IoT c8y_Coils operation handler
3- """
2+ """Cumulocity IoT c8y_Coils operation handler"""
43from .context import Context
54
65
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- """Cumulocity IoT ModbusConfiguration operation handler
3- """
2+ """Cumulocity IoT ModbusConfiguration operation handler"""
43import json
54import logging
65import toml
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- """Cumulocity IoT Modbus device operation handler
3- """
2+ """Cumulocity IoT Modbus device operation handler"""
43import logging
54from dataclasses import dataclass
65import requests
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- """Cumulocity IoT c8y_Registers operation handler
3- """
2+ """Cumulocity IoT c8y_Registers operation handler"""
43from .context import Context
54
65
Original file line number Diff line number Diff line change 1- """Operation context
2- """
1+ """Operation context"""
32
43import subprocess
54from dataclasses import dataclass
Original file line number Diff line number Diff line change 1- """Banner for cli friendly applications
2- """
1+ """Banner for cli friendly applications"""
32
43# Generated using pyfiglet
54# import pyfiglet; BANNER = pyfiglet.figlet_format("Modbus plugin for thin-edge.io")
Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2- """Modbus reader
3- """
2+ """Modbus reader"""
43import argparse
54import json
65import logging
Original file line number Diff line number Diff line change 1- """Cumulocity IoT SmartREST template definitions
2- """
1+ """Cumulocity IoT SmartREST template definitions"""
32
43# pylint: disable=line-too-long
54SMARTREST_TEMPLATES = [
You can’t perform that action at this time.
0 commit comments