using System; namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications { /// /// describe a genesis register. /// need for read and write /// all request protocols uses RegisterDefinition /// public class ApplicationDefinition { /// /// name of the application /// public String AppName; /// /// address of application /// /// /// - AppId from Byte to UInt16 including typecast for Byte[] return. To external, it will be used as Byte /// as before this change. But being able to parse the configuration.json with OPTICALINTERFACE using the /// AppId 256, which exceeds the byte range as this isn't a real application, but will be used to identify /// the interface (configuration.json) version. /// public UInt16 AppId; /// /// version of the application /// public Int32? AppVersion; /// /// Get application name /// /// public String GetIdent() { return $"{AppName}"; } } }