Models.Com 10.0.0.147

dotnet add package Models.Com --version 10.0.0.147
                    
NuGet\Install-Package Models.Com -Version 10.0.0.147
                    
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.Com" Version="10.0.0.147" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Models.Com" Version="10.0.0.147" />
                    
Directory.Packages.props
<PackageReference Include="Models.Com" />
                    
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.Com --version 10.0.0.147
                    
#r "nuget: Models.Com, 10.0.0.147"
                    
#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.Com@10.0.0.147
                    
#: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.Com&version=10.0.0.147
                    
Install as a Cake Addin
#tool nuget:?package=Models.Com&version=10.0.0.147
                    
Install as a Cake Tool

Models.Com contains the classes of the Xserver.Com service.

Interfaces:

public class IQuantitiesOfSource        //IQuantitiesOfSource object is included all of the quantities of one Source (for REST communication)
{
    public IQuantitiesOfSourceResult Result { get; set; }
    public Int16 SourceId { get; set; }
    public string SourceName { get; set; }
    public List<QuantityItem> Quantities = new List<QuantityItem>();
}

public class ISource                    //Define Source by Id and Name (for REST communication)
{
    public Int16 SourceId { get; set; }
    public string SourceName { get; set; }
}

public class ISourceInfo                //Source information
{
    public Int16 SourceId { get; set; }
    public string SourceName { get; set; }
    public List<SourceUseGroup> GroupSettings { get; set; }
    public string Tag { get; set; }
}

public class ISourceQuantitiesInfo      //Source quantites information 
{
    public Int16 SourceId { get; set; }
    public string SourceName { get; set; }
    public List<IQuantityInfo> Quantities = new List<IQuantityInfo>();
}

public class IGroupInfo                 //Group Information
{
    public Int16 GroupId { get; set; }
    public string GroupName { get; set; }
    public List<SourceGroupSettings> SourcesOfGroup = new List<SourceGroupSettings>();
}

public class IActiveAlarms              // Active alarm request
{
    // if NumberOfItems = 0 then no size limit
    public int NumberOfItems { get; set; }
    public IUserId IUserId { get; set; }
}

public class ISourceActiveAlarms        // One source active alarm request
{
    public Int16 SourceId { get; set; }
    public IUserId IUserId { get; set; }
}

public class IFilteredActiveAlarm       // Filtered active alarm request
{
    public List<string> Filters { get; set; }
    public IUserId IUserId { get; set; }
}

public class IActiveAlarmResponse       // Answer for request
{
    public List<AlarmList.AlarmItem> ActiveAlarms { get; set; }
    public int Count { get; set; }
    public int AckedAlarmsCount { get; set; }
    public int NotAckedAlarmsCount { get; set; }
}

public class IAckAlarm    // Acknowledge one alarm
{
    // For historical alarm
    public int GUIDforHis { get; set; }
    // For active alarm
    public Int16 SourceIdforAct { get; set; }
    // For active alarm
    public Int16 QuantityIdforAct { get; set; }
    public string AckNote { get; set; }
    public IUserId IUserId { get; set; }
}

public class IAckAllAlarms   // Acknowledge all alarms
{
    public string AckNote { get; set; }
    public IUserId IUserId { get; set; }
}

public class IUserId                    // User Identify
{
    public string UserName { get; set; }
    public byte[] Password { get; set; }
}

// Acknowledge one alarm
public class IAckAlarm
{
    public int GUID { get; set; }
    public string AckNote { get; set; }
    public IUserId IUserId { get; set; }
}

// Acknowledge all alarms
public class IAckAllAlarms
{
    public string AckNote { get; set; }
    public IUserId IUserId { get; set; }
}

// Authorized object (for REST request, for example: /com/deviceextension/writertcclock)
public class IAuthorizedObject
{
        public string SerializedObject { get; set; }
        public IUserId IUserId { get; set; }
}

//Define Source and Quantity for write
public class ISourceQuantityWrite
{
    public Int16 SourceId { get; set; }
    public Int16 QuantityId { get; set; }
    public double WriteValue { 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 (1)

Showing the top 1 NuGet packages that depend on Models.Com:

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0.147 571 5/19/2020