Models.NET.Data 11.0.2

dotnet add package Models.NET.Data --version 11.0.2
                    
NuGet\Install-Package Models.NET.Data -Version 11.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Models.NET.Data" Version="11.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Models.NET.Data" Version="11.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Models.NET.Data" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Models.NET.Data --version 11.0.2
                    
#r "nuget: Models.NET.Data, 11.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Models.NET.Data@11.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Models.NET.Data&version=11.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Models.NET.Data&version=11.0.2
                    
Install as a Cake Tool

Models.NET.Data contains the classes of the Xserver.Data service.

Interfaces:

public class IAccessToken //Access Token { public byte[] AESVector { get; set;} public byte[] AESKey { get; set; } }

public class IAuthorizedObject                  // Authorized object for RestAPI communication
{
    public string SerializedObject { get; set; }
    public IUserId IUserId { get; set; }
}

public class IDeviceTwinDesiredProperties       // Stored Last Device Twin Desired properties
{
    /// <summary>
    /// Desired properties JSON
    /// </summary>
    public string DeviceTwinDesiredProperties { get; set; }
    /// <summary>
    /// Desired properties save time
    /// </summary>
    public DateTime DeviceTwinDesiredPropertiesUpdateTimestampUTC { get; set; }
}

public class IDeviceTwinReportedProperties      // Stored Last Device Twin Reported properties
{
    /// <summary>
    /// Reported properties JSON
    /// </summary>
    public string DeviceTwinReportedProperties { get; set; }
    /// <summary>
    /// Reported properties save time
    /// </summary>
    public DateTime DeviceTwinReportedPropertiesUpdateTimestampUTC { get; set; }
}

public class IDirectMethod                      //Object for Direct method communication
{
    /// <summary>
    /// Target resource name
    /// </summary>
    public string TargetResource { get; set; }
    /// <summary>
    /// Resoure parameter (optional)
    /// </summary>
    public string Parameter { get; set; }
    /// <summary>
    /// Resource method
    /// </summary>
    public string Method { get; set; }
    /// <summary>
    /// Message to the target resource
    /// </summary>
    public string Message { get; set; }
    public string Tag { get; set; }
}

public class IDirectMethodServiceResponse       // Object for RESTAPI response on Direct method
{
    public bool Success { get; set; }
    public string ErrorMessage { get; set; }
    /// <summary>
    /// Response from target resource
    /// </summary>
    public string Response { get; set; }
    public string Tag { get; set; }
}

public class IGetEvent                          // Define event query parameters
{
    public QueryType QueryType { get; set; }
    public DateTime StartDate { get; set; }
    public DateTime EndDate { get; set; }
    public int NumberOfEvents { get; set; }
    public bool UseFilter { get; set; }
    public List<string> Filters { get; set; }
}

public class IGetUserActivity                   // Define UserActivity query parameters
{
    public QueryType QueryType { get; set; }
    public DateTime StartDate { get; set; }
    public DateTime EndDate { get; set; }
    public int NumberOfEvents { get; set; }
    public bool UseFilter { get; set; }
    public List<string> Filters { get; set; }
    public bool UseUserFilter { get; set; }
    public string UserFilter { get; set; }
}

public class IGroupQuantity                    // Id of Group and Quantity
{
    public Int16 GroupId { get; set; }
    public Int16 QuantityId { get; set; }
}

public class IMaintenanceParameter              // Parameters for database maintenance
{
    public RemoveParameter RemoveSetting { get; set; }
    public DateTime RemoveDateTimeLT {get; set;}
}

public class INewUserPassword                  //New user password
{
    public byte[] NewPassword { get; set; }
}

public class IRegInfo                           // Get register info 
{
    public int id { get; set; }
    public string name { get; set; }
    public string description { get; set; }
    public int NumberOfRegisters { get; set; }
}

public class IResult                            //REST answer
{
    public string SerializedObject { get; set; }
    public bool Success { get; set; }
    public ErrorCode ErrorCode { get; set; }
    public string ErrorMessage { get; set; }
}

public class ISearchStorage                     //Storage parameters
{
    public string Search { get; set; }
    public bool MatchWhole { get; set; }
}

public class ISnapshot                          //Snapshot object
{
    public string Sender { get; set; }
    public List<string> SerializedObject { get; set; }
}

// Represents a chunked response for transmitting Source data in multiple parts.
// Used when the full list of sources exceeds the allowed message size (e.g., 128 KB).
public class ISourceChunkResponseDTO
{
    public int TotalChunkCount { get; set; }
    public int ChunkIndex { get; set; }
    public List<SourceDTO> Sources { get; set; } = new List<SourceDTO>();
}

public class ISourceQuantity                    // Id of Source and Quantity
{
    public Int16 SourceId { get; set; }
    public Int16 QuantityId { get; set; }
}

public class ISourceQuantityAggregatedValue : Models.Data.CommonLog.LogItemKey      // Aggregated Value of Sources
{
    public double Value { get; set; }
    public AggregationTypeId AggregationTypeId { get; set; }
}

public class ISourceQuantityMinMaxValue : Models.Data.CommonLog.LogItemKey          // Mininimum and Maximum Value of Sources
{
    public double Value { get; set; }
    public TypeId TypeId { get; set; }
}

public class IStorage
{
    public Identify Identify { get; set; }
    public int Id { get; set; }
    public string Name { get; set; }
    public string Tag { get; set; }
    public TypeOfAccess AccessType { get; set; }
    public List<string> AccessNames { get; set; }
    public string DataType { get; set; }
    public string Data { get; set; }
}

public class IStorageInfo
{
    public int Id { get; set; }
    public string Name { get; set; }
    public string Tag { get; set; }
    public TypeOfAccess AccessType { get; set; }
    public List<string> AccessNames { get; set; }
    public string DataType { get; set; }
}

 public class IStorageNewName
{
    public Identify Identify { get; set; }
    public int Id { get; set; }
    public string OldName { get; set; }
    public string NewName { get; set; }
}

public class ITemplateDeviceDriver                  // Serialized Template Device Driver
{
    public string TemplateDriverName { get; set; }
    public List<string> SerializedObject { get; set; } = new List<string>();
}

public classIImportTemplateDeviceDriver            // Import Template Device Driver
{
    public bool OverwriteExisting { get; set; }
    public int RemoveId { get; set; }
    public ITemplateDeviceDriver TemplateDriver { get; set; } 
}

public class IUserId                            //User Identify
{
    public string UserName { get; set; }
    public byte[] Password { get; set; }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Models.NET.Data:

Package Downloads
XserverIoTConnectivityInterface

Xserver.IoT component for REST API and Azure IoT Hub connectivity

XserverIoTCommon.NET

XserverIoTCommon.NET is a software component for OnboardTask of the IoT Device. With the Onboard Task project can be implemented customized tasks (Industrial PC communication, Custom protocol matching, Control tasks, Remote parameter setting from cloud, Control with Artificial Intelligence, etc.).

Xserver.IoT.Connectivity.Interface.NET

Xserver.IoT component for REST API and Azure IoT Hub connectivity

Xserver.IoT.Connectivity.Interface.IoTExplorerWeb

Xserver.IoT component for Azure IoT Hub connectivity

XserverIoT.PLM

XserverIoT.PLM

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.2 176 6/20/2025
11.0.1 2,117 12/7/2022
11.0.0 428 10/5/2022