示例#1
0
 public DBSign()
 {
     ID = new GenericDependencyProperty<DBSign, int>(this, "ID");
     Name = new GenericDependencyProperty<DBSign, string>(this, "Name");
     Address = new GenericDependencyProperty<DBSign, string>(this, "Address");
     Port = new GenericDependencyProperty<DBSign, int>(this, "Port");
 }
示例#2
0
 public DBInfo()
 {
     ID                          = new GenericDependencyProperty<DBInfo, int>    (this, "ID");
     SignID                      = new GenericDependencyProperty<DBInfo, int>    (this, "SignID");
     Brightness                  = new GenericDependencyProperty<DBInfo, int>    (this, "Brightness");
     AmbientLight                = new GenericDependencyProperty<DBInfo, int>    (this, "AmbientLight");
     LightSensorActive           = new GenericDependencyProperty<DBInfo, int>    (this, "LightSensorActive");
     VisualOperatingPercentage   = new GenericDependencyProperty<DBInfo, double> (this, "VisualOperatingPercentage");
     ContentInputStatus          = new GenericDependencyProperty<DBInfo, int>    (this, "ContentInputStatus");
     RequiresService             = new GenericDependencyProperty<DBInfo, int>    (this, "RequiresService");
     TimeStamp                   = new GenericDependencyProperty<DBInfo, string> (this, "TimeStamp");
 }