示例#1
0
 public override string GenerateCode()
 {
     return(string.Format("plc_bool {0} = !{1};\r\n", ExportVaribleName, Value.GetValue()));
 }
示例#2
0
 public override string GenerateCode()
 {
     return(string.Format("if({0})\r\n{{\r\n{1} = !{1};\r\n}}\r\n", ImportVaribleName, Value.GetValue()));
 }
示例#3
0
 public override string GenerateCode()
 {
     return(string.Format("{0} = {1};\r\n", Value.GetValue(), ImportVaribleName));
 }