syntax = "proto3";
option go_package = "data/";

message sb_list{
    repeated sb_info sb = 1;
}

message sb_host{
    repeated string host = 1; 
}

message sb_info{
    string name = 1;
    string drive = 2;
    string host = 3;
    uint32 status  = 4;
    string description = 5;
    bool enable = 6;
    repeated string device_name = 7;
}

message sb_add{
    string name = 1;
    string drive = 2;
    string description = 3;
    bytes config = 4;
}

message sb_drive_list{
    repeated sb_drive_info sb_drive = 1;
}

message sb_drive_info{
    string name = 1;
    bytes config = 2;
}

// message tx_drive_config_modbusTCP{
//     string host = 1;
//     string port = 2;
// }