|
@@ -332,6 +332,85 @@ namespace SqlSchema
|
|
|
/// </summary>
|
|
|
public const string @OperationNo_Str=nameof(@OperationNo_Str);
|
|
|
|
|
|
+ }
|
|
|
+ /// <summary>
|
|
|
+ /// App_HongShi_Users
|
|
|
+ /// </summary>
|
|
|
+ public class App_HongShi_Users
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 用户编号
|
|
|
+ /// </summary>
|
|
|
+ public const string @UserId_Str=nameof(@UserId_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 姓名
|
|
|
+ /// </summary>
|
|
|
+ public const string @Name_Str=nameof(@Name_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 指定识别成功时,播放的用户名。需要在设备设置,启用播放用户名
|
|
|
+ /// </summary>
|
|
|
+ public const string @TtsName_Str=nameof(@TtsName_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 彩色照片
|
|
|
+ /// </summary>
|
|
|
+ public const string @Photo_Str=nameof(@Photo_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 身份证号码
|
|
|
+ /// </summary>
|
|
|
+ public const string @IdCard_Str=nameof(@IdCard_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// ic卡号
|
|
|
+ /// </summary>
|
|
|
+ public const string @IcCard_Str=nameof(@IcCard_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 密码
|
|
|
+ /// </summary>
|
|
|
+ public const string @Password_Str=nameof(@Password_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 0:正常用户2:访客(访客到期后会自动从设备中删除)10:黑名单用户,识别后设备会报警,并产生黑名单识别记录20:只测温,不开门人员(只识别,测体温,亮绿灯,不通行)。可以不传,不传默认为正常用户
|
|
|
+ /// </summary>
|
|
|
+ public const string @UserType_Int=nameof(@UserType_Int);
|
|
|
+ /// <summary>
|
|
|
+ /// 相似度阈值
|
|
|
+ /// </summary>
|
|
|
+ public const string @ConfidenceLevel_Flo=nameof(@ConfidenceLevel_Flo);
|
|
|
+ /// <summary>
|
|
|
+ /// 手机号
|
|
|
+ /// </summary>
|
|
|
+ public const string @Phone_Str=nameof(@Phone_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 人员有效期
|
|
|
+ /// </summary>
|
|
|
+ public const string @IdValid_Dt=nameof(@IdValid_Dt);
|
|
|
+ /// <summary>
|
|
|
+ /// 指定识别成功时,播放的语音
|
|
|
+ /// </summary>
|
|
|
+ public const string @Voice_Str=nameof(@Voice_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 创建者
|
|
|
+ /// </summary>
|
|
|
+ public const string @CreateUser_Str=nameof(@CreateUser_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 创建时间
|
|
|
+ /// </summary>
|
|
|
+ public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
|
|
|
+ /// <summary>
|
|
|
+ /// 修改时间
|
|
|
+ /// </summary>
|
|
|
+ public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
|
|
|
+ /// <summary>
|
|
|
+ /// 修改者
|
|
|
+ /// </summary>
|
|
|
+ public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
|
|
|
+ /// <summary>
|
|
|
+ /// 备注
|
|
|
+ /// </summary>
|
|
|
+ public const string @Remark_Str=nameof(@Remark_Str);
|
|
|
+ /// <summary>
|
|
|
+ ///
|
|
|
+ /// </summary>
|
|
|
+ public const string @ID=nameof(@ID);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -1452,6 +1531,283 @@ namespace SqlSchema
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ /// <summary>
|
|
|
+ ///
|
|
|
+ /// </summary>
|
|
|
+ public class App_HongShi_Users:ObservableObject
|
|
|
+ {
|
|
|
+ private string _UserId_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 用户编号
|
|
|
+ /// </summary>
|
|
|
+ public string UserId_Str
|
|
|
+ {
|
|
|
+ get {return _UserId_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_UserId_Str))
|
|
|
+ {
|
|
|
+ _UserId_Str=value;
|
|
|
+ OnPropertyChanged(nameof( UserId_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _Name_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 姓名
|
|
|
+ /// </summary>
|
|
|
+ public string Name_Str
|
|
|
+ {
|
|
|
+ get {return _Name_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_Name_Str))
|
|
|
+ {
|
|
|
+ _Name_Str=value;
|
|
|
+ OnPropertyChanged(nameof( Name_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _TtsName_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 指定识别成功时,播放的用户名。需要在设备设置,启用播放用户名
|
|
|
+ /// </summary>
|
|
|
+ public string TtsName_Str
|
|
|
+ {
|
|
|
+ get {return _TtsName_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_TtsName_Str))
|
|
|
+ {
|
|
|
+ _TtsName_Str=value;
|
|
|
+ OnPropertyChanged(nameof( TtsName_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _Photo_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 彩色照片
|
|
|
+ /// </summary>
|
|
|
+ public string Photo_Str
|
|
|
+ {
|
|
|
+ get {return _Photo_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_Photo_Str))
|
|
|
+ {
|
|
|
+ _Photo_Str=value;
|
|
|
+ OnPropertyChanged(nameof( Photo_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _IdCard_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 身份证号码
|
|
|
+ /// </summary>
|
|
|
+ public string IdCard_Str
|
|
|
+ {
|
|
|
+ get {return _IdCard_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_IdCard_Str))
|
|
|
+ {
|
|
|
+ _IdCard_Str=value;
|
|
|
+ OnPropertyChanged(nameof( IdCard_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _IcCard_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// ic卡号
|
|
|
+ /// </summary>
|
|
|
+ public string IcCard_Str
|
|
|
+ {
|
|
|
+ get {return _IcCard_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_IcCard_Str))
|
|
|
+ {
|
|
|
+ _IcCard_Str=value;
|
|
|
+ OnPropertyChanged(nameof( IcCard_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _Password_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 密码
|
|
|
+ /// </summary>
|
|
|
+ public string Password_Str
|
|
|
+ {
|
|
|
+ get {return _Password_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_Password_Str))
|
|
|
+ {
|
|
|
+ _Password_Str=value;
|
|
|
+ OnPropertyChanged(nameof( Password_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private int? _UserType_Int;
|
|
|
+ /// <summary>
|
|
|
+ /// 0:正常用户2:访客(访客到期后会自动从设备中删除)10:黑名单用户,识别后设备会报警,并产生黑名单识别记录20:只测温,不开门人员(只识别,测体温,亮绿灯,不通行)。可以不传,不传默认为正常用户
|
|
|
+ /// </summary>
|
|
|
+ public int? UserType_Int
|
|
|
+ {
|
|
|
+ get {return _UserType_Int;}
|
|
|
+ set{
|
|
|
+ if(value!=(_UserType_Int))
|
|
|
+ {
|
|
|
+ _UserType_Int=value;
|
|
|
+ OnPropertyChanged(nameof( UserType_Int));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private double? _ConfidenceLevel_Flo;
|
|
|
+ /// <summary>
|
|
|
+ /// 相似度阈值
|
|
|
+ /// </summary>
|
|
|
+ public double? ConfidenceLevel_Flo
|
|
|
+ {
|
|
|
+ get {return _ConfidenceLevel_Flo;}
|
|
|
+ set{
|
|
|
+ if(value!=(_ConfidenceLevel_Flo))
|
|
|
+ {
|
|
|
+ _ConfidenceLevel_Flo=value;
|
|
|
+ OnPropertyChanged(nameof( ConfidenceLevel_Flo));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _Phone_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 手机号
|
|
|
+ /// </summary>
|
|
|
+ public string Phone_Str
|
|
|
+ {
|
|
|
+ get {return _Phone_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_Phone_Str))
|
|
|
+ {
|
|
|
+ _Phone_Str=value;
|
|
|
+ OnPropertyChanged(nameof( Phone_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private DateTime? _IdValid_Dt;
|
|
|
+ /// <summary>
|
|
|
+ /// 人员有效期
|
|
|
+ /// </summary>
|
|
|
+ public DateTime? IdValid_Dt
|
|
|
+ {
|
|
|
+ get {return _IdValid_Dt;}
|
|
|
+ set{
|
|
|
+ if(value!=(_IdValid_Dt))
|
|
|
+ {
|
|
|
+ _IdValid_Dt=value;
|
|
|
+ OnPropertyChanged(nameof( IdValid_Dt));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _Voice_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 指定识别成功时,播放的语音
|
|
|
+ /// </summary>
|
|
|
+ public string Voice_Str
|
|
|
+ {
|
|
|
+ get {return _Voice_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_Voice_Str))
|
|
|
+ {
|
|
|
+ _Voice_Str=value;
|
|
|
+ OnPropertyChanged(nameof( Voice_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _CreateUser_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 创建者
|
|
|
+ /// </summary>
|
|
|
+ public string CreateUser_Str
|
|
|
+ {
|
|
|
+ get {return _CreateUser_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_CreateUser_Str))
|
|
|
+ {
|
|
|
+ _CreateUser_Str=value;
|
|
|
+ OnPropertyChanged(nameof( CreateUser_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private DateTime? _CreateTime_Dt;
|
|
|
+ /// <summary>
|
|
|
+ /// 创建时间
|
|
|
+ /// </summary>
|
|
|
+ public DateTime? CreateTime_Dt
|
|
|
+ {
|
|
|
+ get {return _CreateTime_Dt;}
|
|
|
+ set{
|
|
|
+ if(value!=(_CreateTime_Dt))
|
|
|
+ {
|
|
|
+ _CreateTime_Dt=value;
|
|
|
+ OnPropertyChanged(nameof( CreateTime_Dt));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private DateTime? _ModifyTime_Dt;
|
|
|
+ /// <summary>
|
|
|
+ /// 修改时间
|
|
|
+ /// </summary>
|
|
|
+ public DateTime? ModifyTime_Dt
|
|
|
+ {
|
|
|
+ get {return _ModifyTime_Dt;}
|
|
|
+ set{
|
|
|
+ if(value!=(_ModifyTime_Dt))
|
|
|
+ {
|
|
|
+ _ModifyTime_Dt=value;
|
|
|
+ OnPropertyChanged(nameof( ModifyTime_Dt));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _ModifyUser_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 修改者
|
|
|
+ /// </summary>
|
|
|
+ public string ModifyUser_Str
|
|
|
+ {
|
|
|
+ get {return _ModifyUser_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_ModifyUser_Str))
|
|
|
+ {
|
|
|
+ _ModifyUser_Str=value;
|
|
|
+ OnPropertyChanged(nameof( ModifyUser_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private string _Remark_Str;
|
|
|
+ /// <summary>
|
|
|
+ /// 备注
|
|
|
+ /// </summary>
|
|
|
+ public string Remark_Str
|
|
|
+ {
|
|
|
+ get {return _Remark_Str;}
|
|
|
+ set{
|
|
|
+ if(value!=(_Remark_Str))
|
|
|
+ {
|
|
|
+ _Remark_Str=value;
|
|
|
+ OnPropertyChanged(nameof( Remark_Str));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private int _ID;
|
|
|
+ /// <summary>
|
|
|
+ ///
|
|
|
+ /// </summary>
|
|
|
+ public int ID
|
|
|
+ {
|
|
|
+ get {return _ID;}
|
|
|
+ set{
|
|
|
+ if(value!=(_ID))
|
|
|
+ {
|
|
|
+ _ID=value;
|
|
|
+ OnPropertyChanged(nameof( ID));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
|
|
|
}
|
|
@@ -1481,6 +1837,10 @@ public BaseTable App_HongShi_PropertyManagement{get;private set;}
|
|
|
///
|
|
|
/// </summary>
|
|
|
public BaseTable App_HongShi_TaskInfo{get;private set;}
|
|
|
+ /// <summary>
|
|
|
+ ///
|
|
|
+ /// </summary>
|
|
|
+public BaseTable App_HongShi_Users{get;private set;}
|
|
|
public DILDB(string server, string service, string username, string password):base(server, service, username, password)
|
|
|
{
|
|
|
App_HongShi_ManagerItem=CreateTable("ID","App_HongShi_ManagerItem");
|
|
@@ -1488,6 +1848,7 @@ App_HongShi_MotorState=CreateTable("ID","App_HongShi_MotorState");
|
|
|
App_HongShi_PropertyItem=CreateTable("ID","App_HongShi_PropertyItem");
|
|
|
App_HongShi_PropertyManagement=CreateTable("ID","App_HongShi_PropertyManagement");
|
|
|
App_HongShi_TaskInfo=CreateTable("ID","App_HongShi_TaskInfo");
|
|
|
+App_HongShi_Users=CreateTable("ID","App_HongShi_Users");
|
|
|
}
|
|
|
#endregion
|
|
|
}
|
|
@@ -1514,6 +1875,10 @@ public BaseTable App_HongShi_PropertyManagement{get;private set;}
|
|
|
///
|
|
|
/// </summary>
|
|
|
public BaseTable App_HongShi_TaskInfo{get;private set;}
|
|
|
+ /// <summary>
|
|
|
+ ///
|
|
|
+ /// </summary>
|
|
|
+public BaseTable App_HongShi_Users{get;private set;}
|
|
|
private BaseDB innerDb = null;
|
|
|
public DILDBV1(BaseDB db )
|
|
|
{
|
|
@@ -1526,6 +1891,7 @@ App_HongShi_MotorState=innerDb.CreateTable("ID","App_HongShi_MotorState");
|
|
|
App_HongShi_PropertyItem=innerDb.CreateTable("ID","App_HongShi_PropertyItem");
|
|
|
App_HongShi_PropertyManagement=innerDb.CreateTable("ID","App_HongShi_PropertyManagement");
|
|
|
App_HongShi_TaskInfo=innerDb.CreateTable("ID","App_HongShi_TaskInfo");
|
|
|
+App_HongShi_Users=innerDb.CreateTable("ID","App_HongShi_Users");
|
|
|
}
|
|
|
|
|
|
public override BaseTable CreateTable(string id)
|