File tree Expand file tree Collapse file tree 6 files changed +540
-439
lines changed
Expand file tree Collapse file tree 6 files changed +540
-439
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public Controller(XmlNode node)
1414 {
1515 try
1616 {
17- LogHelper . DebugPrint ( "Creating Controller" ) ;
17+ LogHelper . DebugPrint ( "Creating Controller. " ) ;
1818
1919 if ( node == null ) throw new ArgumentNullException ( nameof ( node ) ) ;
2020
@@ -42,6 +42,8 @@ public Controller(XmlNode node)
4242 foreach ( XmlNode p_node in programs . ChildNodes ) Programs . Add ( new Program ( p_node ) ) ;
4343
4444 UpdateCounts ( ) ;
45+
46+ LogHelper . DebugPrint ( $ "Controller { ToString ( ) } was imported.") ;
4547 }
4648 catch ( Exception ex )
4749 {
Original file line number Diff line number Diff line change @@ -51,7 +51,18 @@ public Motor_VFD(XmlNode node) : base(node) {
5151 public bool ? AutoFixedSpd { get ; set ; }
5252 #endregion
5353
54- public override void ClearCounts ( ) { }
54+ #region Tag Counts
55+
56+ public int FTR_Count { get ; set ; }
57+ public int FTS_Count { get ; set ; }
58+
59+ #endregion
60+
61+ public override void ClearCounts ( )
62+ {
63+ FTR_Count = 0 ;
64+ FTS_Count = 0 ;
65+ }
5566
5667}
5768
@@ -263,7 +274,7 @@ public override void ClearCounts() { }
263274 /// <summary>
264275 /// Run-Time Hours
265276 /// </summary>
266- public float ? RT_Hours { get ; set ; }
277+ public float ? RT_Hours { get ; set ; }
267278
268279 /// <summary>
269280 /// Reset Run-time hours
You can’t perform that action at this time.
0 commit comments