Skip to content

Rekill04/test_case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

test_case

Used flutter(Dart) for sensor display API

Sensor Display App

1. Clone the repository to your local machine by running:

git clone <repository_link>

Replace <repository_link> with the actual URL of this repository.

2. Place your JSON file containing the sensor data in the appropriate directory (e.g., assets/data.json).

For example:

[
  {
    "sensor_id": 1,
    "name": "Sensor A",
    "status": 1,
    "temperature": 22.5,
    "humidity": 60.0
  },
  {
    "sensor_id": 2,
    "name": "Sensor B",
    "status": 2,
    "temperature": 20.0,
    "humidity": 55.0
  }
]

3. Open the Project

Navigate to the /lib directory and open the main.dart file in your editor.

4. Run the App

  • Make sure you have an emulator set up (Select either Chrome, the Android Studio emulator, or your smartphone connected directly to the device as an emulator.).
  • To run the application, press CTRL + F5 in VS Code or use the 'Run' button in Android Studio. and press CTRL + F5

About

Used flutter(Dart) for sensor display API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors