private string SqlTableName = "Device_Alarm_";//Device_Alarm_201610 public Event(TableStoreModel tableStoreModel) { oTSClient = OTSHelper.GetOTSClientEvent(tableStoreModel); //oTSClient = new OTSClient(tableStoreModel.PublicEnvironment == "1" ? tableStoreModel.endPointPublic : tableStoreModel.endPointPrivate, tableStoreModel.accessKeyID, tableStoreModel.accessKeySecret, tableStoreModel.instanceName_Event); }
public Location(TableStoreModel tableStoreModel) { oTSClient = OTSHelper.GetOTSClientLocation(tableStoreModel); }