只是一个简单的计网课设
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
eruhs/frontend/wailsjs/go/models.ts

23 lines
525 B

export namespace core {
export class Device {
Name: string;
Description: string;
Flags: number;
Addresses: string[];
static createFrom(source: any = {}) {
return new Device(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.Name = source["Name"];
this.Description = source["Description"];
this.Flags = source["Flags"];
this.Addresses = source["Addresses"];
}
}
}