Models.Data 10.2.0.6

dotnet add package Models.Data --version 10.2.0.6
NuGet\Install-Package Models.Data -Version 10.2.0.6
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.Data" Version="10.2.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Models.Data --version 10.2.0.6
#r "nuget: Models.Data, 10.2.0.6"
#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.
// Install Models.Data as a Cake Addin
#addin nuget:?package=Models.Data&version=10.2.0.6

// Install Models.Data as a Cake Tool
#tool nuget:?package=Models.Data&version=10.2.0.6

Models.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 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; }
}

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 class IImportTemplateDeviceDriver            // 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.
Universal Windows Platform uap was computed.  uap10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (2)

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

Package Downloads
XserverIoTCommon

XserverIoTCommon 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.).

XserverIoTConnectivityInterface

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.2.0.6 546 11/19/2020
10.2.0.5 424 10/20/2020
10.2.0.4 470 9/16/2020
10.0.0.87 677 5/20/2020