Exemple #1
0
        public Default()
        {
            Name         = "农业气象物联网数据同步插件";
            EnableDelete = true;

            _farmApi     = new FarmApi();
            _facilityApi = new FacilityApi();
            _deviceApi   = new DeviceApi();

            _transport = ApiTransportHelper.GetTransport();
            SyncAll();
        }
Exemple #2
0
 static UploadClient()
 {
     _farmApi = new FarmApi();
     _facilityApi = new FacilityApi();
     _deviceApi = new DeviceApi();
 }