init
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.Groups
|
||||
{
|
||||
/// <summary>
|
||||
/// Interface describing a Group in the Db
|
||||
/// </summary>
|
||||
public interface IGroupDbRecord
|
||||
{
|
||||
[Key]
|
||||
[Column("Id")]
|
||||
/// <summary>
|
||||
/// The id/key of the Group record in the db
|
||||
/// </summary>
|
||||
int Id { get; set; }
|
||||
|
||||
[Column("SerialNumber")]
|
||||
string SerialNumber { get; set; }
|
||||
|
||||
[Column("Picture")]
|
||||
string Picture { get; set; }
|
||||
|
||||
[Column("DisplayName")]
|
||||
string DisplayName { get; set; }
|
||||
|
||||
[Column("Description")]
|
||||
string Description { get; set; }
|
||||
|
||||
[Column("Embedded")]
|
||||
bool Embedded { get; set; }
|
||||
|
||||
[Column("LastModified")]
|
||||
DateTime LastModified { get; set; }
|
||||
|
||||
[Column("LastModifiedBy")]
|
||||
string LastModifiedBy { get; set; }
|
||||
|
||||
[Column("StaticGroupId")]
|
||||
int? StaticGroupId { get; set; }
|
||||
|
||||
[Column("ExtraProperties")]
|
||||
string ExtraProperties { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace DTS.Common.Converters
|
||||
{
|
||||
public class BooleanOrMultiConverter : IMultiValueConverter
|
||||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
return !values.All(val => val is bool) ? false : (object)values.Any(val => (bool)val);
|
||||
}
|
||||
|
||||
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IGraphChannelView : IBaseView { }
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
R-1\COM: ====================== START Channel =======================;
|
||||
R-1\TK1-{CHANNEL NUMBER PLUS TIME CHANNEL}:{CHANNEL NUMBER PLUS TIME CHANNEL};
|
||||
R-1\TK4-{CHANNEL NUMBER PLUS TIME CHANNEL}:{CHANNEL NUMBER PLUS TIME CHANNEL};
|
||||
R-1\CHE-{CHANNEL NUMBER PLUS TIME CHANNEL}:T;
|
||||
R-1\CDT-{CHANNEL NUMBER PLUS TIME CHANNEL}:PCMIN;
|
||||
R-1\PDTF-{CHANNEL NUMBER PLUS TIME CHANNEL}:1;
|
||||
R-1\PDP-{CHANNEL NUMBER PLUS TIME CHANNEL}:TM;
|
||||
R-1\ICE-{CHANNEL NUMBER PLUS TIME CHANNEL}:0;
|
||||
R-1\IST-{CHANNEL NUMBER PLUS TIME CHANNEL}:TTL;
|
||||
R-1\PTF-{CHANNEL NUMBER PLUS TIME CHANNEL}:NONE;
|
||||
P-{CHANNEL NUMBER}\TF:ONE;
|
||||
P-{CHANNEL NUMBER}\F1:16;
|
||||
P-{CHANNEL NUMBER}\F2:M;
|
||||
P-{CHANNEL NUMBER}\F3:NO;
|
||||
P-{CHANNEL NUMBER}\D1:NRZ-L;
|
||||
P-{CHANNEL NUMBER}\D2:80000;
|
||||
P-{CHANNEL NUMBER}\D4:N;
|
||||
P-{CHANNEL NUMBER}\D6:N;
|
||||
P-{CHANNEL NUMBER}\MF\N:1;
|
||||
P-{CHANNEL NUMBER}\MF1:500;
|
||||
P-{CHANNEL NUMBER}\MF2:8000;
|
||||
P-{CHANNEL NUMBER}\MF4:16;
|
||||
P-{CHANNEL NUMBER}\MF5:1110101110010000;
|
||||
C-{CHANNEL NUMBER}\DCN:{CHANNEL NAME};
|
||||
C-{CHANNEL NUMBER}\MN1:{CHANNEL NAME};
|
||||
C-{CHANNEL NUMBER}\BFM:UNS;
|
||||
C-{CHANNEL NUMBER}\DCT:COE;
|
||||
C-{CHANNEL NUMBER}\CO\N:1;
|
||||
C-{CHANNEL NUMBER}\CO:{CHANNEL OFFSET EU};
|
||||
C-{CHANNEL NUMBER}\CO-1:{CHANNEL SCALEFACTOR EU};
|
||||
C-{CHANNEL NUMBER}\MN3:{CHANNEL EU};
|
||||
C-{CHANNEL NUMBER}\MOT1:{CHANNEL MAX RANGE EU};
|
||||
C-{CHANNEL NUMBER}\MOT3:{CHANNEL MAX RANGE EU};
|
||||
C-{CHANNEL NUMBER}\MOT5:{CHANNEL MAX RANGE EU};
|
||||
C-{CHANNEL NUMBER}\MOT2:{CHANNEL MIN RANGE EU};
|
||||
C-{CHANNEL NUMBER}\MOT4:{CHANNEL MIN RANGE EU};
|
||||
C-{CHANNEL NUMBER}\MOT6:{CHANNEL MIN RANGE EU};
|
||||
Reference in New Issue
Block a user