示例#1
0
 public GlobalDataSet()
 {
     debugMode              = false;
     mcp2515                = new MCP2515();
     logic_Mcp2515_Sender   = new Logic_Mcp2515_Sender(this);
     logic_Mcp2515_Receiver = new Logic_Mcp2515_Receiver(this);
 }
 public Logic_Mcp2515_Receiver(GlobalDataSet globalDataSet)
 {
     this.globalDataSet    = globalDataSet;
     mcp2515               = globalDataSet.Mcp2515;
     data_MCP2515_Receiver = new Data_MCP2515_Receiver();
 }
 public Logic_Mcp2515_Sender(GlobalDataSet globalDataSet)
 {
     this.globalDataSet  = globalDataSet;
     mcp2515             = new MCP2515();
     data_MCP2515_Sender = new Data_MCP2515_Sender();
 }