[NF] Now possible to emulate F4G

This commit is contained in:
2017-12-05 23:10:52 +00:00
parent f4545af4fe
commit 8dfc339194
14 changed files with 310 additions and 26 deletions
+16
View File
@@ -26,6 +26,19 @@ namespace ZwayBot {
}
}
public class Flex4gridEvent : ModulEventArgs {
public Flex4gridEvent() {
}
public Flex4gridEvent(String topic, String text) {
this.Address = topic;
this.Value = text;
this.Source = "Flex4Grid";
}
public override String ToString() {
return this.Source + ": on " + this.Address + " set " + this.Value;
}
}
public class ModulEventArgs : EventArgs {
public ModulEventArgs() {
}
@@ -33,5 +46,8 @@ namespace ZwayBot {
public String Property { get; protected set; }
public String Value { get; protected set; }
public String Source { get; protected set; }
public override String ToString() {
return this.Source + ": " + this.Address + " set " + this.Property + " to " + this.Value;
}
}
}