/* * public void Query() * { * if (NodeAgent.IsDebug) * return; * read_regs(new string[] { "mtrl_weight_gram", "mtrl_weight_decimal" }); * } */ internal WeighNode(SPort _port, byte node_addr) : base(_port, node_addr) { rand = new Random(); cnt_aderr = 0; cnt_match = -1; }
internal SubNode(SPort _port, byte node_id) { port = _port; this.node_id = node_id; errlist = ""; //to initial reg_table items from xml table curr_conf = new Dictionary <string, Nullable <UInt32> >(); last_conf = new Dictionary <string, Nullable <UInt32> >(); ICollection <string> names = reg_type_tbl.Keys; foreach (string name in names) { last_conf[name] = null; curr_conf[name] = null; } status = NodeStatus.ST_IDLE; }
internal SubNode(SPort _port, byte node_id) { port = _port; this.node_id = node_id; errlist = ""; //to initial reg_table items from xml table curr_conf = new Dictionary<string, Nullable<UInt32>>(); last_conf = new Dictionary<string, Nullable<UInt32>>(); ICollection<string> names = reg_type_tbl.Keys; foreach (string name in names) { last_conf[name] = null; curr_conf[name] = null; } status = NodeStatus.ST_IDLE; }
internal VibrateNode(SPort _port,byte node_addr): base(_port,node_addr) { intf_byte = new Intf(0); }
/* public void Query() { if (NodeAgent.IsDebug) return; read_regs(new string[] { "mtrl_weight_gram", "mtrl_weight_decimal" }); } */ internal WeighNode(SPort _port, byte node_addr) : base(_port,node_addr) { rand = new Random(); cnt_aderr = 0; cnt_match = -1; }
internal VibrateNode(SPort _port, byte node_addr) : base(_port, node_addr) { intf_byte = new Intf(0); }