v10
This commit is contained in:
16
test/tree/meter_topology_result_1.json
Normal file
16
test/tree/meter_topology_result_1.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"set_error_type": [],
|
||||
"phase_type": [],
|
||||
"hierarchy": {
|
||||
"5": [
|
||||
{
|
||||
"meter_id": "180001507008",
|
||||
"error_type": null,
|
||||
"is_ltu": true,
|
||||
"addr": "江西省宜春市袁州区温汤镇社埠村社布台区",
|
||||
"phase": "0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"meter_set": []
|
||||
}
|
||||
@@ -1,3 +1,26 @@
|
||||
class A<T extends NameAble>{
|
||||
final T data;
|
||||
|
||||
|
||||
A(this.data);
|
||||
|
||||
void printName(){
|
||||
print(data.name);
|
||||
}
|
||||
}
|
||||
|
||||
mixin NameAble{
|
||||
String get name;
|
||||
}
|
||||
|
||||
class B with NameAble{
|
||||
@override
|
||||
String get name => 'B';
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
class Node {
|
||||
final String value;
|
||||
final List<Node> children;
|
||||
|
||||
Reference in New Issue
Block a user