Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Search in
Link copied. Please paste this link to share this article on your social media post.
Hi,
I was using 1.3.xx EwsClient for a program. I updated it to the latest v2.1.83.
My old code was using GetUpdatedAlarmEvents() methods where I was passing the DataRef and LastAlarmRequestId from previous request.
GetUpdatedAlarmEventsResponse alarmEventsPerRequest = ewsClient.GetUpdatedAlarmEvents(0, 1000, alarmStatus.MoreDataRef, types, server.LastAlarmRequestId);
Now that this method is obsolete, could anyone point to the alternative method.
Thanks in advance!
Link copied. Please paste this link to share this article on your social media post.
There is an overload for GetUpdatedAlarmEvents with the parameter order changed.
The problem wass really a syntactic thing. If you weren't using any filters (e.g. priorityTo etc) you still needed to supply all of the null parameters to then supply the lastUpdate parameter. This was cumbersome to do. Using the new overload is simply cleaner to use.
You can still use the old method but if you're updating your code, you should just switch over. I have no plans to remove the old deprecated overload at this time.
Link copied. Please paste this link to share this article on your social media post.
There is an overload for GetUpdatedAlarmEvents with the parameter order changed.
The problem wass really a syntactic thing. If you weren't using any filters (e.g. priorityTo etc) you still needed to supply all of the null parameters to then supply the lastUpdate parameter. This was cumbersome to do. Using the new overload is simply cleaner to use.
You can still use the old method but if you're updating your code, you should just switch over. I have no plans to remove the old deprecated overload at this time.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.