-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
temp tag to text #65
base: master
Are you sure you want to change the base?
temp tag to text #65
Conversation
Update paket to address TLS deprecation
…reeLevel, TwoLevel and FreeStyle). This also supports extended GAs as supported starting with ETS4 and using the full 16-bit GA range.
Addressing: - Moved Addressing to separate classes (not relying on string for GAs) - Support for extended GAs (i.e. full 16 bit group addresses) - Support for different GA styles (ThreeLevel, TwoLevel, Free) Telegram processing: - Added classes for ControlField1 and ControlField2 - Added enums to better understand what the ControlFields actually represent - Changed event parameters to standard .net pattern - Fixed bugs for CF1 / CF2 (wrong hop count, wrong broadcast bit, 0.0.0 not allowed as address) Testes: - Added tests for Addressing-classes - Added tests for ControlField-classes Readme: - Updated to reflect changes of this commit
GA was tested against SourceAddress instead of DestinationAddress
Merged until lifeemotions@6b50cef Also merged in lifeemotions#50 lifeemotions#51
Improvement to detect receiver power off setting ReceiveTimeout
…llar/knx.net into ccellar-feature/DisposableConnection
…into SystemKeeper-extended-ga
Çalışmadığım her ne olursa olsun, "geçici" tanımını bir metin kutusuna veya etikete nasıl koyabilirim? Yardım edebilir misin? statik void Olay (nesne gönderen, KnxEventArgs bağımsız değişkenler) if (args.DestinationAddress.ToString () == "1/1/17") |
How can I put the "temp" definition to a textbox or label, whatever I did did not work. Can you help?
static void Event(object sender, KnxEventArgs args)
{
if (args.DestinationAddress.Equals(new KnxThreeLevelGroupAddress(1, 1, 16)))
{
decimal temp = (decimal)connection.FromDataPoint("9.001", args.State);
textbox1.text=temp.tostring();
return;
}
if (args.DestinationAddress.ToString() == "1/1/17")
{
int perc = (int)connection.FromDataPoint("5.001", args.State);
Console.WriteLine($"New Event: device {args.DestinationAddress} has status {perc}");
return;
}
}