public Default() { Name = "农业气象物联网数据同步插件"; EnableDelete = true; _farmApi = new FarmApi(); _facilityApi = new FacilityApi(); _deviceApi = new DeviceApi(); _transport = ApiTransportHelper.GetTransport(); SyncAll(); }
static UploadClient() { _farmApi = new FarmApi(); _facilityApi = new FacilityApi(); _deviceApi = new DeviceApi(); }