mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-14 07:41:53 +01:00
36 lines
847 B
C#
36 lines
847 B
C#
|
using Borepin.Model;
|
|||
|
using Prism.Mvvm;
|
|||
|
using Prism.Navigation;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
using System.Windows.Input;
|
|||
|
using Xamarin.Forms;
|
|||
|
|
|||
|
namespace Borepin.PageModel
|
|||
|
{
|
|||
|
public class MachinePageModel : BindableBase
|
|||
|
{
|
|||
|
private INavigationService _NavigationService;
|
|||
|
|
|||
|
public MachinePageModel(string machineID, INavigationService navigationService)
|
|||
|
{
|
|||
|
_NavigationService = navigationService;
|
|||
|
|
|||
|
Machine = new Machine()
|
|||
|
{
|
|||
|
ID = machineID,
|
|||
|
Description = "This is a Discription",
|
|||
|
User = "Test User"
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
private Machine _Machine;
|
|||
|
public Machine Machine
|
|||
|
{
|
|||
|
get => Machine;
|
|||
|
set => SetProperty(ref _Machine, value);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|